JetBrains / compose-multiplatform

Compose Multiplatform, a modern UI framework for Kotlin that makes building performant and beautiful user interfaces easy and enjoyable.
https://jetbrains.com/lp/compose-multiplatform
Apache License 2.0
15.95k stars 1.16k forks source link

MacOS notarization broken with libsqlitejdbc #3914

Open sproctor opened 10 months ago

sproctor commented 10 months ago

Describe the bug I'm attempting to generate a release with MacOS 11 (the only version I have access to test) and it throws an error while unsigning libsqlitejdbc.jnilib. The build worked with Compose 1.4 previously, but it appears that Apple now requires the teamID so the previously working version is no longer useable.

Affected platforms

Versions

To Reproduce Source can be found: https://github.com/sproctor/warlock3 Steps and/or the code snippet to reproduce the behavior:

  1. run ./gradlew packageReleaseDistributionForCurrentOS
  2. See error

Expected behavior I believe the notarization should work properly as in 1.4, but with the added teamID.

Error Log

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate: fatal error: file not in an order that can be processed (code signature data out of place): /Users/sproctor/Code/warlock3/app/build/compose/tmp/sign/libsqlitejdbc.jnilib
/Users/sproctor/Code/warlock3/app/build/compose/tmp/sign/libsqlitejdbc.jnilib: the codesign_allocate helper tool cannot be found or used
N7ghtm4r3 commented 9 months ago

Same issue: /build/compose/tmp/sign/libsqlitejdbc.jnilib: the codesign_allocate helper tool cannot be found or used

Compose multiplatform for Desktop

GaoXing0608 commented 2 months ago

same issue any update?

okushnikov commented 3 weeks ago

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.