Location Services not available in tvOS Simulator

Originator:contact
Number:rdar://23060492 Date Originated:2015-10-10
Status:Open Resolved:
Product:tvOS beta 3 Product Version:tvOS beta 3 SDK / Xcode Version 7.1 beta 3 (7B85)
Classification:Serious Bug Reproducible:
 
Summary:
Even after setting the CFBundleDisplayName and NSLocationWhenInUseUsageDescription keys in Info.plist, Location Services are not available in the tvOS Simulator.

Steps to Reproduce:
1. Create new tvOS app.
2. Add required CFBundleDisplayName and NSLocationWhenInUseUsageDescription keys to Info.plist per tvOS beta FAQ (https://forums.developer.apple.com/message/70381).
3. Add simple location manager that initializes CLLocationManager and calls -requestLocation().
4. Build and run in Simulator.

Expected Results:
An authorization UIAlertController should prompt the user to allow / deny the app access to Location Services in the Simulator. Upon allowing access, the Simulator should be able to spoof location using the Debug > Location menu item.

Actual Results:
An authorization UIAlertController for access to Location Services flashes on-screen in the Simulator for a moment, being dismissed before user interaction is possible.

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!