I am new to React Native. I am trying to build my app on my ios device. It is building fine in the emulator but whenever I try to do it on my ios device I am getting the following error (picture attached).
It used to build regularly on ios device. It stopped working after I installed firebase to it following the documentation,
https://rnfirebase.io/#3-ios-setup
Not sure but it might be a flipper issue with static libraries? But really struglling here on this for a few days. I even tried enabling and disabling the bitcode option in build setting and still the same error.
Seems like this is a problem with react native 0.69.1. The workaround ( as detailed here ) is to disable bitcode in xcode settings:
Then add the following to post_install in your podfile:
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
end
Make sure to comment out flipper as well
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.