uber / uber-ios-sdk

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

UberRides/UberRides-Swift.h' file not found #137

Closed Saravana181187 closed 7 years ago

Saravana181187 commented 7 years ago

When I run the Sample Objective-c project the error found like , UberRides/UberRides-Swift.h' file not found How to solve this?

jbrophy17 commented 7 years ago

Hi @Saravana181187 before you can use the sample apps, you will need to build the dependencies with Carthage.

Run the following command in the root directory of the sample app you want to build

carthage update --platform iOS

And then this issue should go away

Saravana181187 commented 7 years ago

Hi @jbrophy17 Thanks for the above Solution...

And my other doubts are..

If I create a Own Sample Project for Uber Integration using CocoaPods using the following command it have show some issues.

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.

Saravana181187 commented 7 years ago

Hi @jbrophy17 If UberRides is support for objective-c swift 3 or not and If it is possible to Installing Cocoa pods in Objective-c Project.

edjiang commented 7 years ago

Closing since this issue is from before the Swift 3 release, and not reproducible.

ZvOlCuOk2009 commented 6 years ago

@jbrophy17 Thanks!.. helped me...