I make app with 3d library iOS-Charts. But I get the error bitcode bundle could not be generated because was built without full bitcode. from today widget. I installed it with help Carthage and I did all the instructions. I do not know how can I fix it? I made the following screenshot from today widget target.
Enable bitcode Bitcode is an Apple technology that enables you to recompile your app to reduce its size. The recompilation happens when you upload your app to App Store Connect or export it for Ad Hoc, Development, or Enterprise distribution.
For iOS apps, bitcode is the default, but optional. If you provide bitcode, all apps and frameworks in the app bundle need to include bitcode. For watchOS apps, bitcode is required.
Enabling bitcode on a Flutter appClick on Runner, and then build settings. Ensure that all build settings are visible. Search for bitcode , and change it to Yes . Ensure this is done for all targets, including any targets created by the Cocoapods for plugins.
Please try to change Enable Bitcode to No in Build Settings.
I found one possible cause is if you are using CocoaPods and the dependencies are not being compiled using bitcode.
I added this to my Podfile
to fix it.
post_install do |installer|
installer.pods_project.build_configurations.each do |config|
config.build_settings['BITCODE_GENERATION_MODE'] = 'bitcode'
config.build_settings['ENABLE_BITCODE'] = 'YES'
end
end
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With