Xcode 10 - iOS 12 Simulator location simulation fails on City Bicycle Ride/City Run/Freeway Drive
I just updated from Xcode 9 to Xcode 10 a day ago, and when I was about to debug my location tracking app just realized that I never received device location. So I went to Maps app to check if it was just a problem with my app, but when I turn location debug to any dynamic location (City Bicycle Ride/City Run/Freeway Drive) even Maps fails getting device's location (almost always), but when I set it to a static location (Apple) it works without any problem.
Location: Apple
Location: City Bicycle Ride
Location: City Run
Location: Freeway Drive
I'm the only one facing this issue or its actually a Xcode/Simulator problem?
EDIT: Still happening on Xcode 10.1
ios xcode xcode10 ios12 xcode10.1
|
show 6 more comments
I just updated from Xcode 9 to Xcode 10 a day ago, and when I was about to debug my location tracking app just realized that I never received device location. So I went to Maps app to check if it was just a problem with my app, but when I turn location debug to any dynamic location (City Bicycle Ride/City Run/Freeway Drive) even Maps fails getting device's location (almost always), but when I set it to a static location (Apple) it works without any problem.
Location: Apple
Location: City Bicycle Ride
Location: City Run
Location: Freeway Drive
I'm the only one facing this issue or its actually a Xcode/Simulator problem?
EDIT: Still happening on Xcode 10.1
ios xcode xcode10 ios12 xcode10.1
1
I have the same problem but haven't found a solution yet...
– Marco Weber
Sep 23 '18 at 11:11
1
i have same problem
– lozflan
Sep 23 '18 at 21:31
1
So much regret to updated xcode version smh
– Isaac
Sep 24 '18 at 3:01
2
Have the same problem since Xcode 10 GM
– Skyborg
Sep 24 '18 at 16:55
1
Have the same problem - have reported bug to Apple (please do the same) - bizarrely in my case a restart of XCode (not just the simulator) can sometimes fix it.
– Hayden Crocker
Sep 29 '18 at 21:41
|
show 6 more comments
I just updated from Xcode 9 to Xcode 10 a day ago, and when I was about to debug my location tracking app just realized that I never received device location. So I went to Maps app to check if it was just a problem with my app, but when I turn location debug to any dynamic location (City Bicycle Ride/City Run/Freeway Drive) even Maps fails getting device's location (almost always), but when I set it to a static location (Apple) it works without any problem.
Location: Apple
Location: City Bicycle Ride
Location: City Run
Location: Freeway Drive
I'm the only one facing this issue or its actually a Xcode/Simulator problem?
EDIT: Still happening on Xcode 10.1
ios xcode xcode10 ios12 xcode10.1
I just updated from Xcode 9 to Xcode 10 a day ago, and when I was about to debug my location tracking app just realized that I never received device location. So I went to Maps app to check if it was just a problem with my app, but when I turn location debug to any dynamic location (City Bicycle Ride/City Run/Freeway Drive) even Maps fails getting device's location (almost always), but when I set it to a static location (Apple) it works without any problem.
Location: Apple
Location: City Bicycle Ride
Location: City Run
Location: Freeway Drive
I'm the only one facing this issue or its actually a Xcode/Simulator problem?
EDIT: Still happening on Xcode 10.1
ios xcode xcode10 ios12 xcode10.1
ios xcode xcode10 ios12 xcode10.1
edited Dec 5 '18 at 12:48
Jose Vf
asked Sep 20 '18 at 17:03


