Hello, I’m trying to sign a `.app` for TestFlight....
# compose-desktop
r
Hello, I’m trying to sign a
.app
for TestFlight. But when I launch the
.app
on local it crash with message
Copy code
Exception Type:  EXC_CRASH (SIGKILL (Code Signature Invalid))
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: CODESIGNING 1 Taskgated Invalid Signature
Gradle
Copy code
nativeDistributions {
            targetFormats(TargetFormat.Pkg)
            packageName = "XXXXXX"
            packageVersion = "1.0.6"

            macOS {
                bundleID = "XXXX.XXXXXX.XXXXX"

                provisioningProfile.set(project.file("embedded.provisionprofile"))
                runtimeProvisioningProfile.set(project.file(("runtime.provisionprofile")))
                entitlementsFile.set(project.file("entitlements.plist"))
                runtimeEntitlementsFile.set(project.file("runtime-entitlements.plist"))

                appStore = true

                signing {
                    sign.set(true)
                    identity.set("3rd Party Mac Developer Application: XXXX (XXXX)")
                    keychain.set("/Users/XXXX/Library/Keychains/login.keychain-db")
                }
            }
        }
https://github.com/JetBrains/compose-multiplatform/issues/3985
c
For Identity, I use just my name, instead of the other in your example. Instead of:
identity.set("3rd Party Mac Developer Application: Chris Athanas (XXXX)")
i just put:
identity.set("Chris Athanas")