Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Compose Multiplatform Desktop Application" can not create DMG image anymore with sqlite added #992

Open
zoff99 opened this issue Oct 14, 2023 · 9 comments

Comments

@zoff99
Copy link

zoff99 commented Oct 14, 2023

Describe the bug

i am building a https://github.com/JetBrains/compose-multiplatform-desktop-template/ app
with sqlite-jdbc added as gradle dependency
it compiles and runs, but it does not produce an dmg image after adding sqlite.
it does before adding it. no signature and no apple developer account needed to generate the dmg before.

To Reproduce
https://github.com/zoff99/trifa_material/blob/aed9e9f1a21fe2818876ae83a3a3545ee7ca63cf/.github/workflows/nightly.yml#L152

Expected behavior
create a dmg file

Logs
https://github.com/zoff99/trifa_material/actions/runs/6516764610/job/17700626004#step:7:108

Environment (please complete the following information):

  • OS: tried on different macOS's
  • CPU architecture: x86_64
  • sqlite-jdbc version: tried the latest 3.43.2.0 and with 3.42.0.0

may be related to: #970 but not the same

@zoff99 zoff99 added the triage label Oct 14, 2023
@zoff99 zoff99 changed the title desktop compose can not create DMG image anymore with sqlite added Compose Desktop can not create DMG image anymore with sqlite added Oct 14, 2023
@zoff99 zoff99 changed the title Compose Desktop can not create DMG image anymore with sqlite added "Compose Multiplatform Desktop Application" can not create DMG image anymore with sqlite added Oct 14, 2023
@gotson
Copy link
Collaborator

gotson commented Oct 16, 2023

From what you provide it's not very clear what the problem is, you need to investigate more i think.

@zoff99
Copy link
Author

zoff99 commented Oct 16, 2023

how do you compile the native lib? what are the compile instruction and the exact OS used?

@gotson
Copy link
Collaborator

gotson commented Oct 16, 2023

how do you compile the native lib? what are the compile instruction and the exact OS used?

You can check the Makefile and Makefile.common

@zoff99
Copy link
Author

zoff99 commented Oct 16, 2023

but where do you create the release package? via github CI?
trying to figure out where the native libs are coming from?

989bf35

i dont see any macos github workflow in the repo.

@gotson
Copy link
Collaborator

gotson commented Oct 16, 2023

Everything is built using Docker images

@zoff99
Copy link
Author

zoff99 commented Oct 16, 2023

how are you building macos native libraries with docker images?
can you please link to the CI runs where the macos native libraries got built for the last release?
so i can see the output.

@gotson
Copy link
Collaborator

gotson commented Oct 16, 2023

how are you building macos native libraries with docker images?

Cross compiling

can you please link to the CI runs where the macos native libraries got built for the last release?
so i can see the output.

You can check the build native workflow

@zoff99
Copy link
Author

zoff99 commented Oct 23, 2023

BUILD FAILED in 1m 55s
/Applications/Xcode_13.2.1.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/runner/work/trifa_material/trifa_material/build/compose/tmp/sign/libsqlitejdbc.jnilib
/Users/runner/work/trifa_material/trifa_material/build/compose/tmp/sign/libsqlitejdbc.jnilib: the codesign_allocate helper tool cannot be found or used

@zoff99
Copy link
Author

zoff99 commented Oct 23, 2023

just added the logs because without signing in to github one can't read them sadly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants