Closed 1ec5 closed 3 years ago
swift test
is failing due to either a bug to be fixed by apple/swift-package-manager#2817 or a bug reported as SR-13560:
Test Case '-[MapboxStaticTests.ClassicOverlayTests testBuiltinMarker]' started.
Fatal error: could not load resource bundle: /Applications/Xcode-12.GM.seed.app/Contents/Developer/usr/bin/MapboxStatic_MapboxStaticTests.bundle: file MapboxStaticTests/resource_bundle_accessor.swift, line 7
Edit: It was apple/swift-package-manager#2817; upgrading to Xcode 12.2 fixed the issue.
Upgraded to Xcode 12, Swift 5.3, OHHTTPStubs v9.0, and Polyline v5.0. You can now open Package.swift and use a development environment managed by Swift Package Manager 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 compatibility with Polyline v5.0.
Avoid a compiler error when building the library on unrecognized operating system, such as Windows.
Fixes #108 and fixes #109.
/cc @captainbarbosa @frederoni