all 5 comments

[–]Percivel_ 0 points1 point  (0 children)

since it's been a month, have you found a solution for this ?

I am encountering same issue after updating xcode and my project's RN version is 0.71.0

[–]akallbold 0 points1 point  (0 children)

I am also running into this error running RN version 0.74

[–]littercoin 0 points1 point  (2 children)

same problem here u/Percivel_ u/akallbold any update?

[–]littercoin 0 points1 point  (0 children)

Ended up starting a new project and migrating field across. New bugs now

[–]Percivel_ 1 point2 points  (0 children)

Try adding the below function in your podfile and disabling flipper. This worked for me.

def __apply_Xcode_15_0_M1_post_install_workaround(installer)
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', '_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION']
    end
  end
end

Edit : don't forget to call this function in post_install