Same problem for us - builds started getting rejected with no changes on our side
![](https://img.haomeiwen.com/i10985171/c204a4e923836aeb.png)
示例图
解决方法:
1、正常编译后,生成将要用来上传itunes的.xcarchive文件
![](https://img.haomeiwen.com/i10985171/5e8d871b3e91ba30.png)
示例图
2、选中要上传的.xcarchive文件,右键,选择show in finder,定位到文件所在的位置
![](https://img.haomeiwen.com/i10985171/35beccb5be44f92e.png)
示例图
3、定位到文件后,在文件上右键,选择 显示包内容,进去
![](https://img.haomeiwen.com/i10985171/176be5c017128a0d.png)
示例图
4、打开终端:
(1)打开.xcarchive文件:cd + .xcarchive的路径, 按回车键
(2)输入命令:find Products/ -name Info.plist -print0 | xargs -0n1 plutil -replace BuildMachineOSBuild -string 16A323
5、再使用XCode或者Application Loader就可以正常上传二进制到itunerConnect了.
给出的解释
升级mac系统到了High sierra(10.13,目前还是测试版,并没有正式版,全新的文件系统 APFS (Apple File System))发现没有这个问题,于是乎,所以给出这种解决方式的作者认为是 APFS的bug.
当然了,你还有另外一种解决方式,就是依旧用旧的XCode8来打包发布
https://forums.developer.apple.com/thread/101367
https://blog.csdn.net/yohunl/article/details/78065656
网友评论