https://kotlinlang.org logo
Title
b

Bruno Blazinc

05/20/2021, 8:59 AM
Can anybody confirm that they have successfully run and Mac app and which Java JDK they have used? I am getting and error with my app regarding the
libjli.dylib
packaged inside the the app(_full path inside app is.app/Contents/runtime/Contents/Home/lib/libjli.dylib_). The error is:
not valid for use in process using Library Validation: mapping process and mapped file (non-platform) have different Team IDs
It seems to me that the file is related to the Java JDK so I was wondering if somebody could point me to the JDK that is known to work so I can test it.
o

olonho

05/20/2021, 9:11 AM
b

Bruno Blazinc

05/20/2021, 9:26 AM
Should I choose the OpenJDK 16(the latest) and HotSpot(JVM)?
👍 1
Still getting the same error:
dlopen(/Users/brunoblazinc/Documents/Development/_PrivateDevelopment/DungeonDraw/desktopApp/build/compose/binaries/main/app/DungeonDraw.app/Contents/runtime/Contents/Home/lib/libjli.dylib) failed. Error: dlopen(/Users/brunoblazinc/Documents/Development/_PrivateDevelopment/DungeonDraw/desktopApp/build/compose/binaries/main/app/DungeonDraw.app/Contents/runtime/Contents/Home/lib/libjli.dylib, 1): no suitable image found.  Did find:
	/Users/brunoblazinc/Documents/Development/_PrivateDevelopment/DungeonDraw/desktopApp/build/compose/binaries/main/app/DungeonDraw.app/Contents/runtime/Contents/Home/lib/libjli.dylib: code signature in (/Users/brunoblazinc/Documents/Development/_PrivateDevelopment/DungeonDraw/desktopApp/build/compose/binaries/main/app/DungeonDraw.app/Contents/runtime/Contents/Home/lib/libjli.dylib) not valid for use in process using Library Validation: mapping process and mapped file (non-platform) have different Team IDs
I have created an issue https://github.com/JetBrains/compose-jb/issues/679
o

olonho

05/20/2021, 10:03 AM
is it x86 or arm(M1) machine?
b

Bruno Blazinc

05/20/2021, 10:17 AM
x86
d

Dr ET

05/21/2021, 11:35 AM
Yes, I use a Mac OS and Compose for Desktop. Running SDK 15 and Kotlin 1.4
b

Bruno Blazinc

05/21/2021, 11:39 AM
Can you be a little more specific, what version of the SDK are you using? Is it AdoptOpenJDK or something else?
d

Dr ET

05/21/2021, 3:58 PM
I am using the standard JDK and not the AdoptOpenJDK.
b

Bruno Blazinc

05/23/2021, 7:37 AM
@Dr ET Do you have any issues when notorizing the app? My issue arrises because I sign the app with my certificate(as specified in the signing and notorization document).
d

Dr ET

05/23/2021, 1:26 PM
Sorry, I am not signing my apps at present.