本着尝鲜的心情,升级了 beta 版 Xcode 8 和 beta 版 macOS,结果悲剧了!
升级后没几天,项目需要升级。和平时一样,打包,上传,一切都显得那么流畅。
提交审核,几分钟后收到这个:
what? Invalid Binary? 查看了邮件,是这样说的:
问题一:
This app attempts to access privacy-sensitive data without a usage description. The app’s Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.
需要在 Info.plist 里面添加 NSPhotoLibraryUsageDescription ,这个问题好解决。
问题二:
Invalid Toolchain - New apps and app updates must be built with the public (GM) versions of Xcode 6 or later, macOS, and iOS SDK. Don’t submit apps built with beta software including beta macOS builds.
提交 app 需要使用正式版或 GM 版的 Xcode 和 macOS。这下头大了,一则硬盘128G的,不够用啊,二则公司的破网,唉!
心累,以后再也不瞎折腾了,安安静静地等待正式版就好!