Issue:
During build, you encounter an error like this:
ld: 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.
Possible solutions:
You can either try enabling Bitcode for the App, or disabling it for the target that gets this error.
To enable Bitcode for your app build, you can follow these steps:
Open your Xcode project and select your app target.
Go to the "Build Settings" tab.
Search for "Enable Bitcode" in the search bar.
Set the value to "Yes" for both "Debug" and "Release" configurations.
To disable Bitcode for a specific target in your Xcode project, you can follow these steps:
Open your Xcode project and select the target for which you want to disable Bitcode.
Go to the "Build Settings" tab.
Search for "Enable Bitcode" in the search bar.
Set the value to "No" for both "Debug" and "Release" configurations.
Once you have made the changes, make sure to save and rebuild your app. Note that if you are submitting your app to the App Store, Apple requires that you include Bitcode in your app binary.