ios-sdk-examples icon indicating copy to clipboard operation
ios-sdk-examples copied to clipboard

Build Issues with Xcode 11.7

Open roblabs opened this issue 4 years ago • 2 comments

  • 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.

roblabs avatar Oct 05 '20 00:10 roblabs

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 avatar Oct 05 '20 18:10 captainbarbosa

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.

captainbarbosa avatar Oct 06 '20 17:10 captainbarbosa