Posts

Post not yet marked as solved
3 Replies
1.3k Views
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]'
Posted Last updated
.
Post not yet marked as solved
8 Replies
5.4k Views
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?
Posted Last updated
.
Post not yet marked as solved
3 Replies
499 Views
Hi, We have few apps and distributables which have their own build enviroment, and might get built and notarized out of band. What we have noticed is we get failure in below sequence during staple always (with failed to find token error)UploadApp1, UploadApp2, StapleApp1The one that works is, UploadApp1, StapleApp1, UploadApp2, StapleApp2.So I am trying to understand/figure out how to do this in parallel. What identifies or can be used to make a request-staple unique? bundle-id or the user creds?
Posted Last updated
.