When i build my compose desktop app it run fine wh...
# compose-desktop
r
When i build my compose desktop app it run fine when building in intellij but when i use the
packageReleaseDmg
task the app doesnt have access to the internet on mac. Has anyone seen this before? I've been trying different things like adding various plist keys
NSAppTransportSecurity
- but still nothing. Additionally i don't seem to be able to see app output (System.err, System.out) messages? Does anyone have tips on this - have you had to do any special so desktop apps can load internet resources?
m
Have you tried
Copy code
./gradlew createReleaseDistributable
I am not doing anything special for macOS and I am using the internet all the time. Customers have also not reported any problems with that.
r
does that create a dmg? it doesnt seem to for me?
i think it must have been some problem with
io.coil-kt.coil3:coil-network-ktor3
which i was using for images. when i added
io.ktor;ktor-client-cio
everything seems to work
m
It does create a DMG if you have configured that in your Gradle file, e.g.:
Copy code
targetFormats(TargetFormat.Dmg, TargetFormat.Msi, TargetFormat.Deb)
🤷‍♂️ 1
👍 1
r
Yes funny.. I have those.