Xcode 10 - iOS 12 Simulator location simulation fails on City Bicycle Ride/City Run/Freeway Drive












25















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: Apple



Location: City Bicycle Ride



Location: City Bicycle Ride



Location: City Run



Location: City Run



Location: Freeway Drive



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










share|improve this question




















  • 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
















25















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: Apple



Location: City Bicycle Ride



Location: City Bicycle Ride



Location: City Run



Location: City Run



Location: Freeway Drive



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










share|improve this question




















  • 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














25












25








25


4






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: Apple



Location: City Bicycle Ride



Location: City Bicycle Ride



Location: City Run



Location: City Run



Location: Freeway Drive



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










share|improve this question
















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: Apple



Location: City Bicycle Ride



Location: City Bicycle Ride



Location: City Run



Location: City Run



Location: Freeway Drive



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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 5 '18 at 12:48







Jose Vf

















asked Sep 20 '18 at 17:03









Jose VfJose Vf

712620




712620








  • 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





    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












3 Answers
3






active

oldest

votes


















9














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.






share|improve this answer


























  • 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



















3














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






share|improve this answer



















  • 1





    That worked with me!

    – Tony
    Feb 11 at 9:17



















0














Setting a custom location at Debug > Location > Custom Location, then changing it slightly will reliably trigger a location update.






share|improve this answer























    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
    });


    }
    });














    draft saved

    draft discarded


















    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









    9














    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.






    share|improve this answer


























    • 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
















    9














    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.






    share|improve this answer


























    • 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














    9












    9








    9







    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.






    share|improve this answer















    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.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Feb 4 at 14:59









    Iain Smith

    5,95242745




    5,95242745










    answered Oct 27 '18 at 1:37









    klopezklopez

    1206




    1206













    • 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





    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













    3














    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






    share|improve this answer



















    • 1





      That worked with me!

      – Tony
      Feb 11 at 9:17
















    3














    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






    share|improve this answer



















    • 1





      That worked with me!

      – Tony
      Feb 11 at 9:17














    3












    3








    3







    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






    share|improve this answer













    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







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Nov 14 '18 at 21:41









    StarkusStarkus

    627




    627








    • 1





      That worked with me!

      – Tony
      Feb 11 at 9:17














    • 1





      That worked with me!

      – Tony
      Feb 11 at 9:17








    1




    1





    That worked with me!

    – Tony
    Feb 11 at 9:17





    That worked with me!

    – Tony
    Feb 11 at 9:17











    0














    Setting a custom location at Debug > Location > Custom Location, then changing it slightly will reliably trigger a location update.






    share|improve this answer




























      0














      Setting a custom location at Debug > Location > Custom Location, then changing it slightly will reliably trigger a location update.






      share|improve this answer


























        0












        0








        0







        Setting a custom location at Debug > Location > Custom Location, then changing it slightly will reliably trigger a location update.






        share|improve this answer













        Setting a custom location at Debug > Location > Custom Location, then changing it slightly will reliably trigger a location update.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 20 '18 at 22:34









        Gabriel JensenGabriel Jensen

        3,91711214




        3,91711214






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            How to send String Array data to Server using php in android

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

            Is anime1.com a legal site for watching anime?