2016-10-12 13 views
0

Objective-C ProjectでUberRides SDKを使いたいです。私は客観的なcのためのポッドをチェックしたが、それは利用できない。だから私はCarthageを試してみました。ここでUberRides Carthage Issue

は私Cartfileです:

# UberRides 
github "https://github.com/uber/rides-ios-sdk" ~> 0.5 

私はインストールにこのコマンドcarthage update --platform iOSを使用して、私はXcodeの8を使用しています。しかし、いくつかのインストール後に、私はいくつかのエラーを取得していますし、私はそうしてください処理する方法がわかりません助けて。ここで

は、端末のログです:

*** Fetching rides-ios-sdk 
*** Fetching ObjectMapper 
*** Checking out ObjectMapper at "1.5.0" 
*** Downloading rides-ios-sdk.framework binary at "v0.5.2" 
*** Checking out rides-ios-sdk at "v0.5.2" 
*** xcodebuild output can be found in /var/folders/mt/_rpb6s913b54yl1gfk0dt2qh0000gn/T/carthage-xcodebuild.orgg88.log 
*** Building scheme "ObjectMapper-iOS" in ObjectMapper.xcworkspace 
*** Building scheme "UberRides" in UberRides.xcodeproj 
** CLEAN FAILED ** 


The following build commands failed: 
    Check dependencies 
(1 failure) 
** BUILD FAILED ** 


The following build commands failed: 
    Check dependencies 
(1 failure) 
A shell task (/usr/bin/xcrun xcodebuild -project /Users/jayesh/Desktop/CarthageDemo/Carthage/Checkouts/rides-ios-sdk/source/UberRides.xcodeproj -scheme UberRides -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65: 
** CLEAN FAILED ** 


The following build commands failed: 
    Check dependencies 
(1 failure) 
** BUILD FAILED ** 


The following build commands failed: 
    Check dependencies 
(1 failure) 

答えて

0

最新の0.5リリースはまだ実験スウィフト2.3ブランチに

# UberRides 
github "https://github.com/uber/rides-ios-sdk" "swift-2.3-dev" 
を使用するようにCartfileをアップデートしてみてくださいスウィフト2.2に

を使用しているので、これはおそらくです

+0

ご回答いただきありがとうございますが、私は開発用にxcode 8を使用しており、古いswiftバージョンではエラーが発生しています。 –

+0

Swift 2.2はXcode 8ではサポートされていませんので、Swift 2.3を使用する必要があります。あるいは、まだXcode 7がインストールされている場合(またはAppleの開発者サイトからダウンロードする場合)は、 'xcode-select -s/path/to/xcode7.app/Contents/Developer'コマンドで使用するXcodeを設定することができます –