packer icon indicating copy to clipboard operation
packer copied to clipboard

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

Open rafpaf opened this issue 5 years ago • 5 comments

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?

rafpaf avatar Aug 14 '20 22:08 rafpaf

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

DavoCg avatar Nov 04 '20 16:11 DavoCg

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

danielo515 avatar Feb 03 '21 09:02 danielo515

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

a7ul avatar Feb 03 '21 12:02 a7ul

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

danielo515 avatar Feb 03 '21 12:02 danielo515

I also encountered the same error

Hareis avatar May 13 '21 08:05 Hareis