React Native 0.64 won't build iOS app after updating Xcode to 12.5 and iOS to 14.5

11

After upgrading Xcode to 12.5 and iOS to 14.5, I can't run the iOS app on a real device nor in the simulator.

After running npm run ios, I get this message:

The following build commands failed:
        CompileC .../Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper-Folly.build/Objects-normal/x86_64/DistributedMutex.o /Users/guilherme/Documents/Dood/ios/Pods/Flipper-Folly/folly/synchronization/DistributedMutex.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler

If I try to run the app on a real device using Xcode, this is the error I get (related to Flipper-Folly):

.../ios/Pods/Headers/Private/Flipper-Folly/folly/synchronization/DistributedMutex-inl.h:1051:5: 'atomic_notify_one<unsigned long>' is unavailable

Ideas? Thanks!

Share
Improve this question
5
  • I'm experiencing the same issue, across different react native apps as well. – Erik 2 days ago
  • There are few temporary workarounds regarding the macOs 11.3 update in React native's github github.com/facebook/react-native/issues/31179 – Andris Laduzans 2 days ago
  • Same issue here. I guess we will have to wait for a fix – jvence yesterday
  • Question for anyone, how is it possible that this failure started happening all of a sudden without any change on my workstation? On Monday yarn run ios was building fine. On Tuesday I ran the same command and got this error. – GladstoneKeep yesterday
  • Remove "use_flipper!()" in Podfile or make comment. > pod install > run. – Ian Cho yesterday

Comments

Popular posts from this blog

Meaning of `{}` for return expression

Get current scroll position of ScrollView in React Native

flutter websocket connection issue