App settings do not appear after prompting for location access

Originator:v-sam_spencer
Number:rdar://FB9810131 Date Originated:Dec 15, 2021
Status:Open Resolved:
Product:Developer Tools Product Version:iOS 15.2
Classification:Simulator Reproducible:Always
 
The iOS Simulator's Settings app on iOS 15.2 does not surface app-specific settings even after prompting for location permission. This particular bug is evidenced by the fact that the app-specific settings DO appear in the Settings app after the app prompts for any other non-location permission (e.g. Photos Library access). Furthermore, the Location Services menu is missing from the iOS Simulator's Privacy section and was previously present on other versions of the iOS SDK (I have filed a separate feedback for that issue, although I suspect they are related).


Please list the steps you took to reproduce the issue:
~~ Build and run the attached sample app on the iOS Simulator with Xcode 13.2 and iOS 15.2. Then, in the sample app do the following: ~~

1. Tap to request location permission
2. Grant when in-use or always
3. Check the Settings app
4. The app does not appear in the Settings app
5. Location permissions are not visible in Settings > Privacy
6. Open the sample app again
7. Tap to request photos permission
8. Grant access to photos
9. Check the Settings app
10. The app does appear in the Settings app
11. Location permissions are still not visible in Privacy

This can be replicated with any app targeting any SDK. The sample app is as simple as possible, however.


What did you expect to happen?
The iOS Simulator's Settings app should surface app-specific settings after prompting for location permission. The iOS Simulator's Settings app should show Location Services in the Privacy section.


What actually happened?
The iOS Simulator's Settings app does not surface app-specific settings after prompting for location permission. Additional permissions must be requested before app-specific settings appear in the simulator. The iOS Simulator's Settings app never shows any Location Services in the Privacy section, regardless of location state, simulated location, or permissions requests.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!