You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
object QaInterface extends JFXApp3{
override def start(): Unit = {
stage = new PrimaryStage {
title = "QaInterface - "
width = 650
height = 450
scene = new Scene {
fill = Black
}
}
}
}
This works when I run it from the script, jar file, running from IntelliJ, but when trying to do a pkg using sbt jdkPackager:packageBin
After successfully installing the app using the installer, when I execute it, it crashes, reporting the following error in the macos console: Non-fatal error enumerating at <private>, continuing: Error Domain=NSCocoaErrorDomain Code=260 "The file “Extensions” couldn’t be opened because there is no such file." UserInfo={NSURL=Extensions/ -- file:///Applications/QaInterface.app/Contents/, NSFilePath=/Applications/QaInterface.app/Contents/Extensions, NSUnderlyingError=0x7fe0a7f09f30 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
I'm completely lost because I'm not doing any references to an "Extensions" folder in my code and also the documentation of jdkpackager withing sbt-native-packager doesn't mention it. Does anybody have an idea of why this could be happening? I've been researching, and this "Extension" file is not supposed to exist in the app bundle, right?
Using addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.9.9")
% sbt -version
sbt version in this project: 1.8.0
sbt script version: 1.8.0
MacOs Ventura 13.0.1
The text was updated successfully, but these errors were encountered:
Hello! I've been trying to create a .pkg that I can forward to other mac users to use my application.
This is my current build.sbt
QaInterface looks like this:
This works when I run it from the script, jar file, running from IntelliJ, but when trying to do a pkg using
sbt jdkPackager:packageBin
After successfully installing the app using the installer, when I execute it, it crashes, reporting the following error in the macos console:
Non-fatal error enumerating at <private>, continuing: Error Domain=NSCocoaErrorDomain Code=260 "The file “Extensions” couldn’t be opened because there is no such file." UserInfo={NSURL=Extensions/ -- file:///Applications/QaInterface.app/Contents/, NSFilePath=/Applications/QaInterface.app/Contents/Extensions, NSUnderlyingError=0x7fe0a7f09f30 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
I'm completely lost because I'm not doing any references to an "Extensions" folder in my code and also the documentation of jdkpackager withing sbt-native-packager doesn't mention it. Does anybody have an idea of why this could be happening? I've been researching, and this "Extension" file is not supposed to exist in the app bundle, right?
Using addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.9.9")
% sbt -version
sbt version in this project: 1.8.0
sbt script version: 1.8.0
MacOs Ventura 13.0.1
The text was updated successfully, but these errors were encountered: