Mac 应用程序上的资源权限更改为“自定义”构建、归档和创建包时
我正在将帮助文件夹作为“文件夹引用”添加到具有多个子文件夹的应用程序。当我构建并运行应用程序时,一切都很好,我可以正常访问我的帮助系统。 但是,当我构建和存档并创建签名的安装程序包时(使用安装程序包安装后),我无法再访问帮助资源上的子文件夹。子文件夹权限从“只读”更改为“自定义”权限,不允许应用程序读取其自己的资源。
有谁知道我做错了什么? 谢谢你, 何塞.
I am adding a help folder as a "folder reference" to my application that has several subfolders. When I build and run the application all is fine, I can access my help system ok.
But when I build and archive, create the signed installer package, (after installing using the installer package) I no longer have access to the subfolders on the help resource. The subfolder permissions change from "read only" to a "custom" privilage that does not allow the application to read its own resources.
Does anyone have any ideas what Im I doing wrong?
Thank you,
Jose.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我已经与苹果核实过,原始文件夹没有执行权限。 Xcode需要执行权限,可以通过终端设置或者直接设置read &写权限。
I've checked with apple, the original folder did not had execute permission. Xcode needs the execute permission, you can set it by terminal or just set read & write permissions.