Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I'm not sure this works on Mac OS X 10.14 #101

Open
rafpaf opened this issue Aug 14, 2020 · 5 comments
Open

I'm not sure this works on Mac OS X 10.14 #101

rafpaf opened this issue Aug 14, 2020 · 5 comments

Comments

@rafpaf
Copy link

rafpaf commented Aug 14, 2020

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?

@DavoCg
Copy link

DavoCg commented Nov 4, 2020

Hi @rafpaf if you change the version in Info.plist before running npx nodegui-packer --pack ./dist it should work !

@danielo515
Copy link

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

@a7ul
Copy link
Collaborator

a7ul commented Feb 3, 2021

It looks like you are using an old version of nodegui on the system utility library app
@danielo515

@danielo515
Copy link

danielo515 commented Feb 3, 2021 via email

@Hareis
Copy link

Hareis commented May 13, 2021

I also encountered the same error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants