uber / uber-ios-sdk

Uber iOS SDK (beta)
https://developer.uber.com/docs
MIT License
376 stars 125 forks source link

Swift 4 support #174

Closed s-shahid closed 7 years ago

s-shahid commented 7 years ago

Hi,

Could you please inform as to what is the status for swift 4 support , i m trying to build using Xcode 9 .

Getting error while compiling with Xcode 9 - "Module compiled with Swift 3.1 cannot be imported in Swift 3.2"

Cartfile : github "https://github.com/uber/rides-ios-sdk.git" "swift-3-dev"

Thanks, Mohammed Shahid.

edjiang commented 7 years ago

Hey @s-shahid,

We're currently working on Swift 4 support in the swift-4 branch, but the API is unstable and may change at any moment :)

To fix the error that you're getting, run the following commands in the terminal:

rm -rf source/Vendor/
carthage bootstrap --platform ios

This should rebuild your dependencies and get rid of that module error :)

s-shahid commented 7 years ago

Thats cool :) Will try that fix .

edjiang commented 7 years ago

@s-shahid:

We are now on v0.7.0, which adds Swift 4 support!

https://github.com/uber/rides-ios-sdk/releases/tag/v0.7.0

s-shahid commented 7 years ago

Thanks a lot @edjiang 👍