- Home /
Question by
imen · May 19, 2015 at 08:25 AM ·
build-errorunity 4.6macosxiconcommand-line
Standalone MacOS build - PlayerIcon.icns problem
Hello,
I'm using Unity with command line. To generate Standalone MacOSX build, I used this command :
-quit -batchmode -nographics -projectPath "C:\Program Files (x86)\Jenkins\userContent\AngryBots" -buildOSXPlayer "$WORKSPACE/Builds/AngryBirds"
I noticed that the AngryBirds.app application is well generated, but I have this problem in the build steps :
Cancelling DisplayDialogComplex: Opening file failed Opening file C:\Program Files (x86)\Jenkins\jobs\MacOSAppWindows\workspace/Builds/AngryBirdsX/Contents/Resources/**PlayerIcon.icns** failed: The specified path is not found.
This error is not generated when I build with Unity Editor and the PlayerIcon.icns is well generated in the specific folder.
I can't understand the problem, should I use postBuildProcessor to create PlayerIcon.icns ?
Comment
Answer by NickSmart · Nov 08, 2016 at 02:05 PM
You're missing the ".app" that you need after AngryBots/Birds
at least that was the solution for me when I had this problem.