We are also experiencing this issue when building with xcframeworks on an M1 Mac. Bitcode is enabled for the modules within the SDK that we are testing with. We are not able to replicate this issue on an Intel Mac.
By default, Xcode sets ENABLE_BITCODE to YES. We are able to consistently reproduce this issue, if we toggle this setting to NO and back to YES.
Steps to reproduce:
Clone the braintree_ios repo and build the Demo app
Toggle Demo Xcode project ENABLE_BITCODE Build Setting to NO
Build the project
Toggle back to YES
Build the project
See warnings similar to the ones posted above
When we ran the sample app on a device, these warnings/errors went away. We were also able to archive successfully.
There appears to be a Swift bug report about this also.
Post
Replies
Boosts
Views
Activity
We are also experiencing this issue when building with xcframeworks on an M1 Mac. Bitcode is enabled for the modules within the SDK that we are testing with. We are not able to replicate this issue on an Intel Mac.
By default, Xcode sets ENABLE_BITCODE to YES. We are able to consistently reproduce this issue, if we toggle this setting to NO and back to YES.
Steps to reproduce:
Clone the braintree_ios repo and build the Demo app
Toggle Demo Xcode project ENABLE_BITCODE Build Setting to NO
Build the project
Toggle back to YES
Build the project
See warnings similar to the ones posted above
When we ran the sample app on a device, these warnings/errors went away. We were also able to archive successfully.
There appears to be a Swift bug report about this also.