'React Native: 'shared_timed_mutex' error despite upgrading iOS deployment target

I'm getting the following error when I try to build my React Native project:

enter image description here

Based on other posts, I tried to set the deployment target to 10.0 using this code in my Podfile:

post_install do |installer|
  # react_native_post_install(installer)
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0'
    end
  end
end

and I manually set it in XCode here:

enter image description here

I still get the same error. Is there something I'm missing?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source