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 build failed #43

Open
akring opened this issue Feb 21, 2019 · 1 comment
Open

Carthage build failed #43

akring opened this issue Feb 21, 2019 · 1 comment

Comments

@akring
Copy link

akring commented Feb 21, 2019

Environment

Xcode 10 + Swift 4.2

Carthage command:

carthage update Pastel --platform ios --no-use-binaries

Build output

Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -project /Users/lvjun/Desktop/StarOrder3-iOS/Carthage/Checkouts/Pastel/Pastel.xcodeproj -scheme Pastel -configuration Release -derivedDataPath /Users/lvjun/Library/Caches/org.carthage.CarthageKit/DerivedData/10.1_10B61/Pastel/0.5.1 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/hl/__r3qrxd5_168lfx7v85xf3c0000gn/T/Pastel SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/lvjun/Desktop/StarOrder3-iOS/Carthage/Checkouts/Pastel)

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/hl/__r3qrxd5_168lfx7v85xf3c0000gn/T/carthage-xcodebuild.c9ufBT.log

@Janscho
Copy link

Janscho commented Jul 8, 2019

Here's the content of the log file:

Build settings from command line:
    CARTHAGE = YES
    CLANG_ENABLE_CODE_COVERAGE = NO
    CODE_SIGN_IDENTITY = 
    CODE_SIGNING_REQUIRED = NO
    GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = NO
    ONLY_ACTIVE_ARCH = NO
    SDKROOT = iphoneos12.2
    SKIP_INSTALL = YES
    STRIP_INSTALLED_PRODUCT = NO

note: Using new build system
note: Planning build
note: Constructing build description
Build system information
warning: The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to "Default" for the "Pastel" target. (in target 'Pastel')

Build system information
warning: The use of Swift 3 @objc inference in Swift 4 mode is deprecated. Please address deprecated @objc inference warnings, test your code with “Use of deprecated Swift 3 @objc inference” logging enabled, and then disable inference by changing the "Swift 3 @objc Inference" build setting to "Default" for the "Pastel" target. (in target 'Pastel')

Build system information
warning: duplicate output file '<removed>/Library/Caches/org.carthage.CarthageKit/DerivedData/10.2.1_10E1001/Pastel/0.5.1/Build/Intermediates.noindex/ArchiveIntermediates/Pastel/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Pastel.framework/.gitkeep' on task: CpResource <removed>/Carthage/Checkouts/Pastel/Pastel/Classes/.gitkeep <removed>/Library/Caches/org.carthage.CarthageKit/DerivedData/10.2.1_10E1001/Pastel/0.5.1/Build/Intermediates.noindex/ArchiveIntermediates/Pastel/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Pastel.framework/.gitkeep (in target 'Pastel')

Build system information
error: Multiple commands produce '<removed>/Library/Caches/org.carthage.CarthageKit/DerivedData/10.2.1_10E1001/Pastel/0.5.1/Build/Intermediates.noindex/ArchiveIntermediates/Pastel/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Pastel.framework/.gitkeep':
1) Target 'Pastel' (project 'Pastel') has copy command from '<removed>/Carthage/Checkouts/Pastel/Pastel/Assets/.gitkeep' to '<removed>/Library/Caches/org.carthage.CarthageKit/DerivedData/10.2.1_10E1001/Pastel/0.5.1/Build/Intermediates.noindex/ArchiveIntermediates/Pastel/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Pastel.framework/.gitkeep'
2) Target 'Pastel' (project 'Pastel') has copy command from '<removed>/Carthage/Checkouts/Pastel/Pastel/Classes/.gitkeep' to '<removed>Library/Caches/org.carthage.CarthageKit/DerivedData/10.2.1_10E1001/Pastel/0.5.1/Build/Intermediates.noindex/ArchiveIntermediates/Pastel/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/Pastel.framework/.gitkeep'

** ARCHIVE FAILED **

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

No branches or pull requests

2 participants