ionic Failed to load webpage with error: Could not connect to the server

前端 未结 8 1782
无人及你
无人及你 2021-02-03 18:20

I\'m having an issue with Ionic projects after updating to Xcode 6 and iOS 8.

When trying to run projects I get the following error in Xcode:

Failed to l         


        
8条回答
  •  孤独总比滥情好
    2021-02-03 19:09

    I had this same issue using XCode9.3 and ionic3. Turns out that the issue was caused by missing configurations in "config.xml" needed for WKWebview to function properly. I added the following snippet to my config.xml, before deleting the "platforms/ios" folder and running "ionic cordova build ios --prod" again.

     
        
            
        
        

    See link here for a more detailed explanation from the ionic team.

提交回复
热议问题