cordova-plugin-disable-bitcode

Disable bitcode in iOS build settings

Usage no npm install needed!

<script type="module">
  import cordovaPluginDisableBitcode from 'https://cdn.skypack.dev/cordova-plugin-disable-bitcode';
</script>

README

cordova-plugin-disable-bitcode

Cordova plugin to disable bitcode in iOS build settings.

Why this plugin ? Bitcode is not supported in every Cordova plugins and if you're using one of these, you will get something like the following error :

You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain
an updated library from the vendor, or disable bitcode for this target.
for architecture arm64 clang: error: linker command failed with exit code 1

:warning: It's not a solution to disable this setting but a workaround waiting for all your plugins updates.

:warning: This plugin should also work with legacy Cordova versions, if it's not the case please do not hesitate to create an issue :)

Installation

cordova plugin add cordova-plugin-disable-bitcode --save

License

Apache-2.0 © Alexis Kofman