iOS Invalid bundle structure. 错误解决方法记录。

1、打包上传到app connect 报错问题如下:
Invalid bundle structure. The “InsTracker.app/Frameworks/Pods_xxxx.framework/Pods_xxxxx” binary file is not permitted. Your app cannot contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. For details, visit: https://developer.apple.com/documentation/bundleresources/placing_content_in_a_bundle (ID: e37e84d4-b01f-4e1c-a20c-02b7610223ee)
2、解决方法:
路径: General->Frameworks,libaries, and Embedded Content, 选中Pod_xx.framework , Embed 设置成 Do Not Embed。 如下图所示

image.png

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容