Max Krasnov
Full Stack Software Engineer
React Native project build failed in Xcode 12.5
My React Native project stopped building after auto update Xcode to 12.5 version.
Build error message:
<project>/ios/Pods/Headers/Private/Flipper-Folly/folly/synchronization/DistributedMutex-inl.h:1051:5: 'atomic_notify_one<unsigned long>' is unavailable
I found solution in here.
Solution:
- Open
<project>/ios/Pods/Flipper-Folly/folly/synchronization/DistributedMutex-inl.h
- Find
atomic_
constructions, and replace tofolly::atomic_
, example:atomic_notify_one(state)
replace tofolly::atomic_notify_one(state)