-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add polyline decoding by default, add new test fixture that tests tha… #27
Conversation
@@ -4,5 +4,6 @@ use_frameworks! | |||
pod 'NBNRequestKit', :git => 'https://github.com/1ec5/RequestKit.git', :branch => 'mapbox-podspec' | |||
|
|||
target 'MapboxDirectionsTests' do | |||
pod 'Polyline', '~> 3.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This dependency needs to be added to the implicit target above, like NBNRequestKit. This section is for dependencies specific to the test bundle.
@1ec5 fixed the pod mistake - can you add me to BitRise so I can debug the test failure? |
Polyline.framework needs to be added as a dependency of the MapboxDirections target in the Xcode project editor. Additionally, the Polyline pod needs to be added as a dependency in the podspec. |
@1ec5 I think I have it set that way?
And visually: |
🎉 tests pass! Anything else @1ec5 ? |
Nope, merge away! |
…t ability. Fixes #26 * Adds `Polyline` pod dependency
🎉 |
#27 made MBRoute.geometry optional, but a route without geometry isn’t much of a route at all. If polyline decoding fails, that means the server returned malformed output. Crash on malformed output.
…t ability.
Fixes #26
Polyline
pod dependencycc @1ec5 for the review