As you all know, Xcode 14 turned off the bitcode option, so I disable it in the Podfile
target.build_configurations.each do |config|
config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
config.build_settings.delete 'TVOS_DEPLOYMENT_TARGET'
# fix for Xcode 14
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
end
But when I use Xcode 13.4.1 to do build project, the following error occurred
ld: 'path/Staging-iphoneos/PromiseKit-iOS/
PromiseKit.framework/PromiseKit' does not contain bitcode.
You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. file 'path/PromiseKit-iOS/PromiseKit.framework/PromiseKit' for architecture arm64
As you all know, Xcode 14 turned off the bitcode option, so I disable it in the Podfile
But when I use
Xcode 13.4.1
to do build project, the following error occurredHow can I fix it ?