Skip to content

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

Open
@wrutkowski-blinq

Description

@wrutkowski-blinq

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.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions