合作伙伴发来的framework集成到我们胖杂大的项目里面之后,打包上线,接着就报错了,见下图:很明显是 这个framework的原因
App Store Connect Operation Error
ERROR ITMS-90171: "Invalid Bundle Structure - The binary file 'ZhangFeiEncharge.app/Frameworks/QiBeiNewSDK.framework/QiBeiNewSDK' is not permitted. Your app can’t contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. Refer to the Bundle Programming Guide at https://developer.apple.com/go/?id=bundle-structure for information on the iOS app bundle structure."
网上很多说是Targets -> Build Phases->Copy Bundle Resources里面找到这个库点击删除掉就行,但是我这情况是Copy Bundle Resources并没有这个报错的库
我的解决方法就是如图,在这把它删除掉重新打包就行了,经测试项目依旧是可以正常使用该库,希望对于遇到同样问题的你有帮助