Carthage を使用して Alamofire を構築できないという問題に直面しています。
私の環境は次のとおりです。
- OS X 10.10.5
- Xcode 6.4
- また、7.0 と 7.1 は既にインストールされています。
- カルタゴ 0.9.3
- Alamofire 1.3.1 (最新の Swift 1.2 リリース) をインストールしようとしています
以下のコマンドを試してみましたが、エラーが発生しました。
$ echo 'github "Alamofire/Alamofire" "1.3.1"' > Cartfile ; carthage update --platform ios
*** Cloning Alamofire
*** Checking out Alamofire at "1.3.1"
*** xcodebuild output can be found in /var/folders/ch/jcgf09f15hl391jn849d5yr80000gn/T/carthage-xcodebuild.ZM1b0b.log
*** Building scheme "Alamofire iOS" in Alamofire.xcworkspace
** BUILD FAILED **
The following build commands failed:
Ld /Users/username/Library/Developer/Xcode/DerivedData/Alamofire-fmnpbxqgrcncdhbtipavvywlxagy/Build/Intermediates/Alamofire.build/Release-iphoneos/Alamofire\ iOS.build/Objects-normal/arm64/Alamofire normal arm64
(1 failure)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
A shell task failed with exit code 65:
** BUILD FAILED **
The following build commands failed:
Ld /Users/username/Library/Developer/Xcode/DerivedData/Alamofire-fmnpbxqgrcncdhbtipavvywlxagy/Build/Intermediates/Alamofire.build/Release-iphoneos/Alamofire\ iOS.build/Objects-normal/arm64/Alamofire normal arm64
(1 failure)
次に、Xcode を使用してビルドしようとしました。
開いAlamofire.xcworkspace
て Cmd+B を押すと、以下のエラーで失敗します:
警告は見たことがないUnable to find swiftCore; please set SWIFT_LIBRARY_PATH (currentry '') to the folder containing swiftCore
この警告は問題に関連していると思いますが、これを解決する方法がわかりません...
解決策はありますか?