I recently updated my test machine to Big Sur beta 3. I built a driver installation app, which hosts a driverkit extension. The app used to run on Big Sur b1.
Now, it won't launch at all in the debugger, it fails with this error:
Domain: RBSRequestErrorDomain
Code: 5
from Finder it fails with an error -1, and no further information. If I move it to /Applications and run it from there, I get a crash report which says it failed due to a code signing error.
xception Type: EXCCRASH (Code Signature Invalid)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXCCORPSE_NOTIFY
the thing is, codesign says it is fine:
codesign -v -vvv /Applications/DriverInstallationApp.app
/Applications/DriverInstallationApp.app: valid on disk
/Applications/DriverInstallationApp.app: satisfies its Designated Requirement
spctl says 'rejected' without giving a reason. I have SIP turned off on this machine, so I'd never notarized the app before. So in desperation I tried notarizing the app. Once notarized, the app is "accepted" by spctl, but it still crashes with the same "code signature invalid" error.
Does anyone have any ideas on how I can debug this?
Now, it won't launch at all in the debugger, it fails with this error:
Domain: RBSRequestErrorDomain
Code: 5
from Finder it fails with an error -1, and no further information. If I move it to /Applications and run it from there, I get a crash report which says it failed due to a code signing error.
xception Type: EXCCRASH (Code Signature Invalid)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXCCORPSE_NOTIFY
the thing is, codesign says it is fine:
codesign -v -vvv /Applications/DriverInstallationApp.app
/Applications/DriverInstallationApp.app: valid on disk
/Applications/DriverInstallationApp.app: satisfies its Designated Requirement
spctl says 'rejected' without giving a reason. I have SIP turned off on this machine, so I'd never notarized the app before. So in desperation I tried notarizing the app. Once notarized, the app is "accepted" by spctl, but it still crashes with the same "code signature invalid" error.
Does anyone have any ideas on how I can debug this?