mapbox / ios-sdk-examples

Live example code for the Mapbox iOS SDK
https://www.mapbox.com/ios-sdk/examples/
Other
95 stars 35 forks source link

Build Issues with Xcode 11.7 #417

Open roblabs opened 3 years ago

roblabs commented 3 years ago

Build Setup

sw_vers

ProductName: Mac OS X ProductVersion: 10.15.7 BuildVersion: 19H2

/usr/bin/xcodebuild -version

Xcode 11.7 Build version 11E801a

/usr/bin/xcode-select -print-path

/Applications/Xcode-11.7/Xcode.app/Contents/Developer

Bot Log

We would be happy to provide the build log or any further details while this is in triage.

Bot Issue for ios-sdk-examples main Examples Bot (error in LocationPrivacyExample.swift:32)
Error: Value of type 'MGLLocationManager' has no member 'accuracyAuthorization'
File: ios-sdk-examples/Examples/Swift/LocationPrivacyExample.swift:32
Potentially resolvable by Jordan Kiley

Bot Issue for ios-sdk-examples main Examples Bot (error in LocationPrivacyExample.swift:64)
Error: Value of type 'MGLLocationManager' has no member 'requestTemporaryFullAccuracyAuthorization'
File: ios-sdk-examples/Examples/Swift/LocationPrivacyExample.swift:64
Potentially resolvable by Jordan Kiley

See https://github.com/mapbox/ios-sdk-examples/issues/416 for notes on setting up Xcode Server Bots for this repo.

captainbarbosa commented 3 years ago

I think we just need to wrap this example with an if #available(iOS 14.0, *) so that this particular example won't run if attempting to build with Xcode 11.

captainbarbosa commented 3 years ago

Hmm it looks like those checks were already in there, so we'll need to dig in a little more to figure out why this is happening.