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
This error may also occur if you open the project using Xcode after used the live debugging with the emulator
ionic cordova emulate ios --livereload -lc
To solve the issue, close Xcode and build the project again using
ionic cordova build ios
Then build and run using Xcode.
I found a solution, i hope it helps: https://github.com/glebmachine/cordova-plugin-ionic/commit/7c095a45a13f7349e93f14a3057153775109f635
To install from my fork:
cordova plugin add https://github.com/glebmachine/cordova-plugin-ionic.git#v4
I have run the server and simulator and again am trying to update the app on the device.
Then I had the same problem
I stoped my simulator and re builded the app and opened the project.xcodeproj file with Xcode and run it on the device.This worked for me
I had the same problem.
I opened the ios project in the platform folder via Xcode, but I forgot that the codebase in the Xcode folder was not up to date and therefore broken.
To get the new code in your Xcode project use the command:
ionic cordova prepare ios
If your problem is rooted in the same as mine this should help.
In our case (under IONIC 5) the entry
"server": {
"url": "http://192.168.0.6:8100"
}
in the file "capacitor.config.json" had to be deleted. Afterwards the app ran smoothly on mobile devices.
I had the same issue, reinstalling the cordova-plugin-ionic-webview worked for me.
cordova plugin rm cordova-plugin-ionic-webview
cordova plugin add cordova-plugin-ionic-webview