-
Notifications
You must be signed in to change notification settings - Fork 646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No target specified for emulator. Deploying to iPhone-SE, 10.3 simulator #2487
Comments
You are on an outdated version of app-scripts. Please run If the error persists please run the same command without (If the error persists this is probably a Cordova bug, which is used internall by Ionic, but that also means Ionic can do nothing about.) |
@janpio I have done the steps which you have mentioned.But no luck yet.Please see it.Thanks. This is the error without
ionic info now
|
@janpio But this is working fine |
Yeah, the "target" command seems to break for some reason. |
Yes i get the same issue in ionic 3 somehow --target flag not working. @janpio i try with --verbose flag as well but issue still persist. |
@janpio I have already done that and please see my 2nd comment above.I have put the |
@Sampath-Lokuge No you didn't, you ran "ionic cordova ... --verbose" which is different than directly "cordova ... --verbose" and could give you additional output. @navin10sharma Did you run the |
Just found this: Are you both testing with newest XCode? |
I have the same issue |
cordova run ios --target="iPhone-6, 10.3" --verbose gives me in summary:
|
Same question as I asked the other ones: |
I have this problem with Xcode 8.3.3 Latest version without even specifying a target too Error: Cannot read property 'replace' of undefined `
local packages:
System:
` |
If I run
I have this error:
INFO: ionic/cli-utils : 1.10.2 global packages:
local packages:
System:
|
I'm having the same problem, however if I remove the version as Michael suggested here, then I am able to deploy to the Simulator again.
To
Unfortunately this doesn't let me choose between iOS 10.3 and 11.0 but at least can still deploy again. I have a hunch the comma or whitespace is causing the issue, perhaps the target being passed on to Cordova isn't getting wrapped in quotes? |
If you run the following and get no devices (as shown):
This is likely due to Ionic specifying old ios-sim version 4.4.0 instead of the latest 4.5.0: https://stackoverflow.com/questions/46328873/error-run-on-ios-emulator-after-update-to-ios-11-ionic-3 I was able to fix this by following the directions in the SO answer:
And since the latest cordova removed the console plugin: https://stackoverflow.com/a/46344099/457935
Then everything compiled and deployed from the command line. |
Thanks a lot. It is working fine now :) @saschwarz |
Bug:
I have tried to run
Ionic 3
app on Mac machine.No build errors and working fine onSimulator
.But I need to test it onEmulator
hence I need to test theNative status bar
plugin.Note: I don't have an iOS device.Hence I'm using rented cloud Mac machine and try to test the iOS status bar implementation.
I have used this cli command:
> ionic cordova run ios
and this too
ionic cordova emulate ios
same issue.Error:
No target specified for emulator. Deploying to iPhone-SE, 10.3 simulator
When I run the
> cordova run --list --emulator
on Mac machine it shows huge list of emulators as like :I have run this:
ionic cordova run ios --target="iPhone-6, 10.3"
It gives this error.
The text was updated successfully, but these errors were encountered: