GPX File does not load iOS Xcode












3















I am trying to simulate the locations, using a gpx file.



The file does not work in the Xcode nor does it show any error.



The file size is 1.1 MB , has a tracking data from startPoint (A) to startPoint (B).



Does that cause any issues, any suggestion?



Ref: Add GPX File to Xcode 6 Project










share|improve this question





























    3















    I am trying to simulate the locations, using a gpx file.



    The file does not work in the Xcode nor does it show any error.



    The file size is 1.1 MB , has a tracking data from startPoint (A) to startPoint (B).



    Does that cause any issues, any suggestion?



    Ref: Add GPX File to Xcode 6 Project










    share|improve this question



























      3












      3








      3








      I am trying to simulate the locations, using a gpx file.



      The file does not work in the Xcode nor does it show any error.



      The file size is 1.1 MB , has a tracking data from startPoint (A) to startPoint (B).



      Does that cause any issues, any suggestion?



      Ref: Add GPX File to Xcode 6 Project










      share|improve this question
















      I am trying to simulate the locations, using a gpx file.



      The file does not work in the Xcode nor does it show any error.



      The file size is 1.1 MB , has a tracking data from startPoint (A) to startPoint (B).



      Does that cause any issues, any suggestion?



      Ref: Add GPX File to Xcode 6 Project







      ios xcode gpx






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 23 '17 at 12:09









      Community

      11




      11










      asked Apr 15 '17 at 15:49









      andyPaulandyPaul

      1,70553167




      1,70553167
























          3 Answers
          3






          active

          oldest

          votes


















          4














          I noticed the same issue (Xcode 9.2). If you are adding the .gpx file through the status bar at the bottom and it's not appearing:



          Drag and drop the .gpx file directly in your project navigator window on the left (where all your program files are)



          and it should then appear in the drop-down simulator icon.






          share|improve this answer































            1














            Found the actual reason is few tags of the content in the GPX file is not supported by XCode.



            iOS does not support tags with tracking data.



            <trk>
            <name>12</name>
            <trkseg>
            <trkpt lat="some value" lon="some value">
            </trkpt>
            <trkseg>
            </trk>


            So, get rid off all trk , trkseg tags. Now repleace trkpt with wpt.



            That's it and you will be able to see simulation of your path.



            Found the refernece at : http://deneymo.blogspot.com/2013/12/ios-customise-gps-path-for-simulator.html



            A GPX file with only wpt points can be created here . http://gpx-poi.com



            According to the following link https://developer.apple.com/library/content/documentation/IDEs/Conceptual/iOS_Simulator_Guide/CustomizingYourExperienceThroughXcodeSchemes/CustomizingYourExperienceThroughXcodeSchemes.html



            Xcode and Simulator support specifying a route as a series of waypoints using the GPX <wpt> tag. The route (<rte>) and track (<trk>) tags are not supported.






            share|improve this answer

































              0














              I have met this problem recently, and found that GPSBabel can convert track GPX file into waypoint format. Here is a sample command given in the document:




              gpsbabel -i gpx -f blah.gpx -x transform,wpt=trk,del -o gpx -F converted.gpx






              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%2f43428073%2fgpx-file-does-not-load-ios-xcode%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









                4














                I noticed the same issue (Xcode 9.2). If you are adding the .gpx file through the status bar at the bottom and it's not appearing:



                Drag and drop the .gpx file directly in your project navigator window on the left (where all your program files are)



                and it should then appear in the drop-down simulator icon.






                share|improve this answer




























                  4














                  I noticed the same issue (Xcode 9.2). If you are adding the .gpx file through the status bar at the bottom and it's not appearing:



                  Drag and drop the .gpx file directly in your project navigator window on the left (where all your program files are)



                  and it should then appear in the drop-down simulator icon.






                  share|improve this answer


























                    4












                    4








                    4







                    I noticed the same issue (Xcode 9.2). If you are adding the .gpx file through the status bar at the bottom and it's not appearing:



                    Drag and drop the .gpx file directly in your project navigator window on the left (where all your program files are)



                    and it should then appear in the drop-down simulator icon.






                    share|improve this answer













                    I noticed the same issue (Xcode 9.2). If you are adding the .gpx file through the status bar at the bottom and it's not appearing:



                    Drag and drop the .gpx file directly in your project navigator window on the left (where all your program files are)



                    and it should then appear in the drop-down simulator icon.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Dec 13 '17 at 18:35









                    jslomkajslomka

                    415




                    415

























                        1














                        Found the actual reason is few tags of the content in the GPX file is not supported by XCode.



                        iOS does not support tags with tracking data.



                        <trk>
                        <name>12</name>
                        <trkseg>
                        <trkpt lat="some value" lon="some value">
                        </trkpt>
                        <trkseg>
                        </trk>


                        So, get rid off all trk , trkseg tags. Now repleace trkpt with wpt.



                        That's it and you will be able to see simulation of your path.



                        Found the refernece at : http://deneymo.blogspot.com/2013/12/ios-customise-gps-path-for-simulator.html



                        A GPX file with only wpt points can be created here . http://gpx-poi.com



                        According to the following link https://developer.apple.com/library/content/documentation/IDEs/Conceptual/iOS_Simulator_Guide/CustomizingYourExperienceThroughXcodeSchemes/CustomizingYourExperienceThroughXcodeSchemes.html



                        Xcode and Simulator support specifying a route as a series of waypoints using the GPX <wpt> tag. The route (<rte>) and track (<trk>) tags are not supported.






                        share|improve this answer






























                          1














                          Found the actual reason is few tags of the content in the GPX file is not supported by XCode.



                          iOS does not support tags with tracking data.



                          <trk>
                          <name>12</name>
                          <trkseg>
                          <trkpt lat="some value" lon="some value">
                          </trkpt>
                          <trkseg>
                          </trk>


                          So, get rid off all trk , trkseg tags. Now repleace trkpt with wpt.



                          That's it and you will be able to see simulation of your path.



                          Found the refernece at : http://deneymo.blogspot.com/2013/12/ios-customise-gps-path-for-simulator.html



                          A GPX file with only wpt points can be created here . http://gpx-poi.com



                          According to the following link https://developer.apple.com/library/content/documentation/IDEs/Conceptual/iOS_Simulator_Guide/CustomizingYourExperienceThroughXcodeSchemes/CustomizingYourExperienceThroughXcodeSchemes.html



                          Xcode and Simulator support specifying a route as a series of waypoints using the GPX <wpt> tag. The route (<rte>) and track (<trk>) tags are not supported.






                          share|improve this answer




























                            1












                            1








                            1







                            Found the actual reason is few tags of the content in the GPX file is not supported by XCode.



                            iOS does not support tags with tracking data.



                            <trk>
                            <name>12</name>
                            <trkseg>
                            <trkpt lat="some value" lon="some value">
                            </trkpt>
                            <trkseg>
                            </trk>


                            So, get rid off all trk , trkseg tags. Now repleace trkpt with wpt.



                            That's it and you will be able to see simulation of your path.



                            Found the refernece at : http://deneymo.blogspot.com/2013/12/ios-customise-gps-path-for-simulator.html



                            A GPX file with only wpt points can be created here . http://gpx-poi.com



                            According to the following link https://developer.apple.com/library/content/documentation/IDEs/Conceptual/iOS_Simulator_Guide/CustomizingYourExperienceThroughXcodeSchemes/CustomizingYourExperienceThroughXcodeSchemes.html



                            Xcode and Simulator support specifying a route as a series of waypoints using the GPX <wpt> tag. The route (<rte>) and track (<trk>) tags are not supported.






                            share|improve this answer















                            Found the actual reason is few tags of the content in the GPX file is not supported by XCode.



                            iOS does not support tags with tracking data.



                            <trk>
                            <name>12</name>
                            <trkseg>
                            <trkpt lat="some value" lon="some value">
                            </trkpt>
                            <trkseg>
                            </trk>


                            So, get rid off all trk , trkseg tags. Now repleace trkpt with wpt.



                            That's it and you will be able to see simulation of your path.



                            Found the refernece at : http://deneymo.blogspot.com/2013/12/ios-customise-gps-path-for-simulator.html



                            A GPX file with only wpt points can be created here . http://gpx-poi.com



                            According to the following link https://developer.apple.com/library/content/documentation/IDEs/Conceptual/iOS_Simulator_Guide/CustomizingYourExperienceThroughXcodeSchemes/CustomizingYourExperienceThroughXcodeSchemes.html



                            Xcode and Simulator support specifying a route as a series of waypoints using the GPX <wpt> tag. The route (<rte>) and track (<trk>) tags are not supported.







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Apr 15 '17 at 17:44

























                            answered Apr 15 '17 at 17:23









                            andyPaulandyPaul

                            1,70553167




                            1,70553167























                                0














                                I have met this problem recently, and found that GPSBabel can convert track GPX file into waypoint format. Here is a sample command given in the document:




                                gpsbabel -i gpx -f blah.gpx -x transform,wpt=trk,del -o gpx -F converted.gpx






                                share|improve this answer




























                                  0














                                  I have met this problem recently, and found that GPSBabel can convert track GPX file into waypoint format. Here is a sample command given in the document:




                                  gpsbabel -i gpx -f blah.gpx -x transform,wpt=trk,del -o gpx -F converted.gpx






                                  share|improve this answer


























                                    0












                                    0








                                    0







                                    I have met this problem recently, and found that GPSBabel can convert track GPX file into waypoint format. Here is a sample command given in the document:




                                    gpsbabel -i gpx -f blah.gpx -x transform,wpt=trk,del -o gpx -F converted.gpx






                                    share|improve this answer













                                    I have met this problem recently, and found that GPSBabel can convert track GPX file into waypoint format. Here is a sample command given in the document:




                                    gpsbabel -i gpx -f blah.gpx -x transform,wpt=trk,del -o gpx -F converted.gpx







                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered Jun 6 '17 at 7:28









                                    hzmhzm

                                    35237




                                    35237






























                                        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%2f43428073%2fgpx-file-does-not-load-ios-xcode%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

                                        MongoDB - Not Authorized To Execute Command

                                        in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith

                                        Npm cannot find a required file even through it is in the searched directory