-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Xcode Simulator not found when running ios from a new Ignite project #1401
Comments
Looking at RN local-cli/runIOS/runIOS.js it executes |
If I call If I do the same in the basic react-native project folder I get a different simulator, as specified, every time. |
+1 |
If you run
|
Do you have the XCode commandline tools installed? |
Yes command line tools installed. Works fine with react-native tool direct. |
Okay, can you either check the output for the actual error (it's usually 20-50 lines up) or open the project in XCode and try building it to see what error it returns? |
On
If I run on Xcode it gets 52 errors on the issues panel:
|
I saw someone mention on another thread that the simulator names have changed in the latest version of XCode, not sure if that's related or not. I've never seen the error you're getting. |
I mentioned in comment 2 the simulator names work fine from the non Ignite project folder. I also get the same build error as @cassianomon above. |
This was mentioned in the Slack. Looks related to facebook/react-native#24196 and infinitered/ignite-bowser#164 |
Keep in mind, Ignite doesn't always use the latest RN version, so that could easily be the source of discrepancies between vanilla and Ignite, particularly when there are tooling changes and the fixes are only included in the bleeding-edge versions. |
Should we open a new issue for the error after resolving simulator one? |
I'm working on this (as well as the other errors reported). Thanks everyone for helping out! |
The problem with |
The latest version of Bowser (3.2.0) seems to fix this issue. Please re-try:
Note that the feature generating Detox tests is currently broken; that's next on my list to work on. |
With bowser it worked fine but with andross it still having the issue, should I open a new issue? |
I thought the CLI tool would be where the simulator issue would have been. Strange. |
New issue opened on the boilerplate project - infinitered/ignite-andross#263 |
The fix appears to be upgrading to 0.59.0. |
@jamonholmgren just upgrading the RN version doesn't resolve the build fail that @cassianomon mentions earlier in comment #1401 (comment) |
@budda FYI the Detox issue should be fixed on the latest Ignite CLI,
I believe all outstanding major issues are fixed for Bowser. Andross still has an issue with its plugins and I'll work on that when I have time. |
Assume you mean |
@budda Yarn is still faster for most things, yeah. I use it almost exclusively, but we do try to support both (albeit not for Ignite's source code itself). (And good catch, I did mean 3.0.0-beta.3) |
What's going on?
A default macOS Simulator doesn't open when running ios project if the project is created with Ignite CLI.
If i generate the same base project with react-native then it does open the default iPhone X simulator.
Steps to reproduce
I created a project with
react-native init awesome
and then ran it with
react-native run-ios
and the Simulator opened and showed the app.
I created a project with
ignite n awesomeIgnite
and then ran it with
react-native run-ios
and no Simulator opens. An error instead:
ignite doctor
results:I don't have Yarn installed :)
The text was updated successfully, but these errors were encountered: