[iOS] Upgraded from 0.64.2 to 0.65.1 - RTC-Folly failed build
See original GitHub issueAfter I made the migration, I am getting this error in the ios build.
** BUILD FAILED **
The following build commands failed:
CompileC /Users/username/Library/Developer/Xcode/DerivedData/AppName-ajqemcdetclskwggzeuetwuikmht/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects-normal/x86_64/VirtualEventBase.o /Users/username/projects/appname/ios/Pods/RCT-Folly/folly/io/async/VirtualEventBase.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
After trying to run the build for the second or third time, I get this
** BUILD FAILED **
The following build commands failed:
CompileC /Users/username/Library/Developer/Xcode/DerivedData/AppName-ajqemcdetclskwggzeuetwuikmht/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RCT-Folly.build/Objects-normal/x86_64/TimeoutManager.o /Users/username/projects/appname/ios/Pods/RCT-Folly/folly/io/async/TimeoutManager.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Anything that can be done?
Edit: I did while upgrading other packages, but now, downgraded back to 0.64.2
and only had to downgrade react-native-reanimated
back to 2.2.0
and that was enough to get it back working.
Btw, I am on a M1 Macbook, but build is happening on AppCenter. Got the error in both locally and there.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top Results From Across the Web
M1 Mac react-native iOS build error (in target 'RCT-Folly' from ...
I ran into a similar issue when updating the project target OS version. ... version of react-native: npx react-native@0.64.2 init MyApp .
Read more >Upgrading a React Native app from 0.60 to 0.65 - YouTube
Jamon attempts to upgrade a React Native app from 0.60 to 0.65 with ... mixed results. -- Watch live at https://www.twitch.tv/jamonholmgren.
Read more >Upgrading a React Native App - Bionic Julia
This was an upgrade from version 0.63.3 to 0.65.1. ... run the build process for iOS and Android, see it fail, google the...
Read more >What's New in React Native 0.70 — How to Upgrade and Why ...
Most importantly, it adds more consistency between the iOS and Android build and development process, helping to fulfill the true promise of ...
Read more >Xcode Build error with React Nativ… | Apple Developer Forums
Xcode Build error with React Native “___cxa_increment_exception_refcount” ... error: linker command failed with exit code 1 (use -v to see invocation). iOS.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@dougg0k Replace your post_install function in Podfile with:
And also check this guide for setup build environment on Mac m1
Tried the fix mentioned in this thread and it didn’t work for
React Native version : 0.67 XCode version : 13