bitcode bundle could not be generated because iOS Charts bitcode bundle could not be generated because iOS Charts xcode xcode

bitcode bundle could not be generated because iOS Charts


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

enter image description here


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'  endend


Please check this SO thread and see if adding the -fembed-bitcode flag in build settings works for you.

iOS library to BitCode