Meteor 2.3 ios cordova - Could not connect to the server

Hi,

Just wrapped my app for Android which worked fine and now doing ios. Getting the error below on trying to start the app. I tried debugging the objective C code (I’m not up to speed on all the apple stuff yet) and did not get very far. Any suggestions? Log below:

2021-10-04 08:24:24.560666-0400 Yomez[46373:9837144] Apache Cordova native platform version 6.2.0 is starting.

2021-10-04 08:24:24.560876-0400 Yomez[46373:9837144] Multi-tasking → Device: YES, App: YES

2021-10-04 08:24:24.590931-0400 Yomez[46373:9837144] Could not load the “LaunchStoryboard” image referenced from a nib in the bundle with identifier "com.yomez.app.yomez"

2021-10-04 08:24:25.015358-0400 Yomez[46373:9837144] WF: === Starting WebFilter logging for process Yomez

2021-10-04 08:24:25.015537-0400 Yomez[46373:9837144] WF: _userSettingsForUser : (null)

2021-10-04 08:24:25.015664-0400 Yomez[46373:9837144] WF: _WebFilterIsActive returning: NO

2021-10-04 08:24:25.032913-0400 Yomez[46373:9837144] The preference key “AllowNewWindows” is not defined and will default to "FALSE"

2021-10-04 08:24:25.036230-0400 Yomez[46373:9837144] The preference key “MediaPlaybackAllowsAirPlay” is not defined and will default to "TRUE"

2021-10-04 08:24:25.042222-0400 Yomez[46373:9837144] WF: _userSettingsForUser : (null)

2021-10-04 08:24:25.042385-0400 Yomez[46373:9837144] WF: _WebFilterIsActive returning: NO

2021-10-04 08:24:25.044516-0400 Yomez[46373:9837144] The preference key “AllowBackForwardNavigationGestures” is not defined and will default to "FALSE"

2021-10-04 08:24:25.044721-0400 Yomez[46373:9837144] The preference key “Allow3DTouchLinkPreview” is not defined and will default to "TRUE"

2021-10-04 08:24:25.044858-0400 Yomez[46373:9837144] CDVWebViewEngine will reload WKWebView if required on resume

2021-10-04 08:24:25.044992-0400 Yomez[46373:9837144] Using WKWebView

2021-10-04 08:24:25.045468-0400 Yomez[46373:9837144] [CDVTimer][console] 0.090003ms

2021-10-04 08:24:25.045733-0400 Yomez[46373:9837144] [CDVTimer][handleopenurl] 0.087023ms

2021-10-04 08:24:25.047808-0400 Yomez[46373:9837144] [CDVTimer][intentandnavigationfilter] 1.939058ms

2021-10-04 08:24:25.048131-0400 Yomez[46373:9837144] [CDVTimer][gesturehandler] 0.158072ms

2021-10-04 08:24:25.048264-0400 Yomez[46373:9837144] [CDVTimer][TotalPluginStartup] 2.947927ms

2021-10-04 08:24:25.666858-0400 Yomez[46373:9837144] Failed to load webpage with error: Could not connect to the server.

Looks like the attempt to access the local index.html on the ios iphone simulator is not succeeding. I.e. none of the client side js code is running yet. I could not figure out what runs the embedded web server on the phone. Seemed like most of objective C code was the web view handler.

FYI, did process of elimination and I got something working. I think it maybe the accounts-google@1.4.0 plugin as there was an error when its installed. Will add stuff back till it breaks and update here.

Failed to install ‘cordova-plugin-googleplus’: Error: Variable(s) missing: REVERSED_CLIENT_ID

After following the above, got a new compile error with a missing header file. Took it back out and clean built stuff, then it ran. Looks like the above plugin just does not work with the latest ios cordova stuff.