https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
r

Romão

02/24/2024, 6:53 PM
Hello, i'm unable to unarchive the kmm project generated file in kmp.jetbrains.com. It was a .tar file, now is a tar.gz file. My M1 machine claims projectfilename.tar.gz is an unsupported format. Any one facing the same issues? IF is was a tar file why is now a tar.gz file?
z

zsmb

02/24/2024, 8:29 PM
It should be a
.zip
file that's generated, and the built-in Archive Utility on macOS should be able to extract it. Are you sure you're downloading a
.tar
file?
r

Romão

02/25/2024, 2:31 PM
Hello Márton B. if the project name is longer, i get a .tar.gz, else if the project name is short i got a .tar file. In my mac m1, i'm only able to unarchive the file if .tar (.tar.gz, in the case of a longer project name, got an error). I ended by putting a shorter project name, haven't don't much more testing.
z

zsmb

02/26/2024, 8:25 AM
Apparently we generate a
.tar.gz
file if you are using the wizard from Safari, and a
.zip
file otherwise. I've created https://youtrack.jetbrains.com/issue/KT-66113/ to change this and always generate
.zip
files. Currently, when downloading from Safari, the file you get depends on whether or not you have Open "safe" files after downloading enabled in Safari's settings (General tab, very bottom option). If you have this off, you'll get a
.tar.gz
file, if you have it on, you'll get a
.tar
file. However, both of these should be valid files and can be extracted by using Open With -> Archive Utility. If you have a file from the wizard that you're unable to open, please attach it to the issue in a comment and let us know how you've generated it and how you're trying to open it.
👍 1
r

Romão

02/26/2024, 11:49 AM
Got it, thanks for the explanation @zsmb. I will retry the .tar.gz case (archive utility didn't work in my Mac M1 machine)
z

zsmb

02/27/2024, 6:59 PM
We have an update, the wizard now generates
zip
files for you regardless of OS and browser used. Let me know if you still have any trouble with generated projects!
4 Views