Open RubiTree opened 3 years ago
@RubiTree so far I can't reproduce the issue. Does the issue reproduces with the default template? E.g. your build config + the following source:
// Main.kt
fun main() = Window {
var text by remember { mutableStateOf("Hello, World!") }
MaterialTheme {
Button(onClick = {
text = "Hello, Desktop!"
}) {
Text(text)
}
}
}
What version of macOS, xcode and Java do you use?
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
I use default scrip to packageDmg, and i get a dmg, i double click this dmg and move the app to /Applications dir But i can't start this app and see msg is:
LSOpenURLsWithRole() failed with error -10810
Then I give permissions like this, but the error msg is the same.
I don't know if the reason is i don't signed the application, but i have open mac install condition by use
sudo spctl --master-disable
I don't have an developer account and I will try to apply it to sign the app later.Here is my
build.gradle
scrip, and I can afford more informations if needs.