NSURLConnection finished with error - code -1100

I am running application in XCode 14.3.1 which build using Visual Studio 2017 (Apache Cordova) and getting below error.

2023-09-04 13:38:59.119104+0530 CC Mobile[7551:1246047] ADAL version 2.3.1 2023-09-04 13:38:59.315325+0530 CC Mobile[7551:1246047] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users/sankum03/Library/Developer/CoreSimulator/Devices/ECFE254E-3529-4220-AE0D-10C143E96610/data/Containers/Data/Application/D2125721-3B33-442F-994A-B606C5D6B61C/Library/Cookies/com.protiviti.CC.mobile.0001.binarycookies 2023-09-04 13:38:59.364681+0530 CC Mobile[7551:1246047] Apache Cordova native platform version 4.3.0 is starting. 2023-09-04 13:38:59.364914+0530 CC Mobile[7551:1246047] Multi-tasking -> Device: YES, App: YES 2023-09-04 13:38:59.784539+0530 CC Mobile[7551:1246047] Using UIWebView 2023-09-04 13:38:59.788448+0530 CC Mobile[7551:1246047] [CDVTimer][handleopenurl] 0.221014ms 2023-09-04 13:38:59.792992+0530 CC Mobile[7551:1246047] [CDVTimer][intentandnavigationfilter] 4.173994ms 2023-09-04 13:38:59.793248+0530 CC Mobile[7551:1246047] [CDVTimer][gesturehandler] 0.122905ms 2023-09-04 13:38:59.804388+0530 CC Mobile[7551:1246047] [CDVTimer][file] 11.008024ms 2023-09-04 13:38:59.805043+0530 CC Mobile[7551:1246047] [CDVTimer][keyboard] 0.509024ms 2023-09-04 13:38:59.805131+0530 CC Mobile[7551:1246047] [CDVTimer][keyboard] 0.005007ms 2023-09-04 13:38:59.805198+0530 CC Mobile[7551:1246047] [CDVTimer][TotalPluginStartup] 17.199039ms 2023-09-04 13:39:00.256875+0530 CC Mobile[7551:1246047] Resetting plugins due to page load. 2023-09-04 13:39:01.200824+0530 CC Mobile[7551:1246047] Finished load of: file:///Users/DevUser/Library/Developer/CoreSimulator/Devices/ECFE254E-3529-4220-AE0D-10C143E96610/data/Containers/Bundle/Application/88B2A444-20DB-4EBA-978A-8C47B75461E5/CC%20Mobile.app/www/index.html#/app/loadingapp 2023-09-04 13:39:01.758090+0530 CC Mobile[7551:1246728] NSURLConnection finished with error - code -1100

Please suggest.

Ultimately this is something you will need to track down in your 3rd party library but I can at least point you in the right direction based on what I see.

  • It looks like you're using UIWebView and you'll want to move away from that as it is deprecated.
  • Your cookie policy is changing to always accept cookies, which may not be related at all.
  • Finally you are receiving an error -1100 which means your file does not exist on disk, so the index.html is being looked up you'll want to double check that in your app.

For any other help I would contact the 3rd party library vendor you are using in your app.

NSURLConnection finished with error - code -1100
 
 
Q