Skip to content
New issue

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

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

Already on GitHub? # to your account

Can not open on macOS 10.15 #1214

Closed
tghggns opened this issue Oct 11, 2019 · 21 comments
Closed

Can not open on macOS 10.15 #1214

tghggns opened this issue Oct 11, 2019 · 21 comments

Comments

@tghggns
Copy link

tghggns commented Oct 11, 2019

Description of Problem or Question

When opening Valkyrie app on macOS 10.15 Catalina, error is displayed

Valkyrie Version

2.4.06

Screen Shot 2019-10-11 at 4 35 56 PM

@alfasnip
Copy link

the same problem... :( how I can solve it?

@jnierodzik
Copy link

jnierodzik commented Oct 14, 2019

@tghggns
@alfasnip

This sounds like the binary is not executable. Assuming you have installed Valkyrie into the standard Applications folder run the following command from the terminal

chmod +x /Applications/Valkyrie.app/Contents/MacOS/Valkyrie

@ChrisChinchilla
Copy link

I'm assuming this is because the binary is 32-bit?

@jnierodzik
Copy link

I'm assuming this is because the binary is 32-bit?

The binary is 64-bit per the OS' application profiler. I was thinking an issue with the build settings in Unity, but I'm honestly not too familiar with those.

@ChrisChinchilla
Copy link

Actually I found that with a few applications that weren't working under Catalina, re-downloading them typically fixed thew issue. I guess they were applications without in-built update mechanisms or something… So I can now confirm Valkyrie is working for me.

@NPBruce
Copy link
Owner

NPBruce commented Oct 15, 2019

The binary is universal (includes 32 and 64 bit). As a non-macos user this issue is a bit beyond me.

@jnierodzik
Copy link

@NPBruce

How are you creating the zip file? Most windows archive tools don’t honor the proper file permissions inside the app bundle.

Your build is probably fine, but zipping it on Windows for upload is what’s most likely breaking it.

@NPBruce
Copy link
Owner

NPBruce commented Oct 15, 2019

Yeah zip doesn't support unix permissions at all. It is currently using 7Zip. I'm happy to change to a tarball (like linux) or whatever else works better? I feel like zip was the advice I was given at the time.

@jnierodzik
Copy link

jnierodzik commented Oct 15, 2019

DMG is the preferred format, but don’t believe you can do that on Windows without additional software so tarball would be the preferred alternative.

I can also help out by creating DMGs if you would like.

@alfasnip
Copy link

hmmmm. my problem still appear. I can't install (open) Valkyrie. I tryied do download app form site one more time but strange info - server not found (SAFARI)?

@alfasnip
Copy link

When i used Chrom - download successful but still can't open and intcstall at Catalina. I would like to ask for solution or info how i can install Valkyrie (Catalina). Thx :)

@alfasnip
Copy link

Did anyone could solve this problem....? :(

@redwolf2
Copy link
Collaborator

@alfasnip Did you follow the installation instructions? https://github.com/NPBruce/valkyrie/wiki

@ArkhamNative
Copy link

Chiming in to say this is still an issue (no Valkyrie updates since first post). Downloaded latest version (as above, 2.4.06) and got the "can't be opened" message. Solved by using the suggestion above: use the Mac's Terminal utility and the given command-line "chmod" command to fix the permissions of the Valkyrie executable (contained inside the Valkyrie app) (after moving the downloaded app to the Mac's Application folder).

And as usual after install/update: Ctrl-clicked (or right-click) on the Valkyrie app and chose "Open" from the pop-up menu

Also clicked "Deny" to a dialog by Mac OS X 10.15 ("Catalina") asking to allow Valkyrie to accept keystrokes from any application. Apparently this is a Unity issue and was fixed in a more recent version, 2018.4 LTS. (I'm just repeating a googled response.)

@alfasnip
Copy link

OK, I try Ctrl+click and open -> still don't work
I don't know what I should do with "chmod" command. I download one more time Valkyrie for os. I have it at downloaded files. Still can't open (even with ctrl). I try to put this file to app folder - still don't work. :(

@ArkhamNative
Copy link

Step by step: After you download the Valkyrie app, move it to the Applications folder. (The same folder as Mail, Safari, etc.)
Then start up Terminal. (It is in the Utilities folder of the Applications folder). In the Terminal window you type (or copy & paste):
chmod +x /Applications/Valkyrie.app/Contents/MacOS/Valkyrie
Then hit hit enter. It won't display confirmation if it succeeds. That tells the Mac to mark the program file within the Valkyrie app as executable. (For some reason the program file didn't get marked that way in this version. It did in previous versions.)
If it succeeds, you will be able to ctrl-click + open the Valkyrie app and get the security message (instead of the "can't be opened" message). Click Open.
Once you have done all this, you can just double-click the Valkyrie app like normal to open it, until you reinstall Valkyrie or install another version.

@alfasnip
Copy link

ArkhamNative@ I would like to thank you very much for help. Your solution solved my problem :)

@redwolf2
Copy link
Collaborator

@ArkhamNative @alfasnip
I added your solution to the installation instructions.

@eimerich
Copy link

Fantastic: did the procedure, now fully operative! Thanks!

@mayjak
Copy link
Collaborator

mayjak commented Nov 16, 2020

Reopening this. I can confirm changing to tar.gz archive after build is working fine on macOS Catalina. I'll update the build script in 2.4.11/2.5.

@mayjak mayjak reopened this Nov 16, 2020
mayjak added a commit that referenced this issue Nov 16, 2020
Changed distribution format to .tar.gz from .zip. No need to chmod anymore.
@mayjak
Copy link
Collaborator

mayjak commented Nov 16, 2020

This should be now fixed in the prerelease build of 2.4.11 by moving to .tar.gz format. At least it worked for me on my mac.

@mayjak mayjak mentioned this issue Nov 25, 2020
@mayjak mayjak closed this as completed in c5f7883 Nov 25, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants