Wappler Version : 3.3.2
Operating System : mac
Expected behavior
When using an iOS emulator, it should always open and run:
exec: npx cordova run ios --target iPhone-11, 13.7 --debug --nobuild --buildFlag=-UseModernBuildSystem=0
Emulating your Cordova Project for ios ...
Overwriting existing resource file at platforms/ios/PopDish/Resources/GoogleService-Info.plist
Deploying to simulator
Running command: /Users/pauka/WapplerProjects/foodie_mobile/node_modules/ios-sim/bin/ios-sim launch /Users/pauka/WapplerProjects/foodie_mobile/platforms/ios/build/emulator/PopDish.app --devicetypeid com.apple.CoreSimulator.SimDeviceType.iPhone-11, 13.7 --log /Users/pauka/WapplerProjects/foodie_mobile/platforms/ios/cordova/console.log --exit
[ios-sim] device.name: iPhone 11
[ios-sim] device.runtime: iOS 13.7
device.id: 19089C4A-82FD-42D7-8ADA-AA175C9F6AE7
[ios-sim] Simulator already running.
[ios-sim] io.popdish.mobileapp: 24432
[ios-sim] logPath: /Users/pauka/WapplerProjects/foodie_mobile/platforms/ios/cordova/console.log
Simulator successfully started via `ios-sim`.
ios emulate successfully!
Actual behavior
If a physical device is connected when running the iOS Simulator from the editor, the process hangs:
exec: npx cordova run ios --target iPhone-11, 13.7 --debug --nobuild --buildFlag=-UseModernBuildSystem=0
Emulating your Cordova Project for ios ...
Overwriting existing resource file at platforms/ios/PopDish/Resources/GoogleService-Info.plist
Running command: ios-deploy -c -t 1
[....] Waiting up to 1 seconds for iOS device to be connected
[....] Found 0793b066c73845459a3803fa466c9d24b29d3fbd (N71mAP, iPhone 6s, iphoneos, arm64) a.k.a. 'KRT iPhone 6s' connected through WIFI.
[....] Found 0793b066c73845459a3803fa466c9d24b29d3fbd (N71mAP, iPhone 6s, iphoneos, arm64) a.k.a. 'KRT iPhone 6s' connected through USB.
Running command: unzip -o -qq /Users/pauka/WapplerProjects/foodie_mobile/platforms/ios/build/device/PopDish.ipa
Deploying to device
Running command: ios-deploy --justlaunch -d -b /Users/pauka/WapplerProjects/foodie_mobile/platforms/ios/build/device/PopDish.app -i iPhone-11, 13.7
[....] Waiting for iOS device to be connected
Skipping 0793b066c73845459a3803fa466c9d24b29d3fbd (N71mAP, iPhone 6s, iphoneos, arm64) a.k.a. 'KRT iPhone 6s'.
Skipping 0793b066c73845459a3803fa466c9d24b29d3fbd (N71mAP, iPhone 6s, iphoneos, arm64) a.k.a. 'KRT iPhone 6s'.
How to reproduce
Connect physical iPhone to computer while running iOS Simulator
Community Page
Last updated:
Last updated: