Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230113

Ios, building but not running on simulator

$
0
0

Hi thanks for the reply.

On a real device, I’m not getting the error, but it’s stuck on splash screen too though.

In the console I only see

[Debug] Ionic Stop Scroll injected! (user-script:1, line 50)

In the network I only see index.html which it not loaded, 404.

Summary
URL: ionic://localhost/var/mobile/Containers/Data/Application/AC3A00A8-21CA-42C6-9344-401938A8E4A9/Library/Application%20Support/8fa64ebd-79c4-4c07-aa58-18c66399b1ea/index.html?cordova_js_bootstrap_resource=/var/containers/Bundle/Application/FDBADB93-295B-4D96-8866-5D352A4CA0B1/MyApp.app/www/cordova.js
Status: 404
Source: —

Request
Upgrade-Insecure-Requests: 1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 Google

Response
Cache-Control: no-cache
Content-Type: text/html

Query String Parameters
cordova_js_bootstrap_resource: /var/containers/Bundle/Application/FDBADB93-295B-4D96-8866-5D352A4CA0B1/MyApp.app/www/cordova.js

Here I lack knowledge to understand why the 404 would occur. Is there anything I should specify for the build to copy data over to the phone?

If I add
<script src="cordova.js"></script>
I’m not getting the 404 but the app is still stuck on the splash screen and I get no console or network traffic from safari, in the localhost context…

Please note, the first time I ran on the device, it downloaded & unzipped to the phone, then got stuck.
I stopped the app from xcode and ran it again. That’s where I am now, but I cannot see a download & extraction of a zip file to the phone…

Thanks for your help
Regards


Viewing all articles
Browse latest Browse all 230113

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>