iOS build issues

Heyo,

we just built our app for Android, which is working smoothly. However, the iOS build just does not want to work.

Xcode can load the projekt properly, and it will even start the app. Then it asks for GPS permission (which is good). The problem arises when it is supposed to load the content of the app - it just stays white. Again, it works on Android so Im guessing this is an issue with the setup?

Here is the relevant excerpt from the system log

Jun 20 13:44:57 xxx[48520]: assertion failed: 16E195 14E269: libxpc.dylib + 65908 [099EE567-D51F-3277-B929-5FBFDFDE1116]: 0x7d
Jun 20 13:44:58 xxx[48520]: Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
Jun 20 13:44:59 xxx[48520]: Could not signal service com.apple.WebKit.Networking: 113: Could not find specified service
Jun 20 13:45:03 xxx[48520]: ROOT_URL seems to have changed, new: http://xx.info/, old: http://xx.info:80/
Jun 20 13:45:03 xxx[48520]: Serving asset bundle version: 6cc9177c3d86cea19c5a4525da0f50381a1049c4

also

2017-06-20 13:28:38.076628+0200 xxx[3915:1163814] Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
2017-06-20 13:28:38.078892+0200 xxx[3915:1163814] Could not signal service com.apple.WebKit.Networking: 113: Could not find specified service
2017-06-20 13:28:39.349171+0200 xxx[3915:1163814] CDVWKWebViewEngine will reload WKWebView if required on resume
2017-06-20 13:28:39.349296+0200 xxx[3915:1163814] Using WKWebView
2017-06-20 13:28:39.350022+0200 xxx[3915:1163814] [CDVTimer][handleopenurl] 0.159979ms
2017-06-20 13:28:39.353586+0200 xxx[3915:1163814] [CDVTimer][intentandnavigationfilter] 3.483951ms
2017-06-20 13:28:39.353851+0200 xxx[3915:1163814] [CDVTimer][gesturehandler] 0.186980ms
2017-06-20 13:28:39.521050+0200 xxx[3915:1163814] Serving asset bundle version: c1d1efd967dcf6c05defab53ec2cd60ee4b4af48
[INFO] GCDWebServer started on port 12040 and reachable at http://localhost:12040/
2017-06-20 13:28:39.534963+0200 xxx[3915:1163814] [CDVTimer][webapplocalserver] 181.034982ms
2017-06-20 13:28:39.559849+0200 xxx[3915:1163814] [CDVTimer][statusbar] 24.519980ms
2017-06-20 13:28:39.609161+0200 xxx[3915:1163814] [CDVTimer][splashscreen] 49.053013ms
2017-06-20 13:28:39.616948+0200 xxx[3915:1163814] [CDVTimer][file] 7.439971ms
2017-06-20 13:28:39.617249+0200 xxx[3915:1163814] [CDVTimer][TotalPluginStartup] 267.425001ms
2017-06-20 13:28:41.639822+0200 xxx[3915:1163814] Start downloading asset manifest from: manifest.json -- http://xx.info:80/__cordova/
2017-06-20 13:28:41.904313+0200 xxx[3915:1163932] Downloaded asset manifest for version: 6cc9177c3d86cea19c5a4525da0f50381a1049c4
2017-06-20 13:28:41.964477+0200 xxx[3915:1163932] Start downloading assets from bundle with version: 6cc9177c3d86cea19c5a4525da0f50381a1049c4
2017-06-20 13:28:42.446296+0200 xxx[3915:1164021] [CDVTimer][assetBundleDownload] 481.539011ms
2017-06-20 13:28:42.448505+0200 xxx[3915:1163888] Finished downloading new asset bundle version: 6cc9177c3d86cea19c5a4525da0f50381a1049c4
2017-06-20 13:28:42.459330+0200 xxx[3915:1163814] ROOT_URL seems to have changed, new: http://xx.info/, old: http://xx.info:80/
2017-06-20 13:28:42.460792+0200 xxx[3915:1163814] Serving asset bundle version: 6cc9177c3d86cea19c5a4525da0f50381a1049c4

Please let me know if I can provide you with any more information.

Thanks a lot for taking your time to read this, Im really stuck

Yorrd

+1
Having the exact same issue. Can’t seem to find a solution.

Could not signal service com.apple.Webkit.WebContent: 113: Could not find specified service.

+1 having same issue - am able to run the app with ‘meteor run ios-device’ but not if I build the app and try to run it.

I am having exactly this issue on iOS 10, on iOS 11 it seems to be fine however :frowning:

Same issue. Getting Using WKWebView and then shortly thereafter CDVPlugin class CDVUIInAppBrowser (pluginName: uiinappbrowser) does not exist.w

Typically I have seen this error when running on a WIFI network that doesn’t allow guests to see each other. One way around that is to use a service like ngrok or zero tier to proxy requests using a VPN.

You should be able to verify if this is the case by checking that URL it’s trying to retrieve from. You can use Safari iOS debugging to see it’s actually to connect to that URL (or even try it in Safari on iOS)

Thanks @hexsprite, I ended up finding that if I needed to clear the configs and app builds:

rm -rf .meteor/local/cordova-build    
meteor remove-platform ios                 
meteor add-platform ios      

then building with meteor build ../output-example --mobile-settings settings.json --server https://example.com