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.
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
orswift
will cause the build to fail./cc @frederoni @MaximAlien