Hi,After we made changes for apple notarization, I cannot seem to re-place a binary for debugging.[This are all terminal binaries, not apps]executable A is linked with library B, both are codesingned withcodesign -f -o runtime -s "identity" <binary>and, are runnign fine.Now, for debugging if I make a change in B and replace it, now A is killed right away with errorException Type: EXC_BAD_ACCESS (Code Signature Invalid)Exception Codes: 0x0000000000000032, 0x0000000103082000Exception Note: EXC_CORPSE_NOTIFYTermination Reason: Namespace CODESIGNING, Code 0x2Application Specific Information:dyld: in dlopen()<path to library B>even if I add entitlement get-task-allow to executable A, it's still same.What can I do, what am I missing?
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I have LaunchDaemon plist launching a x86_64 daemon, which worked so far on my M1 Mac mini running Big Sur, but right after the reboot from upgrading to macOS Monterey, I see error launching with EBADARCH error, but when I load the same plist by hand it worked.
2021-10-27 10:23:15.602649 (system/com.[redacted] [530]) : Could not find and/or execute program specified by service: 86: Bad CPU type in executable:
2021-10-27 10:23:15.602661 (system/com.[redacted] [530]) : Service could not initialize: posix_spawn([redacted]) EBADARCH error: 0x6f: Invalid or missing Program/ProgramArguments
2021-10-27 10:23:15.602666 (system/com.[redacted] [530]) : initialization failure: 21A559: xpcproxy + 23196 [815][D33C7462-5256-38E5-AFD4-A1FF694581F3]: 0x6f
2021-10-27 10:23:15.602668 (system/com.[redacted] [530]) : Service setup event to handle failure and will not launch until it fires.
2021-10-27 10:23:15.602671 (system/com.[redacted] [530]) : Missing executable detected. Job: 'com.[redacted]' Executable: '[redacted]'
Topic:
App & System Services
SubTopic:
Core OS
Tags:
macOS
Apple Silicon
Inter-process communication