uber / uber-ios-sdk

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

Xcode 8 Error #126

Closed ivangarcialopez closed 7 years ago

ivangarcialopez commented 8 years ago

Hello,

We are using CocoaPods to integrate the SDK into a Swift 3 and Xcode 8. Everything works fine but when I try to build the project I get this error: framework not found ObjectMapper.

This is the command we use in the pod file: pod 'UberRides'. The version being installed is: Installing UberRides (0.5.2).

Do I need to add the whole library manually?

Kind regards,

Ivan

jbrophy17 commented 8 years ago

Hi @ivangarcialopez, this is likely related to #60 around Swift 3 support. Would you mind sharing what you have in your podfile regarding UberRides?

ivangarcialopez commented 8 years ago

Hi, thanks for the answer. This is my Pod File.

Uncomment this line to define a global platform for your project

source 'https://github.com/CocoaPods/Specs.git' platform :ios, '10.0'

Uncomment this line if you're using Swift

use_frameworks!

target 'MyApp' do

pod 'GoogleMaps'
pod "SwiftyXMLParser", :git => 'https://github.com/yahoojapan/SwiftyXMLParser.git'

pod 'Alamofire', '~> 4.0'

pod 'UberRides'

end

ivangarcialopez commented 7 years ago

Hello, I had to stop this project for a while but I'm working on it again. I've tried different approaches but still the same problem. The build is always failing because Showing All Issues ld: framework not found ObjectMapper

I've tried with this pod line: pod 'UberRides', :git => 'https://github.com/long/rides-ios-sdk.git', :branch => 'swift-3-dev’

ivangarcialopez commented 7 years ago

I finally installed the library directly to my project and is working. I've used the Swift-3 branch.

mithuregarsun commented 7 years ago

Using ObjectMapper (1.5.0) Using UberRides (0.6.0) Generating Pods project Integrating client project why show Error in Terminal