uber / uber-ios-sdk

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

If UberRides is support for objective-c and swift 3 or not while Installing from Cocoa pods. #139

Closed Saravana181187 closed 7 years ago

Saravana181187 commented 7 years ago

If I create a Own Sample Project for Uber Integration using CocoaPods using the following command it have show some issues.In my main project already I will use some SDK in cocoa pods so I want to install the UBER SDK from the cocoa Pods not from carthage but while installing from cocoa pods it getting issues like below so please say how can I installing the SDK from cocoa pods in Objective-c Project.

If it is possible to Installing from Cocoa pods in Objective-c Project.

pod UberRides The issues are.. public func toJSON() -> [String: AnyObject] { return Mapper<<#N: Mappable#>>().toJSON(self) --->Expected expression after operator }

Header 'ObjectMapper-Swift.h' not found Could not build Objective-C module 'ObjectMapper' UberRides/UberRides-Swift.h' file not found Please Say the Detail for Installing using pods and how to solve these issues.

jbrophy17 commented 7 years ago

Hi @Saravana181187 are you having trouble install the SDK into an Objective-C project? Are any of the other SDKs you are using Swift 3?

Saravana181187 commented 7 years ago

Hi @jbrophy17 yes I have trouble in install the SDK into an Objective-C, I don't have using any other SDKs for Swift 3, I have the following troubles when i installing the SDK in Project.

Here I Have attached the screen shots of the Issues.

screen shot 2016-12-02 at 12 33 07 pm screen shot 2016-12-02 at 12 33 44 pm screen shot 2016-12-02 at 12 34 01 pm

BhaveshDhaduk commented 7 years ago

@jbrophy17 @Saravana181187 Any update, I am facing same issue...

jbrophy17 commented 7 years ago

Can you include what you are using for your podfile?

I would suggest taking a look at #60 which I have just updated with how to use the swift-3-dev branch for swift 3 support

edjiang commented 7 years ago

Closing this issue in favor of #167