问题描述
根据本指南,项目文件中应该有一个App Sandbox
能力:
According to this guide, there should be an App Sandbox
capability in the project file:
但是,由于某种原因,我的应用项目没有任何可以打开的 App Sandbox
功能:
However, for some reason my app project does not have any App Sandbox
capability that I can turn on:
为什么它不见了,我怎样才能得到它?
Why is it missing, and how can I get it there?
推荐答案
首先,您应该打开 ***.entitlements
文件.在此文件中,添加名为 App Sandbox
的 Key,并将 Value 更改为 YES
.
First of all, you should open the ***.entitlements
file. In this file, add a Key named App Sandbox
and changed Value to YES
.
完成以上步骤后,点击command + b
然后回到Signing &Capabilities
,App Sandbox
就会出现.
After completing the above steps, click command + b
then go back to Signing & Capabilities
, the App Sandbox
will appear.
这篇关于Xcode 项目中缺少应用沙盒功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!