2016-10-12 12 views
0

Objective-C Project에서 UberRides SDK를 사용하고 싶습니다. 객관적인 C를 위해 꼬투리를 확인했지만 사용할 수 없습니다. 그래서 나는 Carthage를 시험해 보았다.UberRides Carthage Issue

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

내가이 명령 설치 carthage update --platform iOS를 사용하고 내가 엑스 코드 (8)을 사용하고 그러나 일부 설치 후 내가 약간의 오류가 발생하고 있는데 그렇게 처리하는 방법을하시기 바랍니다 모른다 : 여기

Cartfile입니다 도와주세요. 여기

단말기의 로그입니다 : 최신 0.5 버전은 아직 스위프트 사용하고 있기 때문에

*** 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

이것은 아마도 2.2

당신의 Cartfile이 실험 스위프트 2.3 분기

# UberRides 
github "https://github.com/uber/rides-ios-sdk" "swift-2.3-dev" 
를 사용하여 업데이트하려고
+0

답변 해 주셔서 감사합니다. xcode 8을 개발 용으로 사용하고 있습니다. –

+0

Swift 2.2는 Xcode 8에서 지원되지 않으므로 Swift 2.3을 사용해야합니다. 또는 Xcode 7이 아직 설치되어 있거나 (Apple 개발자 사이트에서 다운로드 한 경우),'xcode-select -s/path/to/xcode7.app/Contents/Developer' 명령을 통해 사용할 Xcode를 설정할 수 있습니다 –