You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fixed test build with SPM
Explicitly import Core Location in each test file that uses it.
* SPM 5.3
Upgraded to SPM 5.3. Added fixtures to test target so that tests pass.
* Updated tests for SPM
* Added Linux to CI
* Removed Core Location dependency on Linux
* Removed Core Graphics dependency on Linux
* Migrated Linux to FoundationNetworking
* DateComponentsFormatter is unimplemented in swift-corelibs-foundation
* Polyline v5.0.2, Turf v1.1.0
* Imported Foundation where missing
* Use current ProcessInfo instead of creating a new one
* Remove Objective-C runtime dependency on Linux
* Bridge Turf and Polyline compatibility shims for Core Location on Linux
* Documented Linux support
Reworked the system requirements documentation for clarity.
* Test on Linux
* Removed truisms from unit tests
Removed some assertions that, combined with other assertions nearby, essentially check that a Foundation class’s non-failable initializer doesn’t return nil. These default initializers happen to also be unavailable in swift-corelibs-foundation.
* Work around swift-corelibs-foundation usage of NSNull
swift-corelibs-foundation’s implementation of JSONSerialization uses NSNull to represent a JSON null value, whereas the implementation on Apple platforms uses nil.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
1
# Changes to Mapbox Directions for Swift
2
2
3
+
## v1.2.0
4
+
5
+
* Added support for building and running on any Linux distribution supported by Swift. ([#488](https://github.com/mapbox/mapbox-directions-swift/pull/488))
6
+
3
7
## v1.1.0
4
8
5
9
* Added the `DirectionsResult.typicalTravelTime`, `RouteLeg.typicalTravelTime` and `RouteStep.typicalTravelTime` properties that indicate the typical travel time, as opposed to the current expected travel time. ([#462](https://github.com/mapbox/mapbox-directions-swift/pull/462))
Mapbox Directions for Swift (formerly MapboxDirections.swift) makes it easy to connect your iOS, macOS, tvOS, or watchOS application to the [Mapbox Directions](https://docs.mapbox.com/api/navigation/) and [Map Matching](https://docs.mapbox.com/api/navigation/#map-matching) APIs. Quickly get driving, cycling, or walking directions, whether the trip is nonstop or it has multiple stopping points, all using a simple interface reminiscent of MapKit’s `MKDirections` API. Fit a GPX trace to the [OpenStreetMap](https://www.openstreetmap.org/) road network. The Mapbox Directions and Map Matching APIs are powered by the [OSRM](http://project-osrm.org/) and [Valhalla](https://github.com/valhalla/valhalla/) routing engines. For more information, see the [Mapbox Navigation](https://www.mapbox.com/navigation/) homepage.
9
+
Mapbox Directions for Swift (formerly MapboxDirections.swift) makes it easy to connect your iOS, macOS, tvOS, watchOS, or Linux application to the [Mapbox Directions](https://docs.mapbox.com/api/navigation/) and [Map Matching](https://docs.mapbox.com/api/navigation/#map-matching) APIs. Quickly get driving, cycling, or walking directions, whether the trip is nonstop or it has multiple stopping points, all using a simple interface reminiscent of MapKit’s `MKDirections` API. Fit a GPX trace to the [OpenStreetMap](https://www.openstreetmap.org/) road network. The Mapbox Directions and Map Matching APIs are powered by the [OSRM](http://project-osrm.org/) and [Valhalla](https://github.com/valhalla/valhalla/) routing engines. For more information, see the [Mapbox Navigation](https://www.mapbox.com/navigation/) homepage.
10
10
11
11
Mapbox Directions pairs well with [MapboxGeocoder.swift](https://github.com/mapbox/MapboxGeocoder.swift), [MapboxStatic.swift](https://github.com/mapbox/MapboxStatic.swift), the [Mapbox Navigation SDK for iOS](https://github.com/mapbox/mapbox-navigation-ios/), and the [Mapbox Maps SDK for iOS](https://docs.mapbox.com/ios/maps/) or [macOS SDK](https://mapbox.github.io/mapbox-gl-native/macos/).
12
12
@@ -32,11 +32,24 @@ Or in your [Swift Package Manager](https://swift.org/package-manager/) Package.s
32
32
33
33
Then `import MapboxDirections`.
34
34
35
-
This library requires Xcode 11 or higher in order to build.
36
-
This library supports a minimum deployment target of iOS 10.0 or above, macOS 10.12.0 or above, tvOS 10.0 or above, or watchOS 2.0 or above. v0.30.0 is the last release of MapboxDirections.swift that supports a minimum deployment target of iOS 9._x_, macOS 10.11._x_, tvOS 9._x_, or watchOS 2._x_. v0.30.0 is also the last release that is compatible with Objective-C or AppleScript code.
37
-
38
35
This repository contains an example application that demonstrates how to use the framework. To run it, you need to use [Carthage](https://github.com/Carthage/Carthage) 0.19 or above to install the dependencies. Detailed documentation is available in the [Mapbox API Documentation](https://docs.mapbox.com/api/navigation/#directions).
39
36
37
+
## System requirements
38
+
39
+
* One of the following package managers:
40
+
* CocoaPods (CocoaPods 1.10 or above if using Xcode 12)
41
+
* Carthage 0.19 or above (run [this script](https://github.com/mapbox/mapbox-directions-swift/blob/main/scripts/wcarthage.sh) instead of `carthage` if using Xcode 12)
42
+
* Swift Package Manager 5.3 or above
43
+
* Xcode 11 or above (Xcode 12 or above if using Swift Package Manager)
44
+
* One of the following operating systems:
45
+
* iOS 10.0 or above
46
+
* macOS 10.12.0 or above
47
+
* tvOS 10.0 or above
48
+
* watchOS 2.0 or above
49
+
* Any Linux distribution supported by Swift
50
+
51
+
v0.30.0 is the last release of MapboxDirections.swift that supports a minimum deployment target of iOS 9._x_, macOS 10.11._x_, tvOS 9._x_, or watchOS 2._x_. v0.30.0 is also the last release that is compatible with Objective-C or AppleScript code.
0 commit comments