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

Getting error: "The application cannot be opened because its executable is missing." when trying to open the app. #58

Closed
jilldenae opened this issue Aug 21, 2014 · 3 comments

Comments

@jilldenae
Copy link

After building my app, the Windows version works fine, but when I try to open the osx version (using open appName.app in terminal), I get "The application cannot be opened because its executable is missing."

I've looked at the Info.plist file, and it lists node-webkit as the executable. I found that file in appName.app/Contents/MacOS. Tried changing Info.plist to specify that path, but that didn't help.

Any ideas? Thank you very much for your help.

Built via terminal on Mac, using "sudo nwbuild -p osx app.nw" (my app is in the app.nw directory).

@adam-lynch
Copy link
Contributor

@steffenmllr any idea?

@adam-lynch
Copy link
Contributor

Could you try again with 1.0.0? Also, I could be wrong but I'm not sure if we support passing a directory, try app.nw/**

@Kilowhisky
Copy link

Any resolution on this? I'm having this same issue.

My build file looks like this.

    name: 'myApp',
    appName: 'myApp',
    version: '0.12.2',
    platforms: ['osx'],
    files: ['package.json','dist/favicon_16x16.png','dist/nwjs/node-main.js','dist/nwjs/build.json'],
    winIco: 'dist/favicon.ico',
    macIcns: 'dist/favicon.icns',
    buildType: function() {
        return this.appVersion;
    }

EDIT: Don't know why but i cleared my install of nwjs and set it back up again and now its fixed.
EDIT2: Got it. If i specify platforms: 'win', and 'osx' it will fail. If i just specify 'osx' it'll work. Probably because i squawks at me about not having wine installed.

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

3 participants