Application crashes on 10.15.4 Beta 3

Hi,

My application was working on macOS 10.15.3. After updating to 10.15.4 Beta 3, application crashes on launch. Following is the information from the crash log.


Exception Type: EXC_CRASH (Code Signature Invalid)

Exception Codes: 0x0000000000000000, 0x0000000000000000

Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: Namespace CODESIGNING, Code 0x1


we have following entitlement associated with our application.

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>com.apple.security.automation.apple-events</key>

<true/>

</dict>

</plist>


Few observations:

If I remove this entitlement, application works.

If add a second entitlement, application works. We added the following because we believe that is the safest to add as a second entitlement.

<<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>com.apple.security.get-task-allow</key>

<false/>

<key>com.apple.security.automation.apple-events</key>

<true/>

</dict>

</plist>


The same problem happens on Security update Developer Beta 2020-002 for macOS 10.14.6.


Could you please help us to identify the root cause of this issue?


Our application has zero notarization warnings.


regards

Prema Kumar

Hi,

Any insight is greatly appreciated.


regards

Prema_K

Presumably you’ve now retested this on the 10.15.4 GM?

I’ve no idea what’s going on here. If you create a new test project from the macOS > App template and then set up the same test using the Signing & Capabilities editor, does it also fail?

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
Application crashes on 10.15.4 Beta 3
 
 
Q