I'm not sure this works on Mac OS X 10.14
Hi,
I packed the nodegui starter project on Mac OS X 10.14, but when I tried to open the resulting app, I got an error message: "The application requires macOS 10.15 or later."
To reproduce:
git clone https://github.com/nodegui/nodegui-starter
cd nodegui-starter
npm run build
npm install @nodegui/packer
npx nodegui-packer --init starter
npx nodegui-packer --pack dist
cd deploy/darwin/build
open starter.app
The last command produces this error:
LSOpenURLsWithRole() failed with error -10825 for the file /Users/raf/repos/nodegui-starter/deploy/darwin/build/starter.app.
If I open the app in Finder, I get the message: "You can’t use this version of the application 'starter' with this version of macOS. You have macOS 10.14.1. The application requires macOS 10.15 or later."
Changing LSMinimumSystemVersion in Info.plist to 10.14 unfortunately doesn't seem to change anything.
Any ideas?
Hi @rafpaf if you change the version in Info.plist before running npx nodegui-packer --pack ./dist it should work !
I can not get that far, it fails way earlier:
Cannot find module '@nodegui/nodegui/config/qtConfig'
Require stack:
- /Users/danielo/NodeGUI-System-Utility-Library/node_modules/@nodegui/packer/dist/darwin/helpers.js
- /Users/danielo/NodeGUI-System-Utility-Library/node_modules/@nodegui/packer/dist/darwin/index.js
- /Users/danielo/NodeGUI-System-Utility-Library/node_modules/@nodegui/packer/dist/index.js
- /Users/danielo/NodeGUI-System-Utility-Library/node_modules/@nodegui/packer/dist/cli.js
This happens on the sample app NodeGUI-System-Utility-Library
It looks like you are using an old version of nodegui on the system utility library app @danielo515
Whatever the example app has on it's dependencies. Following the same instructions with the react-template app works perfectly. Regards
On Wed, Feb 3, 2021 at 1:32 PM Atul R [email protected] wrote:
It looks like you are using an old version of nodegui on the system utility library app @danielo515 https://github.com/danielo515
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nodegui/packer/issues/101#issuecomment-772473916, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARKJWMOHKSGWWIAHE4YGVTS5E65LANCNFSM4P74VUXQ .
--
https://danielorodriguez.com
I also encountered the same error