Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode - Hardened Runtime is not enabled

I'm trying to submit my app to Apple for notarized using Xcode 10 GM. But I'm getting this error -

Hardened Runtime is not enabled.

"AppBox.app" must be rebuilt with support for the Hardened Runtime. Enable the Hardened Runtime capability in the project editor, then test your app, rebuild your archive, and upload again.

enter image description here

I've tried to find this in the Workspace and Build Settings, but no success.

enter image description here

How can I enable Hardened Runtime for this Xcode project?

like image 584
Vineet Choudhary Avatar asked Sep 16 '18 17:09

Vineet Choudhary


1 Answers

Ok, I found the answer. Hardened Runtime setting available in the Build Settings tab in All build setting section.

enter image description here

Also, If your application containing multiple targets then you need to enable Hardened Runtime for all targets.

like image 137
Vineet Choudhary Avatar answered Oct 01 '22 17:10

Vineet Choudhary