Ionic 4 Ios Building BUT NSURLConnection Failure

I recently updated my Mac with the latest build and after not being able to run an existing application I decided to try samples and found I get the same error.

I have following versions of tools

XCode Version 9.3 (9E145)
Ionic CLI 4.10.2
Cordova 6.5.0
Node v10.15.1
npm 6.4.1

I run the commands to build the sample applications and build the ios platform which all works. I then load in XCode and the simulator shows the splash screen then a white screen. The output in the console is as follows ;

Devices/83B940CC-B60F-479C-B44D-5FD77AB24C12/data/Containers/Data/Application/1CE6A5C2-2124-4BED-B8A7-83784999AEB3/Library/Cookies/io.ionic.starter.binarycookies
2019-02-07 18:50:27.164217+0800 MyApp[3776:90391] Apache Cordova native platform version 4.3.1 is starting.
2019-02-07 18:50:27.164959+0800 MyApp[3776:90391] Multi-tasking -> Device: YES, App: YES
2019-02-07 18:50:27.298939+0800 MyApp[3776:90391] Using UIWebView
2019-02-07 18:50:27.302774+0800 MyApp[3776:90391] [CDVTimer][handleopenurl] 0.086069ms
2019-02-07 18:50:27.305477+0800 MyApp[3776:90391] [CDVTimer][intentandnavigationfilter] 2.529025ms
2019-02-07 18:50:27.305741+0800 MyApp[3776:90391] [CDVTimer][gesturehandler] 0.092030ms
2019-02-07 18:50:27.321842+0800 MyApp[3776:90391] [CDVTimer][statusbar] 15.941024ms
2019-02-07 18:50:27.362557+0800 MyApp[3776:90391] [CDVTimer][splashscreen] 40.529013ms
2019-02-07 18:50:27.362828+0800 MyApp[3776:90391] CDVIonicKeyboard: resize mode 1
2019-02-07 18:50:27.364721+0800 MyApp[3776:90391] CDVIonicKeyboard: WARNING!!: Keyboard plugin works better with WK
2019-02-07 18:50:27.365571+0800 MyApp[3776:90391] [CDVTimer][keyboard] 2.742052ms
2019-02-07 18:50:27.365884+0800 MyApp[3776:90391] [CDVTimer][TotalPluginStartup] 63.211083ms
2019-02-07 18:50:27.961890+0800 MyApp[3776:90391] Resetting plugins due to page load.
2019-02-07 18:50:28.582249+0800 MyApp[3776:90463] NSURLConnection finished with error - code -1100
2019-02-07 18:50:28.603276+0800 MyApp[3776:90463] NSURLConnection finished with error - code -1100
2019-02-07 18:50:28.603492+0800 MyApp[3776:90463] NSURLConnection finished with error - code -1100
2019-02-07 18:50:28.603658+0800 MyApp[3776:90463] NSURLConnection finished with error - code -1100
2019-02-07 18:50:28.604646+0800 MyApp[3776:90463] NSURLConnection finished with error - code -1100
2019-02-07 18:50:28.604809+0800 MyApp[3776:90463] NSURLConnection finished with error - code -1100
2019-02-07 18:50:28.615354+0800 MyApp[3776:90391] Finished load of

Anyone else had this issue or a workaround ?

Have tried removing node_modules and running through a new install of npm after finding article with same issue on stack overflow

Ok reply to myself eventually realised after noticing the message that even though it was building the webview had not properly been initialised as cordova needed to be updated above version 7.

Then I could run the command

ionic cordova plugin add cordova-plugin-ionic-webview --save

So a mixture of initial issues but eventually I got there. :slight_smile:

facing the same issue. please advise

Did you solved it? Facing the same issue right now for 2 days. I’m stuck dude