iOS提交ipa包时出现"The binary file XXX libswiftRemoteMirror.dylib is not permitted"
来源:互联网 发布:萌酱岛网络错误 编辑:程序博客网 时间:2024/06/10 07:24
传统的APP打包方式主要是Archive打包和.app文件打包。为了方便,一直都是使用.app文件打包,但是最近一次项目中开始引入Swift混编的时候,提交ipa包的时候出现了问题。
提示:ERROR ITMS-90171:Invalid Bundle Structure - The binary file XXX libswiftRemoteMirror.dylib is not permitted. Your app can’t contain standalone executables or libraries, other than the CFBundleExecutable of supported bundles……..
很明显包中不应该包含libswiftRemoteMirror.dylib这个文件。当然,这个文件在项目中是搜不到的。最后,在解压了ipa文件后发现,是藏匿在.app文件中(不在Framwork文件夹中,混在资源文件中)
后来,经过多次实验发现,可以通过以下几种方式解决:
1、通过Xcode的Archive方式打包。Archive打的包,就没有包含这个libswiftRemoteMirror.dylib文件。
2、手动删除.app中的libswiftRemoteMirror.dylib文件,然后进行.app打包。
3、在Xcode7中进行.app打包。在Xcode7和Xcode8中分别进行.app打包,发现Xcode7打包后没有libswiftRemoteMirror.dylib文件。
0 0
- iOS提交ipa包时出现"The binary file XXX libswiftRemoteMirror.dylib is not permitted"
- [绍棠] iOS提交ipa包时出现"The binary file XXX libswiftRemoteMirror.dylib is not permitted"
- the binary file '***.o' is not permitted
- Invalid Bundle Structure - The binary file '***.app/***.a' is not permitted
- xxx is not in the sudoers file
- xxx is not in the sudoers file
- xxx is not in the sudoers file.
- xxx is not in the sudoers file
- UBuntu中出现xxx is not in the sudoers file解决方法
- The Solution to "xxx is not in the sudoers file"
- wincvs提交时出错:cvs commit: sticky tag `HEAD' for file `XXX' is not a branch
- xxx is not in the sudoers file解决方法
- xxx is not in the sudoers file解决方法
- xxx is not in the sudoers file解决方法 SUDO
- xxx is not in the sudoers file解决方法
- xxx is not in the sudoers file解决方法
- xxx is not in the sudoers file解决方法
- xxx is not in the sudoers file解决方法
- 百度地图中提示:info.plist 中必须添加 Bundle display name
- TCP/IP协议与UDP协议
- jenkins构建Protractor项目报错解决
- linux驱动: 如何向模块传递参数, module_param和module_param_array
- 第七周--项目6停车场模拟
- iOS提交ipa包时出现"The binary file XXX libswiftRemoteMirror.dylib is not permitted"
- springmvc文件上传
- [COPY] 京东消息中间件JMQ
- VS2012/VS2015安装、配置、卸载小记
- SQL删除字段的引号
- Delphi常用内存管理函数
- CMDB机柜平台结合zabbix告警展示
- 生活随想录
- [COPY]《京东技术解密》——海量订单处理