Can anybody confirm that they have successfully ru...
# compose-desktop
b
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:
Copy code
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
b
Should I choose the OpenJDK 16(the latest) and HotSpot(JVM)?
👍 1
Still getting the same error:
Copy code
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
is it x86 or arm(M1) machine?
b
x86
d
Yes, I use a Mac OS and Compose for Desktop. Running SDK 15 and Kotlin 1.4
b
Can you be a little more specific, what version of the SDK are you using? Is it AdoptOpenJDK or something else?
d
I am using the standard JDK and not the AdoptOpenJDK.
b
@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
Sorry, I am not signing my apps at present.