-
Notifications
You must be signed in to change notification settings - Fork 905
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
react-native run-ios
build failure on XCode 12.5 beta
#1365
Comments
Try this
use_flipper!({ 'Flipper-Folly' => '2.3.0' })
|
@bsk26 , did you ever find a solution to this? |
I ended up removing flipper since we were hardly using it. |
@bsk26 ,did you have other way ? I remove flipper , but not working. |
Hi all, is there any solution to this? I'm experiencing the exact same problem |
This might be the weirdest thing ever, but it worked for me. I figured out that creating a project within a folder that contains a space i.e. ~/Documents/My Projects was the problem. When creating a project in a directory that has no spaces i.e. ~/Documents/Projects, you can run the project on both iOS and Android with no errors at all. |
Seeing the same issue on 14.5... any ideas on how to fix this? |
+1 |
2 similar comments
+1 |
+1 |
Hello, This is now an issue with Xcode 12.5 final, released today... Can't build my app anymore, any workaround ? |
+1 XCode Final version 12.5 react-native 0.61.5 |
This is a Flipper-Folly issue. facebook/folly#1527 another workaround facebook/flipper#2215 (comment) |
Since my project has other packages like Firebase that rely on Flipper (I believe) removing it did not work. The workaround I'm using for now is to use XCode 12.4. |
Got this issues after upgrade XCode to 12.5. Any workaround for this issue? |
same here, react native no longer working after updating to XCode 12.5 |
build failure on XCode 12.5 , any workaround |
Same issue on XCode 12.5 really frustrating. facebook/flipper#2215 (comment) worked as a workaround for me. |
I'm facing the same problem, but my RN version is .62 so its not related with flipper |
I've got the same issue with XCode 12.5 and RN 0.61.5 |
|
Try to upgrade to 0.64.1: https://github.com/facebook/react-native/releases/v0.64.1 |
Solved to me! |
to other versions -> facebook/react-native#31480 |
This might not be the weirdest thing at all. As it turns out, I had a space in my project path at some point. Let's consider this folder for my project:
After trying to get the app to compile
So I indeed renamed my My Xcode update happened to while I was also updating React Native. Maybe it is relevant, maybe not, but another thing I did is actually pay attention to the changes in the As it turns out, some Hope this can help someone! |
Modify the func at line 746 in RCTCxxBridge.mm from
|
perfect! |
可以解决,谢谢 |
There hasn't been any activity on this issue in the past 3 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 7 days. |
Ask your Question
I'm getting a build error while attempting to test our
react-native
app in XCode 12.5 beta. Apologies if this is inappropriate but it appears to be a real issue.I'm running
"react-native": "0.62.2"
(however, it doesn't appear this is fixed in the lastest stable release)It looks like this exact issue was fixed in facebook/react-native#28362, which is part of 0.63+. This PR indicates it was fixed for Clang 10 but as far as I can tell the clang/llvm version hasn't changed between 12.4 and 12.5. The app builds correctly when using 12.4 command line tools but not 12.5 beta command line tools (configured via XCode preferences).
The build error (with compiler):
The stack trace is as follows,
The text was updated successfully, but these errors were encountered: