Search Issue Tracker


Under Consideration for 2022.3.X



Found in


Issue ID




[MacOS] Invalid Code Signing Entitlements errors appear when signing MacOS project for App Store



How to reproduce:
1. Download and open the attached project
2. Build the project for MacOS
3. Sign and upload the project to AppStore

Expected outcome: No errors appear
Actual outcome: "ITMS-90288: Invalid Code Signing Entitlements - The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. According to the provisioning profile, the bundle contains a key value that is not allowed: '' for key '' in '
'ITMS-90286: Invalid Code Signing Entitlements - Your application bundle's signature contains code signing entitlements that are not supported on macOS. Specifically, value '' for key '' in '' is not supported. This value should be a string starting with your TEAMID, followed by a dot '.', followed by the bundle identifier." errors appear in the console window

Reproducible with: 2022.3.33f1, 2023.2.20f1, 6000.0.5f1

Note: This happens when trying to sign the .app manually using the codesign tool or generating a xcode project directly from unity using Auto Signing.
Note: Commands used for signing:
{noformat}# for every dylib in Frameworks
codesign --force --verify --verbose --timestamp --options runtime
# for every bundle in PlugIns
codesign --force --verify --verbose --timestamp --options runtime
codesign --force --verify --verbose --timestamp --options runtime
--sign $CERT_DISTRIBUTION --entitlements "$ENTITLEMENTS"

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.