-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
[0.75] The project cannot be successfully installed into the ios emulator - iOS build takes too long and never finishes #46352
Comments
|
|
I have same problem. They should help us. I think React native 0.75.2 version has bug for ios. #46380 |
@cipolleschi Hi,the first
the second ,I executed the above command, and then re-installed the pod successfully, but the Therefore, you may also need to help look at why the new version of yarn ios construction will be problematic, or every time some from xcode construction, slightly troublesome |
Related to #46380 |
still ı have problem. |
I have updated my environment to the latest xcode 15.4 and iOS 17.5, this issue is gone. But don't know what happened.... Maybe some configs are reset? 🤔 |
I have also updated xcode to lates version but it didn't resolve the issue |
After following the RN upgrade helper from 0.73 -> 0.75, I had the same issue. One of the updates had me delete the file: react-native.config.js from the project which resulted in this error. Only after restoring react-native.config.js did the build then work. |
I had the same issue :( |
I had the same issue ... |
@hieuminh1810 @kvjp2209 have you tried the solution suggested by @davidmartindev here: #46352 (comment) ? |
I'm having the same problem. “GatherProvisioningInputs” does not pass here even though I wait 20-30 minutes. The profiles I created through Apple Developer are added to the application through Xcode. |
@ugurdalkiran Hey 🙌 Have you tried what I mentioned, I had exactly what you experience. |
There is no react-native.config.js file in my project. |
@zhaohongbo910 in your steps to reproduce you've written:
Can you confirm exactly how you're bootstrapping a React Native application? |
QuestionCan folks who are affected please try calling To find the correct arguments run
Control:Run the command exactly as above. In my case it is:
Question: Does this freeze? Variable:If the control freezes, does adding
Question: Does this freeze? Notes:I can't reproduce this locally in my environment. I've tried with:
$ npx react-native@latest init RNRepro # or npx [email protected] init RNRRepro
...
$ cd RNRepro/ios
$ bundle install
$ USE_HERMES=1 bundle exec pod install
$ cd ..
$ yarn run ios --verbose
... I'm using:
|
@ugurdalkiran to unblock you while we're figuring out if this is an issue we can reproduce, the simplest thing for you would be:
In your example: open ./ios/t.xcworkspace |
From what I'm seeing here, this is an Xcode issue folks are having with their provisioning profiles. We could ask the CLI folks to look at adding the But I don't think this is a |
@blakef this is happening in 0.75... aren't we using our new scripts, rather than deferring to the cli? 🤔 |
@ugurdalkiran adding the parameter is not enough, I believe. The CLI must handle the parameter in the code and I believe that that code is not there yet. |
For me, upgrading Xcode to version 16.0 solved this problem. 🥲 |
Im my case, upgrading xcode to 16.0 doesn't help. I have also tried to upgrade RN to 0.75.4. Problems still exists |
@JedrekDabrowski could you try and build from Xcode? |
@cipolleschi I have tried before and now, it doesn't solve the issue |
@JedrekDabrowski can you show what's happening on Xcode? I don't think that Xcode is hanging. It should either keep building or failing with an error. |
@cipolleschi
|
@JedrekDabrowski Can you try to debug the AppDelegate and RCTAppDelegate to understand what's going on? Another question: are you perhaps using a Spalshscreen/Bootscreen library? Can you verify that the JS method to dismiss the splashscreen is invoked? Otherwise, I have to ask you to create a minimal reproducer using this template, because otherwiase I don't have a way to help you out here. I'm using Sequoia and Xcode 16.1 and for me everything is working. |
Description
I created a new react-native project using
npx create-natice@latest init native752
, using version 0.75.2, but after creating it, I followed the instructions and performed the dependencies installation successfully. But after theyarn ios
executes, after opening the 8081 service of Metro v0.80.11, the output isBuilding the app......
And then it stays that way for a long time with no change.Steps to reproduce
1、
npx create-natice@latest init project
2、
yarn ios
3、failed to install to ios emulator
4、I tried to add parameters to
yarn ios --verbose
to save the complete execution record as a log record5、Stacktrace or Logs Detailed logging of reasons
React Native Version
0.75.2
Affected Platforms
Runtime - iOS
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/react-native-community/reproducer-react-native/
Screenshots and Videos
The above warehouse can reproduce the problem I mention
The text was updated successfully, but these errors were encountered: