NSURLErrorDomain error -999, App stuck on white screen

I have created an ios app using Ionic framework. it runs well on browser. and also ionic Cordova emulate -l runs well. but when I build in Xcode and run on simulator it stucks on white screen after splash screen.

here is given console output of Xcode


2019-06-03 15:02:53.553535+0600 Spice FM[2538:24190] Apache Cordova native platform version 5.0.1 is starting.
2019-06-03 15:02:53.553920+0600 Spice FM[2538:24190] Multi-tasking -> Device: YES, App: YES
2019-06-03 15:02:54.174495+0600 Spice FM[2538:24190] Using UIWebView
2019-06-03 15:02:54.176032+0600 Spice FM[2538:24190] [CDVTimer][console] 0.078082ms
2019-06-03 15:02:54.176408+0600 Spice FM[2538:24190] [CDVTimer][handleopenurl] 0.067949ms
2019-06-03 15:02:54.180026+0600 Spice FM[2538:24190] [CDVTimer][intentandnavigationfilter] 3.506064ms
2019-06-03 15:02:54.180416+0600 Spice FM[2538:24190] [CDVTimer][gesturehandler] 0.095010ms
2019-06-03 15:02:54.216312+0600 Spice FM[2538:24190] [CDVTimer][file] 35.567999ms
2019-06-03 15:02:54.216512+0600 Spice FM[2538:24190] [CDVTimer][TotalPluginStartup] 40.629983ms
2019-06-03 15:03:02.330172+0600 Spice FM[2538:24190] Resetting plugins due to page load.
2019-06-03 15:03:03.125107+0600 Spice FM[2538:24190] Failed to load webpage with error: The operation couldn’t be completed. (NSURLErrorDomain error -999.)
2019-06-03 15:03:03.134083+0600 Spice FM[2538:24190] Resetting plugins due to page load.
2019-06-03 15:03:08.341296+0600 Spice FM[2538:24463] NSURLConnection finished with error - code -1100
2019-06-03 15:03:08.348086+0600 Spice FM[2538:24463] NSURLConnection finished with error - code -1100
2019-06-03 15:03:08.353145+0600 Spice FM[2538:24463] NSURLConnection finished with error - code -1100
2019-06-03 15:03:08.355084+0600 Spice FM[2538:24464] NSURLConnection finished with error - code -1100
2019-06-03 15:03:08.356698+0600 Spice FM[2538:24464] NSURLConnection finished with error - code -1100
2019-06-03 15:03:08.359149+0600 Spice FM[2538:24464] NSURLConnection finished with error - code -1100
2019-06-03 15:03:08.439081+0600 Spice FM[2538:24190] Finished load of: file:///Users/anis/Library/Developer/CoreSimulator/Devices/60B9C1BC-6DB2-4C34-AE00-5E8011A6C72D/data/Containers/Bundle/Application/1817B7BA-3077-433F-B098-4BBC7000258E/Spice%20FM.app/www/index.html




My Plist file is


  CFBundleDevelopmentRegion
  en_US
  CFBundleDisplayName
  Spice FM
  CFBundleExecutable
  $(EXECUTABLE_NAME)
  CFBundleIdentifier
  $(PRODUCT_BUNDLE_IDENTIFIER)
  CFBundleInfoDictionaryVersion
  6.0
  CFBundleName
  $(PRODUCT_NAME)
  CFBundlePackageType
  APPL
  CFBundleShortVersionString
  3.0.1
  CFBundleSignature
  ????
  CFBundleVersion
  3.0.1
  LSRequiresIPhoneOS
  
  NSMainNibFile
  
  NSMainNibFile~ipad
  
  UIRequiresFullScreen
  
  UISupportedInterfaceOrientations
  
  UIInterfaceOrientationPortrait
  UIInterfaceOrientationPortraitUpsideDown
  
  UISupportedInterfaceOrientations~ipad
  
  UIInterfaceOrientationPortrait
  UIInterfaceOrientationPortraitUpsideDown
  
  NSAppTransportSecurity
  
  NSExceptionDomains
  
  localhost
  
  NSExceptionAllowsInsecureHTTPLoads
  
  
  
  NSAllowsArbitraryLoads
  
  
  UIInterfaceOrientation
  
  UIInterfaceOrientationPortrait
  
  UILaunchStoryboardName
  CDVLaunchScreen
  NSLocationWhenInUseUsageDescription
  We use your location for full functionality of certain app features.




I didn't find any solution of this error code -999. Would you please clarify me what was that error and what should I do?



Thanks in advance

NSURLErrorDomain error -999, App stuck on white screen
 
 
Q