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