https://kotlinlang.org logo
#compose-desktop
Title
# compose-desktop
r

Raphael TEYSSANDIER

11/27/2023, 3:25 PM
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
2 Views