From 3d3705640603171dd7451f7adde74d66aa9dbfa1 Mon Sep 17 00:00:00 2001 From: Jason <JasonGitHub@users.noreply.github.com> Date: Tue, 8 Dec 2015 21:11:09 -0800 Subject: [PATCH] Improvements to the instructions 1. the original instruction is a bit ambiguous as it doesn't specify where to add the `pod 'UberRides`. 2. for swift sdk users, the `use_frameworks!` line is necessary, otherwise `pod install` will exit with errors. --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5b36e38b..d158f1f9 100644 --- a/README.md +++ b/README.md @@ -19,10 +19,14 @@ The Uber Rides iOS SDK is a CocoaPod written in Swift. [CocoaPods](http://cocoap $ gem install cocoapods ``` -To integrate Uber Rides into your Xcode project, navigate to the directory that contains your project and create a new **Podfile** with `pod init` or open an existing one, then add the following line: +To integrate Uber Rides into your Xcode project, navigate to the directory that contains your project and create a new **Podfile** with `pod init` or open an existing one, then add `pod 'UberRides'` to the main loop. If you are using the Swift SDK, make sure to add the line `use_frameworks!`. ```ruby +use_frameworks! + +target 'Your Project Name' do pod 'UberRides' +end ``` Then, run the following command to install the dependency: