Setting location in Simulator does not always work

Originator:janine.sisk
Number:rdar://47675172 Date Originated:1-30-19
Status:Closed Resolved:Duplicate/44734759
Product:Developer Tools Product Version:Xcode 10.1 (10B61)
Classification:Serious Bug Reproducible:Sometimes
 
Summary:

Setting location in the simulator from the debug menu works intermittently for the location options that move.

Steps to Reproduce:

With an app running in the simulator, switch location between Apple and Freeway Drive several times.  It may take a few runs of the app before it happens.

Expected Results:

The blue dot showing the user's location should move to the appropriate location and in the case of Freeway Drive it should start moving along the set path.

Actual Results:

It works a few times, then setting Freeway Drive results in the blue dot turning grey and no movement is observed.  Some combination of restarting the simulator and turning location services on and off in the simulator will get it working again, but it often takes 3 - 4 tries of flipping between Apple and Freeway Drive before it finally works.  It seems to degrade as time goes by until it no longer works at all.

I found this SO post which shows it is happening to others as well: https://stackoverflow.com/questions/52726731/location-simulation-not-working-in-xcode-10-and-ios-12

Version/Build:

Xcode 10.1 (10B61)
iOS 12.1 (16B91)

Configuration:

Not sure what to include here.

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!