RC0 When running on IOS device, cannot find any HTML

I upgraded my existing app to RC0. I can now successfully build and run the app in a browser through “ionic serve”.

But when I build to an IOS device the app does not start. In XCode console I can see that it cannot find any of the HTML template urls.

Any ideas?

what happens when you run the app on the iOS emulator?

Same thing.

I’m not really familiar with what needs to happen to the actual HTML files. Does it need to be copied to the www folder? If it does, it is not happening right now.

It is copied to the .tmp folder and served from there if I run in a browser.

what is the xcode error stacktrace ?

When you upgraded your project did you follow the instructions here?

Sorry for the delay in answering, I’m not allowed to reply quickly.

Yes, I followed those instructions, and re-created the app from scratch.

While I’m waiting before I can reply: Here is some more info:

Node version v6.3.1
NPM version 3.10.3

This is the stack trace:

2016-10-04 12:07:48.679136 ProAnnexUs[1016:379233] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///private/var/mobile/Containers/Data/Application/374E15DB-5D3C-4A08-91DE-D4E13855E97E/Library/Cookies/Cookies.binarycookies
2016-10-04 12:07:48.754760 ProAnnexUs[1016:379233] Apache Cordova native platform version 4.2.1 is starting.
2016-10-04 12:07:48.756021 ProAnnexUs[1016:379233] Multi-tasking -> Device: YES, App: YES
2016-10-04 12:07:48.839430 ProAnnexUs[1016:379233] CDVWKWebViewEngine: trying to inject XHR polyfill
2016-10-04 12:07:48.855241 ProAnnexUs[1016:379233] CDVWKWebViewEngine will reload WKWebView if required on resume
2016-10-04 12:07:48.855342 ProAnnexUs[1016:379233] Using WKWebView
2016-10-04 12:07:48.856215 ProAnnexUs[1016:379233] [CDVTimer][handleopenurl] 0.185966ms
2016-10-04 12:07:48.859915 ProAnnexUs[1016:379233] Unlimited access to network resources
2016-10-04 12:07:48.860134 ProAnnexUs[1016:379233] [CDVTimer][intentandnavigationfilter] 3.809035ms
2016-10-04 12:07:48.860420 ProAnnexUs[1016:379233] [CDVTimer][gesturehandler] 0.226974ms
2016-10-04 12:07:48.860737 ProAnnexUs[1016:379233] Starting Facebook Connect plugin
2016-10-04 12:07:48.860866 ProAnnexUs[1016:379233] [CDVTimer][facebookconnectplugin] 0.383973ms
2016-10-04 12:07:48.880594 ProAnnexUs[1016:379233] [CDVTimer][splashscreen] 19.636989ms
2016-10-04 12:07:48.895782 ProAnnexUs[1016:379233] [CDVTimer][statusbar] 15.022993ms
2016-10-04 12:07:48.917190 ProAnnexUs[1016:379233] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2016-10-04 12:07:48.917848 ProAnnexUs[1016:379233] [MC] Filtering mail sheet accounts for bundle ID: test.proannexus.ProAnnexUs, source account management: 1
2016-10-04 12:07:48.922522 ProAnnexUs[1016:379233] [MC] Result: NO
2016-10-04 12:07:48.922663 ProAnnexUs[1016:379233] [CDVTimer][socialsharing] 26.755989ms
2016-10-04 12:07:48.925072 ProAnnexUs[1016:379233] [CDVTimer][keyboard] 2.261996ms
2016-10-04 12:07:48.946577 ProAnnexUs[1016:379233] [CDVTimer][file] 21.366000ms
2016-10-04 12:07:48.946745 ProAnnexUs[1016:379233] [CDVTimer][TotalPluginStartup] 90.764999ms
2016-10-04 12:07:48.958850 ProAnnexUs[1016:379233] createNotificationChecker
2016-10-04 12:07:48.958941 ProAnnexUs[1016:379233] not coldstart
2016-10-04 12:07:48.970311 ProAnnexUs[1016:379233] active
2016-10-04 12:07:48.970605 ProAnnexUs[1016:379233] PushPlugin skip clear badge
2016-10-04 12:07:50.190475 ProAnnexUs[1016:379256] CDVWKWebViewEngine: XHR intercepted: app.html
2016-10-04 12:07:50.192022 ProAnnexUs[1016:379256] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.196112 ProAnnexUs[1016:379256] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “app.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/app.html, NSUnderlyingError=0x1700437b0 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.199387 ProAnnexUs[1016:379256] CDVWKWebViewEngine: XHR intercepted: nav.html
2016-10-04 12:07:50.199834 ProAnnexUs[1016:379257] CDVWKWebViewEngine: XHR intercepted: dashboard.html
2016-10-04 12:07:50.200357 ProAnnexUs[1016:379256] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.200390 ProAnnexUs[1016:379257] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.201839 ProAnnexUs[1016:379257] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “dashboard.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/dashboard.html, NSUnderlyingError=0x17404ba60 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.202333 ProAnnexUs[1016:379256] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “nav.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/nav.html, NSUnderlyingError=0x17004ec70 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.211511 ProAnnexUs[1016:379257] CDVWKWebViewEngine: XHR intercepted: favourites.html
2016-10-04 12:07:50.212345 ProAnnexUs[1016:379257] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.212841 ProAnnexUs[1016:379257] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “favourites.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/favourites.html, NSUnderlyingError=0x170042ee0 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.217104 ProAnnexUs[1016:379257] CDVWKWebViewEngine: XHR intercepted: finder.html
2016-10-04 12:07:50.219376 ProAnnexUs[1016:379257] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.220652 ProAnnexUs[1016:379257] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “finder.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/finder.html, NSUnderlyingError=0x170046fc0 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.220920 ProAnnexUs[1016:379257] CDVWKWebViewEngine: XHR intercepted: results.html
2016-10-04 12:07:50.221430 ProAnnexUs[1016:379257] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.221838 ProAnnexUs[1016:379257] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “results.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/results.html, NSUnderlyingError=0x170046fc0 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.222529 ProAnnexUs[1016:379256] CDVWKWebViewEngine: XHR intercepted: home.html
2016-10-04 12:07:50.222765 ProAnnexUs[1016:379269] CDVWKWebViewEngine: XHR intercepted: messages.html
2016-10-04 12:07:50.222832 ProAnnexUs[1016:379255] CDVWKWebViewEngine: XHR intercepted: attachmentList.html
2016-10-04 12:07:50.223302 ProAnnexUs[1016:379257] CDVWKWebViewEngine: XHR intercepted: notifications.html
2016-10-04 12:07:50.224147 ProAnnexUs[1016:379256] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.224461 ProAnnexUs[1016:379255] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.224773 ProAnnexUs[1016:379269] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.224848 ProAnnexUs[1016:379257] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.225347 ProAnnexUs[1016:379255] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “attachmentList.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/attachmentList.html, NSUnderlyingError=0x17404ba30 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.225531 ProAnnexUs[1016:379256] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “home.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/home.html, NSUnderlyingError=0x170049930 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.226210 ProAnnexUs[1016:379269] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “messages.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/messages.html, NSUnderlyingError=0x170045400 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.226915 ProAnnexUs[1016:379257] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “notifications.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/notifications.html, NSUnderlyingError=0x17404ff30 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.227371 ProAnnexUs[1016:379255] CDVWKWebViewEngine: XHR intercepted: payments.html
2016-10-04 12:07:50.227757 ProAnnexUs[1016:379256] CDVWKWebViewEngine: XHR intercepted: usersList.html
2016-10-04 12:07:50.228306 ProAnnexUs[1016:379323] CDVWKWebViewEngine: XHR intercepted: view.html
2016-10-04 12:07:50.228567 ProAnnexUs[1016:379257] CDVWKWebViewEngine: XHR intercepted: profile.html
2016-10-04 12:07:50.228584 ProAnnexUs[1016:379269] CDVWKWebViewEngine: XHR intercepted: list.html
2016-10-04 12:07:50.229113 ProAnnexUs[1016:379255] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.229291 ProAnnexUs[1016:379324] CDVWKWebViewEngine: XHR intercepted: edit.html
2016-10-04 12:07:50.230213 ProAnnexUs[1016:379256] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.230591 ProAnnexUs[1016:379257] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.231531 ProAnnexUs[1016:379323] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.232037 ProAnnexUs[1016:379269] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.233348 ProAnnexUs[1016:379255] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “payments.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/payments.html, NSUnderlyingError=0x17404fdb0 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.233516 ProAnnexUs[1016:379326] CDVWKWebViewEngine: XHR intercepted: review.html
2016-10-04 12:07:50.234390 ProAnnexUs[1016:379324] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.235422 ProAnnexUs[1016:379256] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “usersList.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/usersList.html, NSUnderlyingError=0x170044230 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.235861 ProAnnexUs[1016:379257] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “profile.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/profile.html, NSUnderlyingError=0x170045400 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.236264 ProAnnexUs[1016:379323] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “view.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/view.html, NSUnderlyingError=0x170045670 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.236654 ProAnnexUs[1016:379269] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “list.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/list.html, NSUnderlyingError=0x170042400 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.239537 ProAnnexUs[1016:379325] CDVWKWebViewEngine: XHR intercepted: settings.html
2016-10-04 12:07:50.241765 ProAnnexUs[1016:379326] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.241978 ProAnnexUs[1016:379255] CDVWKWebViewEngine: XHR intercepted: signIn.html
2016-10-04 12:07:50.243408 ProAnnexUs[1016:379256] CDVWKWebViewEngine: XHR intercepted: signUp.html
2016-10-04 12:07:50.243948 ProAnnexUs[1016:379324] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “edit.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/edit.html, NSUnderlyingError=0x170048b20 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.244606 ProAnnexUs[1016:379327] CDVWKWebViewEngine: XHR intercepted: forgotPassword.html
2016-10-04 12:07:50.247130 ProAnnexUs[1016:379329] CDVWKWebViewEngine: XHR intercepted: verifyId.html
2016-10-04 12:07:50.247393 ProAnnexUs[1016:379257] CDVWKWebViewEngine: XHR intercepted: chat.html
2016-10-04 12:07:50.248587 ProAnnexUs[1016:379323] CDVWKWebViewEngine: XHR intercepted: payment.html
2016-10-04 12:07:50.248656 ProAnnexUs[1016:379328] CDVWKWebViewEngine: XHR intercepted: chatEdit.html
2016-10-04 12:07:50.249555 ProAnnexUs[1016:379331] CDVWKWebViewEngine: XHR intercepted: storedCards.html
2016-10-04 12:07:50.249421 ProAnnexUs[1016:379330] CDVWKWebViewEngine: XHR intercepted: cards.html
2016-10-04 12:07:50.249974 ProAnnexUs[1016:379332] CDVWKWebViewEngine: XHR intercepted: newCards.html
2016-10-04 12:07:50.250045 ProAnnexUs[1016:379333] CDVWKWebViewEngine: XHR intercepted: create.html
2016-10-04 12:07:50.253028 ProAnnexUs[1016:379325] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.253522 ProAnnexUs[1016:379326] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “review.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/review.html, NSUnderlyingError=0x17404bdf0 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.253727 ProAnnexUs[1016:379255] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.253959 ProAnnexUs[1016:379256] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.254541 ProAnnexUs[1016:379327] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.254575 ProAnnexUs[1016:379329] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.255903 ProAnnexUs[1016:379257] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.256100 ProAnnexUs[1016:379323] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.256530 ProAnnexUs[1016:379328] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.256534 ProAnnexUs[1016:379331] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.257314 ProAnnexUs[1016:379330] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.257934 ProAnnexUs[1016:379332] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.258534 ProAnnexUs[1016:379333] CDVWKWebViewEngine: Error while opening file with path
2016-10-04 12:07:50.260456 ProAnnexUs[1016:379325] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “settings.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/settings.html, NSUnderlyingError=0x17404ff30 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.260738 ProAnnexUs[1016:379255] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “signIn.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/signIn.html, NSUnderlyingError=0x17404fbd0 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.261969 ProAnnexUs[1016:379329] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “verifyId.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/verifyId.html, NSUnderlyingError=0x170045670 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.261976 ProAnnexUs[1016:379327] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “forgotPassword.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/forgotPassword.html, NSUnderlyingError=0x174050a40 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.262826 ProAnnexUs[1016:379323] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “payment.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/payment.html, NSUnderlyingError=0x174050c20 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.263154 ProAnnexUs[1016:379328] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “chatEdit.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/chatEdit.html, NSUnderlyingError=0x17404ff90 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.263282 ProAnnexUs[1016:379331] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “storedCards.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/storedCards.html, NSUnderlyingError=0x170049390 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.263488 ProAnnexUs[1016:379330] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “cards.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/cards.html, NSUnderlyingError=0x1700490f0 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.263646 ProAnnexUs[1016:379332] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “newCards.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/newCards.html, NSUnderlyingError=0x170049030 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.264492 ProAnnexUs[1016:379333] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “create.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/create.html, NSUnderlyingError=0x1700497b0 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.269308 ProAnnexUs[1016:379257] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “chat.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/chat.html, NSUnderlyingError=0x174050980 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.270320 ProAnnexUs[1016:379256] CDVWKWebViewEngine: Error Domain=NSCocoaErrorDomain Code=260 “The file “signUp.html” couldn’t be opened because there is no such file.” UserInfo={NSFilePath=/var/containers/Bundle/Application/E21D3B37-DAB5-40B4-AAF5-D46B928FB633/ProAnnexUs.app/www/signUp.html, NSUnderlyingError=0x170048b20 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
2016-10-04 12:07:50.572104 ProAnnexUs[1016:379233] DEVICE READY FIRED AFTER 682 ms
2016-10-04 12:08:04.064065 ProAnnexUs[1016:379233] [MC] Reading from public effective user settings.

In your pages, while migrating to RC.0, did you performed the modifications of all templateUrl too?

Before was something like

templateUrl: 'build/pages/about/about.html'

Now it should be

 templateUrl: 'about.html'

I did yes.

My file structure looks like this:

|
|-pages
…|-dashboard
…|-dashboard.html
…|-dashboard.ts

And in dashboard.ts I have:

@Component({
templateUrl: ‘dashboard.html’
})

As I said previously, all html is copied to .tmp but not to www (Not sure if that is supposed to be like that)

Are you 100 percent sure you have no typing errors what so ever in your logs? Because I noticed that while developing and using ionic serve everything seemed to work OK, but when making a production build rollout failed on making the production bundle due to some stupid typescript errors. Although it worked while developing, it didn’t when building for production. The building process of the app just went fine, but the main bundle wasn’t included inside it and thus wouldn’t run (white screen on startup).

Also make sure you use the latest nodeJS (6.7), just to be sure.

:frowning:

Agree. If no files under www, not sure about it, but yep maybe the build encoutered an error but went anyway further (happened to me, had to double check visually the logs of the build)

Yes, what @reedrichards said. I also had to manually check all the build logs, because if it fails somewhere the bundling gets rerolled and there’s no main file to load.

Thanks guys.

I had a couple of lint errors. Cleared that up but I still have the same issue.

My build now runs without a single error.

I just thought of something that I can try. I did not spend a lot of time on the Private/Public variables in templates. Going to take a look at that now.

Have you try a “ionic platform rm ios”, “ionic platform add ios” and a new “ionic build ios”

Sounds silly I know, but for me sometimes it’s the way I have to be sure everything is clean as it should in XCode…sorry for not havin better idea

Yep, tried that a couple of times already :slight_smile:

And did you already tried building with a fresh new project RC0 (just to make sure it’s something within your own project)

Nope, will try that next.

Creating the tutorial app worked 100%

1 Like

In your working tutorial app, under platform/ios/… did you find your www files?
The compare with your not working app … just to know if there is a difference there?

Otherwise, did you test the tutorial app with vkwebview too (probably not relevant but who knows…)?

Turns out it was a complete idiot user problem. Thanks for all your help.

I copied dev config over prod config earlier to try and figure out something else and forgot to change it back.

It happens to me all the time too! Good to hear you figured out what the problem is