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

Failing to build with Carthage #66

Closed
JamieGoodson opened this issue Apr 13, 2017 · 1 comment
Closed

Failing to build with Carthage #66

JamieGoodson opened this issue Apr 13, 2017 · 1 comment

Comments

@JamieGoodson
Copy link

JamieGoodson commented Apr 13, 2017

I receive the following error when running carthage update --platform iOS:

*** Checking out SwiftyRSA at "1.1.0"
*** xcodebuild output can be found in /var/folders/kt/_p5msps92z17rn5_g48tvfsh0000gn/T/carthage-xcodebuild.VTJiqS.log
*** Building scheme "SwiftyRSA iOS" in SwiftyRSA.xcodeproj
Build Failed
	Task failed with exit code 65:
	/usr/bin/xcrun xcodebuild -project /Users/jamiegoodson/git/kings_attendance/ios/Carthage/Checkouts/SwiftyRSA/SwiftyRSA.xcodeproj -scheme "SwiftyRSA iOS" -configuration Release -derivedDataPath /Users/jamiegoodson/Library/Caches/org.carthage.CarthageKit/DerivedData/SwiftyRSA/1.1.0 -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build

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

The tail output of that log file is:

/Users/jamiegoodson/Library/Caches/org.carthage.CarthageKit/DerivedData/SwiftyRSA/1.1.0/Build/Intermediates/SwiftyRSA.build/Release-iphoneos/SwiftyRSA iOS.build/Script-C0CB61911E8B96F400185EB6.sh: line 2: /Users/jamiegoodson/git/kings_attendance/ios/Carthage/Checkouts/SwiftyRSA/Pods/SwiftLint/swiftlint: No such file or directory

** BUILD FAILED **


The following build commands failed:
	PhaseScriptExecution SwiftLint /Users/jamiegoodson/Library/Caches/org.carthage.CarthageKit/DerivedData/SwiftyRSA/1.1.0/Build/Intermediates/SwiftyRSA.build/Release-iphoneos/SwiftyRSA\ iOS.build/Script-C0CB61911E8B96F400185EB6.sh
(1 failure)

It looks like its having trouble finding /ios/Carthage/Checkouts/SwiftyRSA/Pods/SwiftLint/swiftlint in my Xcode project. I just checked and the <my xcode project>/ios/Carthage/Checkouts/SwiftyRSA/Pods/ directory doesn't exist.

My Carthage version is the latest (0.20.1)

@ldiqual
Copy link
Contributor

ldiqual commented Apr 13, 2017

@mistergoodson Just fixed this in 1.1.1, thanks for reporting!

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