Jose VfJose Vf
634420
634420
1
I have the same problem but haven't found a solution yet...
– Marco Weber
Sep 23 '18 at 11:11
1
i have same problem
– lozflan
Sep 23 '18 at 21:31
1
So much regret to updated xcode version smh
– Isaac
Sep 24 '18 at 3:01
2
Have the same problem since Xcode 10 GM
– Skyborg
Sep 24 '18 at 16:55
1
Have the same problem - have reported bug to Apple (please do the same) - bizarrely in my case a restart of XCode (not just the simulator) can sometimes fix it.
– Hayden Crocker
Sep 29 '18 at 21:41
|
show 6 more comments
1
I have the same problem but haven't found a solution yet...
– Marco Weber
Sep 23 '18 at 11:11
1
i have same problem
– lozflan
Sep 23 '18 at 21:31
1
So much regret to updated xcode version smh
– Isaac
Sep 24 '18 at 3:01
2
Have the same problem since Xcode 10 GM
– Skyborg
Sep 24 '18 at 16:55
1
Have the same problem - have reported bug to Apple (please do the same) - bizarrely in my case a restart of XCode (not just the simulator) can sometimes fix it.
– Hayden Crocker
Sep 29 '18 at 21:41
1
1
I have the same problem but haven't found a solution yet...
– Marco Weber
Sep 23 '18 at 11:11
I have the same problem but haven't found a solution yet...
– Marco Weber
Sep 23 '18 at 11:11
1
1
i have same problem
– lozflan
Sep 23 '18 at 21:31
i have same problem
– lozflan
Sep 23 '18 at 21:31
1
1
So much regret to updated xcode version smh
– Isaac
Sep 24 '18 at 3:01
So much regret to updated xcode version smh
– Isaac
Sep 24 '18 at 3:01
2
2
Have the same problem since Xcode 10 GM
– Skyborg
Sep 24 '18 at 16:55
Have the same problem since Xcode 10 GM
– Skyborg
Sep 24 '18 at 16:55
1
1
Have the same problem - have reported bug to Apple (please do the same) - bizarrely in my case a restart of XCode (not just the simulator) can sometimes fix it.
– Hayden Crocker
Sep 29 '18 at 21:41
Have the same problem - have reported bug to Apple (please do the same) - bizarrely in my case a restart of XCode (not just the simulator) can sometimes fix it.
– Hayden Crocker
Sep 29 '18 at 21:41
|
show 6 more comments
3 Answers
3
active
oldest
votes
Still happening in Xcode 10.0, and the only thing that seemed to make it work was to have 'Allow Location Simulation' turned on in your scheme and toggling between 'Apple' and 'City Run' under your simulator's top menu:
Debug > Location > Apple
Debug > Location > City Run
(back and forth between them until your run actually begins to simulate)
- Obviously not a permanent solution, but it can save you hours of debugging your own code vs pulling your hair out, yelling at Apple. Though we should def yell at Apple for this one.
Thanks, this helped! I was switching back and forth between City Run and the other options (City Bicycle Ride, None, etc), but had no luck. For some reason, switching to the 'Apple' option seems to reset things.
– mmh02
Jan 23 at 3:39
add a comment |
What works for me is to go to Settings in the simulator and turn off and back on the location services under privacy. Then choose debug > location > apple > devised activity
add a comment |
Setting a custom location at Debug > Location > Custom Location, then changing it slightly will reliably trigger a location update.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52430007%2fxcode-10-ios-12-simulator-location-simulation-fails-on-city-bicycle-ride-city%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Still happening in Xcode 10.0, and the only thing that seemed to make it work was to have 'Allow Location Simulation' turned on in your scheme and toggling between 'Apple' and 'City Run' under your simulator's top menu:
Debug > Location > Apple
Debug > Location > City Run
(back and forth between them until your run actually begins to simulate)
- Obviously not a permanent solution, but it can save you hours of debugging your own code vs pulling your hair out, yelling at Apple. Though we should def yell at Apple for this one.
Thanks, this helped! I was switching back and forth between City Run and the other options (City Bicycle Ride, None, etc), but had no luck. For some reason, switching to the 'Apple' option seems to reset things.
– mmh02
Jan 23 at 3:39
add a comment |
Still happening in Xcode 10.0, and the only thing that seemed to make it work was to have 'Allow Location Simulation' turned on in your scheme and toggling between 'Apple' and 'City Run' under your simulator's top menu:
Debug > Location > Apple
Debug > Location > City Run
(back and forth between them until your run actually begins to simulate)
- Obviously not a permanent solution, but it can save you hours of debugging your own code vs pulling your hair out, yelling at Apple. Though we should def yell at Apple for this one.
Thanks, this helped! I was switching back and forth between City Run and the other options (City Bicycle Ride, None, etc), but had no luck. For some reason, switching to the 'Apple' option seems to reset things.
– mmh02
Jan 23 at 3:39
add a comment |
Still happening in Xcode 10.0, and the only thing that seemed to make it work was to have 'Allow Location Simulation' turned on in your scheme and toggling between 'Apple' and 'City Run' under your simulator's top menu:
Debug > Location > Apple
Debug > Location > City Run
(back and forth between them until your run actually begins to simulate)
- Obviously not a permanent solution, but it can save you hours of debugging your own code vs pulling your hair out, yelling at Apple. Though we should def yell at Apple for this one.
Still happening in Xcode 10.0, and the only thing that seemed to make it work was to have 'Allow Location Simulation' turned on in your scheme and toggling between 'Apple' and 'City Run' under your simulator's top menu:
Debug > Location > Apple
Debug > Location > City Run
(back and forth between them until your run actually begins to simulate)
- Obviously not a permanent solution, but it can save you hours of debugging your own code vs pulling your hair out, yelling at Apple. Though we should def yell at Apple for this one.
answered Oct 27 '18 at 1:37
klopezklopez
806
806
Thanks, this helped! I was switching back and forth between City Run and the other options (City Bicycle Ride, None, etc), but had no luck. For some reason, switching to the 'Apple' option seems to reset things.
– mmh02
Jan 23 at 3:39
add a comment |
Thanks, this helped! I was switching back and forth between City Run and the other options (City Bicycle Ride, None, etc), but had no luck. For some reason, switching to the 'Apple' option seems to reset things.
– mmh02
Jan 23 at 3:39
Thanks, this helped! I was switching back and forth between City Run and the other options (City Bicycle Ride, None, etc), but had no luck. For some reason, switching to the 'Apple' option seems to reset things.
– mmh02
Jan 23 at 3:39
Thanks, this helped! I was switching back and forth between City Run and the other options (City Bicycle Ride, None, etc), but had no luck. For some reason, switching to the 'Apple' option seems to reset things.
– mmh02
Jan 23 at 3:39
add a comment |
What works for me is to go to Settings in the simulator and turn off and back on the location services under privacy. Then choose debug > location > apple > devised activity
add a comment |
What works for me is to go to Settings in the simulator and turn off and back on the location services under privacy. Then choose debug > location > apple > devised activity
add a comment |
What works for me is to go to Settings in the simulator and turn off and back on the location services under privacy. Then choose debug > location > apple > devised activity
What works for me is to go to Settings in the simulator and turn off and back on the location services under privacy. Then choose debug > location > apple > devised activity
answered Nov 14 '18 at 21:41
StarkusStarkus
427
427
add a comment |
add a comment |
Setting a custom location at Debug > Location > Custom Location, then changing it slightly will reliably trigger a location update.
add a comment |
Setting a custom location at Debug > Location > Custom Location, then changing it slightly will reliably trigger a location update.
add a comment |
Setting a custom location at Debug > Location > Custom Location, then changing it slightly will reliably trigger a location update.
Setting a custom location at Debug > Location > Custom Location, then changing it slightly will reliably trigger a location update.
answered Nov 20 '18 at 22:34


Gabriel JensenGabriel Jensen
3,91711214
3,91711214
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f52430007%2fxcode-10-ios-12-simulator-location-simulation-fails-on-city-bicycle-ride-city%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
I have the same problem but haven't found a solution yet...
– Marco Weber
Sep 23 '18 at 11:11
1
i have same problem
– lozflan
Sep 23 '18 at 21:31
1
So much regret to updated xcode version smh
– Isaac
Sep 24 '18 at 3:01
2
Have the same problem since Xcode 10 GM
– Skyborg
Sep 24 '18 at 16:55
1
Have the same problem - have reported bug to Apple (please do the same) - bizarrely in my case a restart of XCode (not just the simulator) can sometimes fix it.
– Hayden Crocker
Sep 29 '18 at 21:41