Xcode enabled Hardened runtime turns it on for the wrong Target in multi target project

I'm trying to turn on the hardened runtime for one of my apps, but Xcode keeps turning it on for the wrong app target. Very frustrating. I turned it on from Build Settings, but then when I go back to "Capabilities section" and try to turn on an entitlement, Xcode turns off the hardened runtime again on me.


Anyone run into this before?

Accepted Reply

heh, manually creating a .entitlements file and setting the path Build Settings is the workaround.

Replies

heh, manually creating a .entitlements file and setting the path Build Settings is the workaround.