Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Carthage install fails with ARCHIVE FAILED: VerifyModule in target 'CropViewController' from project 'TOCropViewControllerExample' #606

Open
wrutkowski-blinq opened this issue Mar 21, 2025 · 0 comments
Assignees
Labels

Comments

@wrutkowski-blinq
Copy link

Describe the bug
When trying to use Carthage to fetch TOCropViewController it fails to compile the project.

To Reproduce
Steps to reproduce the behavior:

  1. Fresh repo
  2. Cartfile:
github "TimOliver/TOCropViewController"
  1. Run carthage update --use-xcframeworks --verbose
  2. Fetch is successful, but project fails to build with the following output:
** ARCHIVE FAILED **


The following build commands failed:
	VerifyModule /Users/user/Library/Caches/org.carthage.CarthageKit/DerivedData/16.2_16C5032a/TOCropViewController/2.7.4/Build/Intermediates.noindex/ArchiveIntermediates/CropViewController/BuildProductsPath/Release-iphoneos/CropViewController.framework (in target 'CropViewController' from project 'TOCropViewControllerExample')
	Archiving project TOCropViewControllerExample with scheme CropViewController
(2 failures)
Build Failed
	Task failed with exit code 65:
	/usr/bin/xcrun xcodebuild -project /Users/user/test-cropviewcontroller-carthage/Carthage/Checkouts/TOCropViewController/TOCropViewControllerExample.xcodeproj -scheme CropViewController -configuration Release -derivedDataPath /Users/user/Library/Caches/org.carthage.CarthageKit/DerivedData/16.2_16C5032a/TOCropViewController/2.7.4 ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= SUPPORTS_MACCATALYST=NO CARTHAGE=YES archive VALIDATE_WORKSPACE=NO -archivePath /var/folders/j4/63v7kdss7rs4d8c15h3n1bh80000gn/T/TOCropViewController SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/user/test-cropviewcontroller-carthage/Carthage/Checkouts/TOCropViewController)

This usually indicates that project itself failed to compile.

I also tried dropping the --use-xcframeworks flag, but same result.

Expected behavior
Project should build successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants