This issue for me was caused by including the framework in the bundle. Ie, I was copying the .framework file into the app bundle. This isn't necessary as the framework is statically linked against the main app binary.
Most likely, you have a folder containing the .framework that you copied into your project (like an "external" or "ThirdParty"). That folder should not have membership to any target.
![Target should not be set](https://i.stack.imgur.com/n3Epe.png)
In your Frameworks folder itself, should be the actual .framework file with target membership for your app and "Required"
![Target should be set](https://i.stack.imgur.com/D2XT5.png)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…