folly: Folly DistributedMutex using unavailable methods.

Using the latest XCode beta with a React Native app, Folly is failing to build due to an unavailable method being called within DistributedMutex-inl.h, as shown below.

image

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Reactions: 18
  • Comments: 16 (4 by maintainers)

Commits related to this issue

Most upvoted comments

Xcode 12.5 has been released. Is there a workaround for this? I can’t build anything right now 😬 After a prompt last night upgraded my iPhone to iOS 14.5, and was subsequently forced by Xcode to upgrade to 12.5 today, now I can’t work at all

Happy to help where I can but don’t know my way around the RN codebase particularly well, it’s pretty daunting!

Edit: If anyone else comes across this, looks like a fix has been pushed but not released yet. Workaround in the meantime - https://github.com/facebook/flipper/issues/2215#issuecomment-827422023

Apologies for addressing this a bit late. We have a potential fix, working on it…

Manually editing the Flipper-Folly pod file just pushes the compile error onto a subsequent Flipper pod, and does not fix the issue for me 😦 When I try to disable Flipper in the podfile, I get this when trying to build the app:

CompileC /Users/alex.hooper/Library/Developer/Xcode/DerivedData/Espresso-brgntaoyjolqyfdzcsunjlqtzzum/Build/Intermediates.noindex/Espresso.build/Debug-iphoneos/Espresso.build/Objects-normal/arm64/AppDelegate.o /Users/alex.hooper/Documents/figloo-bank-mobile/ios/Espresso/AppDelegate.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler

So I’m pretty stuck right now, any suggestions massively appreciated as I think a lot of people are in this situation.

React Native builds are also broken because of this.

@Orvid Like we said it’s not a commit it’s the Xcode Beta itself that breaks this.

Happening for me too. Please address this. Xcode release is coming out like tomorrow.

Upstream flipper podspecs should be updated.

Now facing this issue, commenting out flipper post install portion does not work for me. Started happening after I upgraded Xcode this morning.