Post

Replies

Boosts

Views

Activity

XPC_ERROR_CONNECTION_INVALID from launchservice
Dear AppleI am developing a dotnet core software and now I am trying to sign and distribute properly our application. The deployment is semi-automatic I am using a dotnet core software to make the signing and the notarization of the app, which is calling the appropriate tool for example codesign. After I created the final dmg I mount it copy the app to the Application, start it, then after the verification, it exits with a failure which is the following:Process: wassabee [9757] Path: /Applications/Wasabi Wallet.app/Contents/MacOS/wassabee Identifier: wassabee Version: 1.1.10 (1.1.10) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: wassabee [9757] User ID: 502 Date/Time: 2020-01-13 10:14:40.191 +0100 OS Version: Mac OS X 10.15.2 (19C57) Report Version: 12 Anonymous UUID: C79F51FE-2AE6-9768-EC91-1F5E7F1D04DC Sleep/Wake UUID: B37B57B0-B981-4F39-9704-C03CE8F4DFF2 Time Awake Since Boot: 24000 seconds Time Since Wake: 3000 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Application Specific Information: abort() called rdar://problem/28724618 Couldn't create connection object Process unable to create connection because the sandbox denied the right to lookup com.apple.coreservices.launchservicesd and so this process cannot talk to launchservicesd. XPC_ERROR_CONNECTION_INVALID from launchservice _RegisterApplication(), unable to get application ASN from launchservicesd, and this application requires an ASN, so aborting. error=#-1. Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff6993e7fa __pthread_kill + 10 1 libsystem_pthread.dylib 0x00007fff69a00bc1 pthread_kill + 432 2 libsystem_c.dylib 0x00007fff698c5a1c abort + 120So IMO there is something with the entitlements used during the signing.I use this entitlements file on non-executables:https://github.com/zkSNACKs/WalletWasabi/blob/afd0768c6509ca54d4a786ac5105ffe1e6731785/WalletWasabi.Packager/Content/Osx/entitlements.plistI use this on executables (3 files)https://github.com/zkSNACKs/WalletWasabi/blob/afd0768c6509ca54d4a786ac5105ffe1e6731785/WalletWasabi.Packager/Content/Osx/entitlements_sandbox.plistThere might be some unnecessary tags in it, that is my effort to fix the error.There are more details here about the issue: https://github.com/zkSNACKs/WalletWasabi/pull/2946I am using: Developer ID Application: zkSNACKs Ltd. (L233B2JQ68) to sign everything.Thank you for your help.Best regards,David
8
0
1.6k
Jan ’20