今天在打包上架的过程中遇到一个问题,一直上传不了,报错如下:
ERROR ITMS-90680: "Invalid directory. The bundle Payload/xxx.app/IDLFaceSDK.framework is not contained in a correctly named directory. It should be under "Frameworks"."
ERROR ITMS-90685: "CFBundleIdentifier Collision. There is more than one bundle with the CFBundleIdentifier value 'aaa.IDLFaceSDK' under the iOS application 'xxx.app'."
WARNING ITMS-90806: "CFBundleIdentifier collision. Each bundle must have a unique bundle identifier. The bundle identifier 'aaa.IDLFaceSDK' is used in the bundles '[Payload/xianshangkao.app/Frameworks/IDLFaceSDK.framework, Payload/xxx.app/IDLFaceSDK.framework]'"
我在网上找资料找了半天,找不到相关的,最后找到下面这个:
https://stackoverflow.com/questions/64856954/xcode-distribution-failed-with-error-framework-is-not-contained-in-a-correctly
和我的问题一样,但是里面所说的解决方案 我好早就尝试过了,没有什么作用,最终在Xcode 中的 Build phases - copy Bundle resources 中发现了我那个库, 然后把他删掉就可以打包了,Build phases - copy Bundle resources中一般存放一些资源文件,例如图片、plist 等。