Permissions were removed from all working TestFlight builds when installing on iOS

Hello, I was uploading new builds for 2 Apps (they have the Location Entitlements on info.plist)

I've installed them on 3 different iPhones and they don't have the Location Permissions on Settings anymore:

It stopped working last week, for newer builds, as well as with older builds which were proven to work

  • When installing the same builds on TestFlight for Silicon MacBook, the laptop has setting to enable Location for this App .. so it shouldn't be a 'signing' or 'setup' conflict

  • When I run a release build with xCode via USB to my phone, works correctly

  • I had the TestFlight version installed long ago (i only clicked update to the last build). The location settings were on my Phone. The problem arose for the testers that installed any of our builds this last week

  • When I uninstalled and installed it again, the location settings were gone for me too

It's like that when our Apps go through TestFlight Servers, a failed build is provided to us.

I'm happy to help solve this, thanks. Eze

When an app is deleted from a device, its listing in Settings will reset, and when it is reinstalled, the Location setting will not be there by default. For the location setting to appear the app needs to instantiate a location manager and use it first.

It is possible that your code is flowing differently for a TestFlight/Release build and not instantiating/authorizing/using CoreLocation APIs as it does in a debug/Xcode build.

You may want to have a look at https://developer.apple.com/documentation/xcode/testing-a-release-build The problems covered are those which are frequently missed during development and can therefore surface in TestFlight, App Review, customer environments or distribution app testing. 

Permissions were removed from all working TestFlight builds when installing on iOS
 
 
Q