Closed shazron closed 5 years ago
@Adza93 the issue about Safari debugging not in sync with iOS 12.2 has been resolved by Apple with the latest macOS update 10.14.4 which contains the Safari update to version 12.1
For global install of @next, the version should be:
$ ios-sim --version
ios-sim/9.0.0-dev.4 darwin-x64 node-v8.15.1
I received this error:
Error: ENOENT: no such file or directory, stat '/Users/baothienpham/Library/Logs/CoreSimulator/ACD306CC-304E-47BC-8354-DC397C547C6A/system.log'
I also did install ios-sim@next
.
@baotpham context? this happened after running which command
@shazron I ran
cordova emulate ios --debug --target "iPhone-X,com.apple.CoreSimulator.SimRuntime.iOS-12-2" --buildFlag='-UseModernBuildSystem=0'
and
cordova emulate ios --target="iPhone-X"
thanks for the help!
Thank you for your great support @shazron !
Everything is working fine now (as before the Xcode update)
quasar dev -m cordova -T ios
opens a default simulator as expected.
Thank you for your hard work @shazron! :)
One snafu -- the ios-sim CLI now requires node 8
. cordova supports node 6
and above, so it might be one source of problems. There is one place where I'm using the object spread
operator, I'll have to find an alternative for node 6
so it runs in cordova
with node 6. The joys of backward compatibility!
Looks like ios-sim 9
will not be compatible for Cordova if you have node 6
. Thus I'm also preparing a ios-sim 8.x patch release
as well for Cordova.
Preparing an 8.0.1
release. Also I realize that my workaround instructions were faulty. It should be:
For the workaround, try in the root of your cordova app after each time the ios platform is added:
cd platforms/ios/cordova
npm install ios-sim
Note that only do this once I release the 8.0.1 patch
@shazron No success in 2020. Please check this one.
ios-sim version ios-sim/9.0.0 darwin-x64 node-v13.12.0
Cordova version 10.0.0
Cordova iOS platform version ios 5.1.1
I tried this cmd
sudo cordova emulate ios --debug --target "iPhone-SE--2nd-generation-, 13.5" --buildFlag='-UseModernBuildSystem=0'
Check the attached error image also.
Any hack to get over this error. Just tired of launching the app from Xcode every time : (. Thanks in advance. Let me know if you need anything.
See related #234