There are certain times when you may need to disable Bitcode for your iOS app build process for certain plugins you are using. Because of how `npx cap sync ios` works, just turning off bitcode compiling in XCode will get overwritten each time. Instead you need to update your podfile by adding the following code to `ios/App/Podfile`
# BITCODE bug fix
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
end
end
This will disable bitcode for your Capacitor application builds.
Comments
0 comments
Article is closed for comments.