-
Notifications
You must be signed in to change notification settings - Fork 2
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
Failure to launch: iOS simulator #23
Comments
I'm having this same issue with adding cordova to a donejs app. I tried creating a Cordova build separately, using their CLI, and was able to use the new commands to launch apps (I think the CLI API has changed). The new commands are here: https://gist.github.com/marshallswain/e9088589bfca88c43179ad588569cb7d I haven't gone back to check if these new commands work with a DoneJS app. |
The error that I get with a new DoneJS app is this
|
I tried
I think this steal-cordova must be running an older version of Cordova than the latest one I used in with the Cordova CLI. Update: ok, maybe not. It looks like steal-cordova uses the latest version from npm: https://github.com/stealjs/steal-cordova/blob/master/package.json#L30 |
Looking further into this error:
stealTools.build is returning undefined if(buildCordova) {
buildPromise.then(config => {
console.log(config) // undefined, undefined
// stealCordova.build(config)
})
// .then(stealCordova.ios.emulate);
} |
The problem seems to be here: https://github.com/stealjs/steal-bundler/blob/master/lib/inferred.js#L27 We're looping with |
I'll take a look, thanks. |
@pYr0x Fixed it so that steal-bundler returns the buildResult always... I think maybe I just need to do a release. |
Thanks, @matthewp. Please let me know. We need this for a client we're starting tomorrow. |
Just released steal-bundler 0.3.3, let me know if that fixes your issue. |
Woops, actually the version number is wrong, let me try again. |
Ok, 0.3.4 is the number. |
@matthewp that fixed the issue that I was having. Thanks! Now I've graduated to having the same issue as @BigAB's first comment. This does seem to be a Cordova issue, as the list of iOS devices is empty when I I'm able to work around it by opening the project's workspace file in XCode and running the build from there: |
To solve this problem you only have to go to platforms/ios/cordova and execute this command: Best, |
@sanylop not working |
@fayme |
Not sure where the actual root of the problem is, whether it's x-code 9, or the lates ios-sim version or what, but when trying to launch the demo from this repository:
output
...and no simulator launches.
This is the same error i get when running the DoneJS Cordova build (
donejs build cordova
) as well, so currently the guides are not working fully on iOS.Here is an ios-sim issue possibly related:
ios-control/ios-sim#218
The text was updated successfully, but these errors were encountered: