Osrm support
I just updated the directions init to really support any custom host. This allows us to use any OSRM server.
this is for issue #121
any clue why bitrise fails ? It compiles on Xcode 9.1 / swift 3.2
It looks like requests are still being made with a Mapbox access token (or it's expecting one to be there):
Selected tests
Test Suite MapboxDirectionsTests.xctest started
V4Tests
✗ testPolyline, XCTAssertNil failed: "Error Domain=MBDirectionsErrorDomain Code=-1 "Not Authorized - Invalid Token" UserInfo={NSLocalizedFailureReason=Not Authorized - Invalid Token}" - Error: Error Domain=MBDirectionsErrorDomain Code=-1 "Not Authorized - Invalid Token" UserInfo={NSLocalizedFailureReason=Not Authorized - Invalid Token}
✗ testPolyline, XCTAssertNotNil failed -
❌ fatal error: unexpectedly found nil while unwrapping an Optional value
Ha yes sorry I need to check the unit tests ! Thanks.
@bsudekum Hi, how can we move forward with this pull request ? Do I have to change something ?
Also cc @1ec5
What's the status of this?