Baledin / FlyCasual

Fan-made "Star Wars: X-Wing Miniatures Game" simulator. Updated to include AMG point updates.
MIT License
21 stars 2 forks source link

Latest version won't open (MacOS 13.6.3, M1Max) #3

Closed HrPating closed 9 months ago

HrPating commented 9 months ago

Fly Casual Release Version Version 2.5 - 20230908.03

Describe the bug After doing the chmod +x * in terminal, the program tries to open, but then gets error "File is damaged and can't be opened". Tried to download again several times, same thing occurs. version 20230908.02 works fine.

To Reproduce Download latest version Move it to apps-folder Open terminal av MacOS-folder and type chmod +x * Try to open Fly Casual

Expected behavior The program launching

Screenshots

Skjermbilde 2024-01-30 kl  11 23 19

It's in Norwegian, but ut says "FlyCasual" is damaged and can't be opened. You should move it to trash.

Platform/Device (please complete the following information):

Baledin commented 9 months ago

Just to confirm, this was newly downloaded, correct? There was a known build issue with the original file but a new file had been loaded about a week ago.

Also, to clarify since it's not in the Steps to Reproduce above, you unzipped the contents and moved just the FlyCasual.app to the apps folder? I'm guessing yes as the error message says FlyCasual and not the filename of the zip.

HrPating commented 9 months ago

This was downloaded 9 hours ago. Right before I wrote the issue. Yes, I unzipped it and moved the FlyCasual.app to the apps folder before doing the terminal thing. (Sorry for not being clear)

Baledin commented 9 months ago

You're good, I just wanted to make sure. Thanks for confirming. I'll take a peek at the build options, I don't believe anything had changed between .02 and .03 as far as how I built them.

Baledin commented 9 months ago

An alternative workaround to the signing issue (which chmod +x * is supposed to get around) is to use the following: execute "xattr -cr <path to build>"

HrPating commented 9 months ago

I made it work: Opening a terminal window. Writing: sudo chmod -R 755 /Applications/FlyCasual.app App opens and works fine

I googled your last suggestion after not making it work and got here: https://issuetracker.unity3d.com/issues/macos-build-is-damaged-and-cannot-be-opened-error-when-downloading-unity-build-from-internet

Baledin commented 9 months ago

I'm glad it worked! I was about to send you a zip with a rebuild to see if doing a clean build fixes it. Any suggestions for the txt file to help others is greatly appreciated.

MacOS is the only OS that I do not have a test bed to work with here so I'm a little in the dark trying to fix these issues.

HrPating commented 9 months ago

Edited the readme.txt with the command that worked for me. Just to be clear, all earlier builds have worked for me with just using the first command (chmod +x *). So I don't know what the problem is. I know nothing about unity :/

Readme.txt

Baledin commented 9 months ago

I'll update the Readme.txt file for the MacOS download. This looks like it's a permissions issue when trying to execute the application in MacOS (not a build issue). Apple doesn't like non-AppStore applications and makes it very hard to run them. Thanks for your work on this!