-
Notifications
You must be signed in to change notification settings - Fork 24.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
React Native BUILD FAILED on run-ios #26118
Comments
Thanks for submitting your issue. Can you take another look at your description and make sure the issue template has been filled in its entirety? 👉 Click here if you want to take another look at the Bug Report issue template. |
Can you run If you believe this information is irrelevant to the reported issue, you may write `[skip envinfo]` alongside an explanation in your Environment: section.
|
I struggled to build react native project in iOS with this issue. And I did build after following processes.
After I faced the issue, I try to build the project in another Mac and work fine. And I found the every error is from |
I am closing this issue because it does not contain the necessary environment info, and there has been no followup in a while. If you found this thread after encountering the same issue in the latest release, please feel free to create a new issue with up-to-date information by clicking here. |
Experiencing the same behavior. it is the raw basic usage from react-native cli and basic react-native run without a single line of code. Steps
Results
react-native info
|
This solution might help you out. |
Ok, I got it. Had issues setting-up a new project after not using React-Native for a lot of time. My system: macOS High Sierra 10.13.6 In other words: |
thx is work |
On Feb 8th 2021 still have this shitty error and everywhere is closed |
Having this error too |
Still facing this issue!! |
System: Error shown The following build commands failed: getting error by doing |
pod setupI'm having the same problem ** BUILD FAILED ** The following build commands failed: |
@saulo1212 try to replace |
@ubazinga replaced and tried, it also throws error but when I commented whole use_flipper part it worked fine, but don't know if it is the correct way. |
after change I'm having this error ** ARCHIVE FAILED ** The following build commands failed: |
I'm having the same issues. I've tried multiple projects and doing the pod removal and install suggested above with absolutely no luck. My xCode is up-to-date so I don't think downgrading react native as suggested above makes much sense. I'm really interested to hear if anyone figures out WHY this is happening. |
This gives me an answer
|
It's incredible that you need to reach this point to make it work, thank you. |
hello, I managed to solve my problem, sometimes it can work with you too, my pod was in version 1.10, I just returned to version 1.9, working normal so far. |
This worked for me as well. I had installed the sample project using the instructions on the React-Native website about 4 days ago, and when I went to build today using |
This worked for me too.. 👏🏻 |
thanks bro |
March 1st 2021 for me😢 |
Worked for me. Thanks a lot. |
Worked for me as well, thanks. |
Not all heroes wear capes. Thank you. |
I'm also getting this, how did you manage to make it work? |
thanks, dude.. u really saved my day |
this saved my day!! |
Dude... you rock!! |
It helped, thanks a lot! |
I've been looking for a solution for 2 hours and there's no freaking thing that works. if you wanna get around this just use another version instead of the latest react native version: |
tks you save my day =)) |
--> |
Same as me, seems to have re-appeared |
Thanks. Its works here! |
Same as me, seems to have re-appeared +1 |
Same as me, seems to have re-appeared +2 |
Same as me, seems to have re-appeared +1 |
Same +1 |
use_flipper!({ 'Flipper-Folly' => '2.3.0' }) and use_flipper!({ 'Flipper-Folly' => '2.5' }) didn't work for me. |
This one should help you: #31480 |
Thanks. Its works here! |
I followed the directions here without changing any files: https://dev.to/ravics09/setup-react-native-and-run-app-on-mac-m1-32kk The key seems to be running everything in a duplicated terminal running on Rosetta. |
Me too, did you find any solution? |
For me, the Podfile came with |
React Native version
System:
OS: macOS 10.14.6
CPU: (4) x64 Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
Memory: 249.73 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.13.0 - ~/.nvm/versions/node/v10.13.0/bin/node
Yarn: 1.12.3 - /usr/local/bin/yarn
npm: 6.4.1 - ~/.nvm/versions/node/v10.13.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.4, macOS 10.14, tvOS 12.4, watchOS 5.3
IDEs:
Android Studio: 3.4 AI-183.6156.11.34.5692245
Xcode: 10.3/10G8 - /usr/bin/xcodebuild
npmPackages:
react: 16.8.6 => 16.8.6
react-native: 0.60.5 => 0.60.5
npmGlobalPackages:
react-native-cli: 2.0.1
Steps To Reproduce
react-native init FirstNative
cd FirstNative
and runreact-native run-ios
react-native init TestNativeProject
cd TestNativeProject
andreact-native run-ios
Expected Behavior
Success of building the project
Result
The result is following error.
** BUILD FAILED **
The following build commands failed:
CompileC /Users/LeeMoonki/Desktop/FirstNative/ios/build/FirstNative/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Folly.build/Objects-normal/x86_64/Unicode.o /Users/LeeMoonki/Desktop/TestNativeProject/ios/Pods/Folly/folly/Unicode.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
To see the exact error, I run the workspace of this project in the Xcode(v10.3) then the following error is occurred.
The text was updated successfully, but these errors were encountered: