打包出现Invalid Swift Support回执邮件的解决办法

来源:互联网 发布:淘宝卖家怎么看总收入 编辑:程序博客网 时间:2024/05/12 17:00

nvalid Swift Support - The SwiftSupport folder is missing

今天使用 loader 向 iTunes Connect 提交新版本后,等了几个小时一直看不到提交的新版本,然后发现apple给发了封邮件,如图1

Dear developer,


We have discovered one or more issues with your recent delivery for "****". To process your delivery, the following issues must be corrected: 


Invalid Swift Support - The SwiftSupport folder is missing. Rebuild your app using the current public (GM) version of Xcode and resubmit it. 


Once these issues have been corrected, you can then redeliver the corrected binary. 


Regards,


The App Store team
图1


其实之前的新版本已经传了上去,上传后会有 正在处理 的标志(如图2),但是在这一步的时候审核没通过,然后被拒了,接着就有了图1的邮件


图2

无效的版本不会出现在构建版本里的,但是成功构建版本后之前被拒的版本就会出现

解决:
bg:Xcode Version 8.1 (8B62) 项目是使用 Swift 和 OC 混编的
Invalid Swift Support - The SwiftSupport folder is missing. 这是由于 Archive 的时候 SwiftSupport没有添加到 ipa 中。
Target -> Build Settings 中 如下配置下:






切记要archive  不要loader  前车之鉴  我就折腾了一下午

然后 clear 下,最好在编译一下,然后正常 Archive,接下来重点是 一定不要 Export AdHoc Deployment,直接如下图处理



接下来 如果没有其他错误的话 就可以在 iTunes Connect 中查看到如下



图中带 ! 的都是无效的版本,由于某些错误被拒的,然后就可以正常的提交审核了



文/申申申申申(简书作者)
原文链接:http://www.jianshu.com/p/e4ef13b539b4
著作权归作者所有,转载请联系作者获得授权,并标注“简书作者”。
1 0
原创粉丝点击