Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

bitcode bundle could not be generated because iOS Charts

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. enter image description here

like image 205
Alexander Khitev Avatar asked Jan 07 '16 22:01

Alexander Khitev


People also ask

What does enable Bitcode do iOS?

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.

Should I include Bitcode for iOS content?

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.

How do I enable Bitcode in flutter?

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.


2 Answers

Please try to change Enable Bitcode to No in Build Settings.

enter image description here

like image 119
Tharoth Avatar answered Oct 04 '22 02:10

Tharoth


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
like image 32
Gui Moura Avatar answered Oct 04 '22 01:10

Gui Moura