​第一次被拒,原因是

UIAlertController在 Mac上运行第一次崩溃,而以后则不会崩溃。

解决方法:

写个UI线程,放进去即可解决。

第二次被拒,内容如下:

Guideline 2.4.5(i) - Performance

Your app uses one or more entitlements which do not have matching functionality within the app. Apps should have only the minimum set of entitlements necessary for the app to function properly. Please remove all entitlements that are not needed by your app and submit an updated binary for review, including the following:

"com.apple.security.device.camera": true

Next Steps

For links to essential video and documentation to learn how to sandbox your application, please see App Sandboxing.

Commonly added entitlements that many apps don't need include:

"com.apple.security.network.server"

Apps that initiate outgoing connections (for example, to download new content from your server) only need to include "com.apple.security.network.client". The server entitlement is only necessary for apps that listen for and respond to incoming network connections (such as web or FTP servers).

"com.apple.security.device.usb"

Apps that interact with non-standard USB devices, including HID accessories such as joysticks, may need to include this entitlement. It is not necessary for accessing keyboards, mice, trackpads, printers or external drives such as thumb drives.

Should you need code-level assistance implementing sandboxing, contact Apple Developer Technical Support.

第二次被拒,原因是

沙盒问题,多添加了"com.apple.security.device.camera": true,删除即可。然后就通过了。

好了,我的第一款Mac app,今天终于上架了。开启Mac端 新的篇章。。。

本文内容来自于微信公众号《独立自由职业者

版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。