Skip to content

Commit

Permalink
Improvements to the instructions
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
JasonGitHub committed Dec 9, 2015
1 parent 42814ce commit 3d37056
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3d37056

Please sign in to comment.