项目中缺少应用沙盒功能

项目中缺少应用沙盒功能

本文介绍了Xcode 项目中缺少应用沙盒功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据本指南,项目文件中应该有一个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 &CapabilitiesApp Sandbox 就会出现.

After completing the above steps, click command + b then go back to Signing & Capabilities, the App Sandbox will appear.

这篇关于Xcode 项目中缺少应用沙盒功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 13:06