ios-sdk-examples
ios-sdk-examples copied to clipboard
Build Issues with Xcode 11.7
- While setting Xcode Server Bots for this repo, we noticed this issue when building for Xcode 11.7.
- There is no issue when building the same Scheme for Xcode 12.0.1.
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.
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.
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.