Xcode 9.3 archive missing archived-expanded-entitlements.xcent file

I find that archived-expanded-entitlements.xcent file has been removed in Xcode 9.3. But Why? I really need this file to read the app group ID at runtime.

Have the same issue.


Apple, does it mean, this file is not needed in ipa anymore and you are puting entitlements using codesign only?

Same issue (and same question) here.

Hi,


Same issue.


What is the replacement for .xcent files ?


Regards.

Sebastien.

Hi Seb!


You can check the entitlements like this:

codesign --display --entitlements :- BINARY_FILE_PATH

Where BINARY_FILE_PATH - is a binary inside ipa.


And sign like this:

codesign --deep --force --keychain "login.keychain" --entitlements="XCENT_FILE_PATH" --sign "iPhone Distribution: SMTH" App.app
Xcode 9.3 archive missing archived-expanded-entitlements.xcent file
 
 
Q