简体   繁体   English

Uber SDK在swift 3和xcode 8兼容

[英]Uber SDK in swift 3 and xcode 8 compatible

I have upgraded my Xcode to version 8.0. 我已将Xcode升级到8.0版。 When i tried to build my app its showing lots of errors in Uber files, do you have uber iOS SDKs that support swift 3. I have integrated Uber SDK using cocoa pods. 当我试图构建我的应用程序时,它在Uber文件中显示了很多错误,你是否有支持swift 3的超级iOS SDK。我已经使用可可豆荚集成了Uber SDK。 I tried to update pods using 'pod update' but its of no use. 我尝试使用“pod update”更新pod,但它没用。

Thanks, 谢谢,

The Uber Rides iOS SDK does not support Swift 3 yet. Uber Rides iOS SDK尚不支持Swift 3。 We have an experimental branch, but it is not stable yet. 我们有一个实验分支,但它还不稳定。

Replace 更换

pod 'UberRides' pod'UberRides'

with

pod 'UberRides', :git => ' https://github.com/long/rides-ios-sdk.git ', :branch => 'swift-3-dev' pod'UberRides',:git =>' https://github.com/long/rides-ios-sdk.git ',: branch =>'swift-3-dev'

This is a working solution until there is an official Swift 3 edition in master 这是一个有效的解决方案,直到有一个正式的Swift 3版本

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM