Unity builds for StandaloneOSX are not runnable.
See original GitHub issueWhen building for StandaloneOSX, the resultant file uploaded to artifacts isn’t runnable.
If you add executable permissions to the artifact the project can then be run.
chmod +x [PATH-TO-ARTIFACT]/StandaloneOSX/StandaloneOSX.app/Contents/MacOS/*
I’m not entirely sure where this would be added in the build pipeline, but I imagine these permissions should be added prior to artifact upload.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:10
- Comments:19 (12 by maintainers)
Top Results From Across the Web
Problems With MacOS Cross Platform Build - Unity Forum
Hello, so I'm attempting to build my game for my friend who uses a mac and found that he couldn't run the file...
Read more >Scripting API: BuildOptions.BuildScriptsOnly - Unity - Manual
The script builds the entire Project initially. After you've run the script for the first time, you can use the script to only...
Read more >unity3d - Unity Build - Standalone file - Stack Overflow
Basically... You need to pack (age) the build of the app. (Note the boxing app in the linked tutorial is just an example....
Read more >Local Build run but produce no builds (#165) · Issues - GitLab
ci/for_local_build.sh # BUILD_TARGET=StandaloneOSX . ... Actual Result: There is no build under UNITY_DIR/Builds/BUILD_TARGET.
Read more >Builder - GameCI
GameCI does not acquire nor store your Unity email or password. They are required for reactivating the license during build and test steps....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It sounds like distributing a macOS app pretty much now requires going through the
codesign
process. I believe the initial issue (builds not runnable withoutchmod +x path/to/executable
) has been fixed, so maybe we should close this issue and open a new issue for documentation about macOS distribution? We may want to create adocs/github/deployment/macos
page that goes intocodesign
, notarization, and maybe even fastlane for mac apps.None of the above worked for me however I did notice with the downloaded application that it has extra attributes when running
If i run the following command on the file then it opens fine.