[ 
https://issues.apache.org/jira/browse/CB-11715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15426760#comment-15426760
 ] 

Kerri Shotts commented on CB-11715:
-----------------------------------

Couple of things to try:

* does Xcode manage to launch a simulator if you're not using Cordova? You 
should be able to try this by creating a new project from one of the starting 
templates in Xcode and then run it in the sim. (No code changes are required.)

* What plugins do you have in your config.xml? If you have any, rip them all 
out and see if the app starts in the sim. Add plugins back until the startup 
sequence fails. 

* Are you using the splash screen plugin? If so, make sure your code is hiding 
the splash screen or you have config.xml set to automatically hide the splash 
screen, otherwise it'll be up until the end of time.

> iOS Simulator hangs on Endless App Loading/Launching Screen. No Err Msgs.
> -------------------------------------------------------------------------
>
>                 Key: CB-11715
>                 URL: https://issues.apache.org/jira/browse/CB-11715
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 6.3.1
>         Environment: osx 10.11.6, el capitan, Simulator 9.3, using Xcode 7.3 
> (but also hangs if Simulator launched directly from Terminal)  iOS-deply 
> 1.8.6, Cordova 6.3.1 (native platform version 4.2.0)
>            Reporter: Amy Johnson
>            Assignee: Tobias Bocanegra
>              Labels: beginner, newbie
>         Attachments: screenshot-1.png
>
>
> --I'm new to this, so I apologize for any mistakes. 
> --When I try to launch my Cordova app in Simulator (from Xcode or Terminal), 
> Simulator gets stuck on an endless loading screen. 
> (Cordova emulate iOS...  Endless loading screen.) (The build succeeds.)
> --By "endless," I mean that I have let it run overnight, and it still appears 
> to be loading (blue bar spiraling near bottom of screen) in the morning. 
> --This loading problem is probably due to a mistake on my end, but it seems 
> like it might be a Cordova bug that there are no error messages. 
> Here is my system log shown in Xcode after I launch Simulator from there:
> 2016-08-16 21:54:12.449 myApp[10960:414442] DiskCookieStorage changing policy 
> from 2 to 0, cookie file: 
> file:///Users/userName/Library/Developer/CoreSimulator/Devices/5F95829F-87E0-4E99-AD88-828C29AB29F1/data/Containers/Data/Application/72317999-A72E-455C-A8B9-E47E3F25614E/Library/Cookies/co.domainName.myApp.binarycookies
> 2016-08-16 21:54:12.645 myApp[10960:414442] Apache Cordova native platform 
> version 4.2.0 is starting.
> 2016-08-16 21:54:12.646 myApp[10960:414442] Multi-tasking -> Device: YES, 
> App: YES
> 2016-08-16 21:54:12.677 myApp[10960:414442] 
> Started backup to iCloud! Please be careful.
> Your application might be rejected by Apple if you store too much data.
> For more information please read "iOS Data Storage Guidelines" at:
> https://developer.apple.com/icloud/documentation/data-storage/
> To disable web storage backup to iCloud, set the BackupWebStorage preference 
> to "local" in the Cordova config.xml file
> 2016-08-16 21:54:12.785 myApp[10960:414442] Using UIWebView
> 2016-08-16 21:54:12.788 myApp[10960:414442] [CDVTimer][handleopenurl] 
> 0.137031ms
> 2016-08-16 21:54:12.789 myApp[10960:414442] Unlimited access to network 
> resources
> 2016-08-16 21:54:12.790 myApp[10960:414442] 
> [CDVTimer][intentandnavigationfilter] 1.496971ms
> 2016-08-16 21:54:12.790 myApp[10960:414442] [CDVTimer][gesturehandler] 
> 0.087976ms
> 2016-08-16 21:54:12.839 myApp[10960:414442] [CDVTimer][file] 49.188972ms
> 2016-08-16 21:54:12.864 myApp[10960:414442] [CDVTimer][intercom] 24.819970ms
> 2016-08-16 21:54:12.864 myApp[10960:414442] [CDVTimer][TotalPluginStartup] 
> 76.799035ms
> 2016-08-16 21:54:13.734 myApp[10960:414442] Resetting plugins due to page 
> load.
> 2016-08-16 21:54:14.497 myApp[10960:414442] Finished load of: 
> file:///Users/userName/Library/Developer/CoreSimulator/Devices/5F95829F-87E0-4E99-AD88-828C29AB29F1/data/Containers/Bundle/Application/A1C67A1E-3AC6-4A7A-AEC0-095B89C3B2D9/myApp.app/www/index_cordova.html?cordova=
> Again, I apologize for any mistakes, as I'm new to both Cordova and this 
> forum.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to