iOS: Secured and signed app crashes with missing keychain entitlements error


Secured, signed iOS app installed on device, but crashes immediately when tapped. Logs show these errors:

<Error>: secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found
<Notice>: AMFI: FioriClient(pid 261) - [deny-mmap] mapped executable file has no team identifier in its signature: /private/var/containers/Bundle/Application/F7D86B6A-C086-474E-8B54-2B4410388F43/

This happens when the signing identity on the signing server is set to "Always Trust."


On the signing server:

  1. Open Keychain Access.
  2. Find the signing identity in the Login keychain.
  3. Right click on the certificate, and set the trust to "Use System Defaults."

Then re-sign the app and install the newly signed app. The errors should no longer appear.

There is no content with the specified labels