Support installation via Swift Package Manager #209
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added support for Swift Package Manager as a third way to integrate MapboxGeocoder into an application project and a second way to set up a development environment for MapboxGeocoder itself. You can now open Package.swift and use a development environment managed by SPM instead of an Xcode project with Carthage-built dependencies.
Increased the minimum deployment targets to iOS 10.0, macOS 10.12.0, tvOS 10.0, and watchOS 3.0 for consistency with MapboxDirections and MapboxStatic.swift. iOS 8 and 9, macOS 10.10 and 10.11, etc. are no longer supported.
Avoid a future compiler error when building the library on unrecognized operating system, such as Windows.
INFOPLIST_FILE
build setting to point to the current path to Info.plistMBPlacemarkPrecision
in Swift@objc
onSWIFT_PACKAGE
where necessaryFixes #132 and fixes #208.
/cc @frederoni @Udumft