Hi
I have problems with Info.plist in MacOS application.
My app must to get GPS information. I call
CLLocationManager.requestAlwaysAuthorization
on start.
It works from IDEA or command line.
But when I make PKG file
by this and create Info.plist file.
If I add into file
<key>NSLocationUsageDescription</key>
<string>My information</string>
application doesn’t use message, ask me any time, write info console the error
app.kexe[31495:7080886] There was an error parsing the Info.plist for the bundle at URL <....>: NSCocoaErrorDomain - 3840
and CAN’T get gps info.
If I add into file
<key>NSLocationAlwaysUsageDescription</key>
application ask me ONE time, write info console the same error
app.kexe[31495:7080886] There was an error parsing the Info.plist for the bundle at URL <....>: NSCocoaErrorDomain - 3840
and GETS gps info.
But Launchpad ignored my app 🤯
What have I to do?