我有一个关于我的mac应用商店构建的问题。我刚刚向应用商店提交了我的应用,但被拒绝了。唯一的问题是准则2.4.5(i) --性能。Your application accesses the following location ~/Downloads/.##########.com.CompanyName.MyApp.PFa1Yx(编辑掉了个人详细信息)然后说majority of developers encounter this issue are opening files in Read/Write instead of Read-Only mode,我不完全确定我的应用程序为什么要访问那个下载文件夹。我正在使用HTML5文件对象应用程序接口让用户选择一个文件(<input type="file" id="choose_dir" style="display: none;" multiple>),并在他们完成应用程序(javascript FileSaver库saveAs(content, WatermarkText+".zip");)时保存该文件。我还以为我的Entitlements.plist里有com.apple.security.files.user-selected.read-write就能解决这个问题呢?谢谢!
发布于 2017-07-27 02:28:55
我想我只需要在我的权限中添加com.apple.security.files.downloads.read-write和com.apple.security.files.user-selected.read-only以及com.apple.security.files.user-selected.read-write。打开对话框为只读,保存对话框为读写。
https://stackoverflow.com/questions/45178238
复制相似问题