iOS打包上线常见问题

问题1

以下是构建版本失败后,Apple发的邮件

This bundle is invalid - The Info.plist file for /Payload/YolandaOverSea.app/com.yolanda.oversea 2017-09-14 09:47.16.048.xcappdata is missing or could not be read.

Invalid Bundle - The bundle at '/Payload/YolandaOverSea.app/com.yolanda.oversea 2017-09-14 09:47.16.048.xcappdata' does not contain a bundle executable.

Invalid Bundle Structure - - The bundle at '/Payload/YolandaOverSea.app/com.yolanda.oversea 2017-09-14 09:47.16.048.xcappdata' is not permitted. Do not include xcappdata bundles in your app.

解决办法:
在Finder中搜索到 xcappdata 这个文件,将它删除掉,然后重新打包就可以了。

分析原因:在协同开发中,合并分支可能会导致冲突,冲突之后就会遗留下这个xcappdata文件,所以需要删除掉。

--------------------------------------待更新-------------------------------------------

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

推荐阅读更多精彩内容