自己创建的abc.framework,打包上传App Store Connect时,官方给出的报错如下:
Asset validation failed (90205)
Invalid Bundle. The bundle at 'xxx.app/Frameworks/abc.framework' contains disallowed nested bundles.
Asset validation failed (90206)
Invalid Bundle. The bundle at 'xxx.app/Frameworks/abc.framework' contains disallowed file 'Frameworks'.
解决方法:
abc.framework内部不能包含Frameworks文件夹,也就是引入的Framework And Library的embed方式为Do Not Embed;
abc.framework -> ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES -> NO
abc.framework -> Embeb Frameworks 中不能有添加项