应用沙箱未启用

san*_*osh 12 macos

我有自己的可执行文件,名为"testQueue",并与我的主应用程序(testApp)捆绑在一起,以满足我的要求.testQueue是一个用C编写的可执行文件.

我使用以下选项对此可执行文件进行沙盒处理并添加到应用程序中:

  • 代码签名:Mac开发者第三方应用程序
  • 在testQueue.entitlements中启用了com.apple.security.app-sandbox = TRUE
  • 在testQueue.entitlements中启用com.apple.security.inherit = TRUE

我仍然从苹果审查小组收到以下错误.

"App sandbox not enabled - The following executables must include the "com.apple.security.app-sandbox" entitlement with a Boolean value of true in the entitlements property list. Refer to the App Sandbox page for more information on sandboxing your app.

testApp.app/Contents/Resources/testQueue"
Run Code Online (Sandbox Code Playgroud)

我想知道是否还需要在项目设置中添加其他内容?

Bor*_*rzh 23

转到目标 - >功能 - >将App Sandbox置于ON状态.

在此输入图像描述