Xcode 10 - 未启用Hardened Runtime

问题描述 投票:4回答:2

我正在尝试将我的应用程序提交给Apple,使用Xcode 10 GM进行公证。但是我收到了这个错误 -

必须重建“AppBox.app”并支持Hardened Runtime。在项目编辑器中启用Hardened Runtime功能,然后测试您的应用程序,重建您的存档,然后重新上传。

enter image description here

我试图在Workspace和Build Settings中找到它,但没有成功。

enter image description here

那么,我的任务是如何启用Hardened Runtime?

xcode macos xcode10 macos-mojave
2个回答
9
投票

好的,我找到了答案。 “所有构建设置”部分的“构建设置”选项卡中提供了“强化运行时”设置。

enter image description here

此外,如果您的应用程序包含多个目标,则需要为所有目标启用Hardened Runtime。


5
投票

它也可以在功能部分中找到

Hardened Runtime in Capabilities section

© www.soinside.com 2019 - 2024. All rights reserved.