ios - Carthage setup fails with code 65 -
i'm installing carthage on new machine.
$ brew install carthage
[in project root] $ emacs cartfile
# alamofire github "alamofire/alamofire" # swifyjson github "swiftyjson/swiftyjson"
$ carthage update
*** fetching swiftyjson *** fetching alamofire *** checking out alamofire @ "1.2.3" *** checking out swiftyjson @ "2.2.0" *** xcodebuild output can found in /var/folders/8n/044rh7_j6nlcdtsb3cgp_snc0000gn/t/carthage-xcodebuild.log *** building scheme "alamofire ios" in alamofire.xcworkspace shell task failed exit code 65: ** build failed ** following build commands failed: compileswift normal x86_64 [project root]/carthage/checkouts/alamofire/source/request.swift compileswift normal x86_64 [project root]/carthage/checkouts/alamofire/source/responseserialization.swift compileswift normal x86_64 [project root]/carthage/checkouts/alamofire/source/manager.swift compileswift normal x86_64 [project root]/carthage/checkouts/alamofire/source/alamofire.swift compileswift normal x86_64 [project root]/carthage/checkouts/alamofire/source/validation.swift compileswiftsources normal x86_64 com.apple.xcode.tools.swift.compiler
(6 failures)
building scheme "alamofire ios" in alamofire.xcworkspace
for before version write carthage
github "alamofire/alamofire" >= 4.2.0
see realese project in github select version swift version
also can select platform when run carthage example
carthage update --platform ios
Comments
Post a Comment