raphaelmor / Polyline

Polyline encoder / decoder in swift
MIT License
299 stars 50 forks source link

Fix watchOS compiler error about MapKit #67

Closed 1ec5 closed 4 years ago

1ec5 commented 4 years ago

Fixed a compiler error on watchOS due to usage of MapKit, which is unavailable on that platform: https://github.com/raphaelmor/Polyline/pull/55#discussion_r517745198. This compiler error wasn’t caught by CI because the #55 added a shell script that didn’t propagate its commands’ errors. This change hooks up the script so that any failure in xcodebuild or swift will cause the build to fail.

/cc @frederoni @MaximAlien