Setup.sh doesn't work for 4.9 release branch

After checking out release branch from github for 4.9, ./Setup.sh script which downloads engine dependencies for building UE4 source code fails with the following error message:

Failed to download 'http://cdn.unrealengine.com/dependencies/2672455-c35b27396fee4aed831d1e3a67e6e8ce/307c657dc307e9c26bbf6cf06c221854bb33012f': /Users/saim/Projects/UnrealEngine/Engine/Binaries/Mac/UE4EditorServices.app/Contents/MacOS/UE4EditorServices.dsym is a directory (UnauthorizedAccessException)

I tried master branch again after this error. ./Setup.sh works.

http://d.pr/i/18uvG

Hey mindblender-

I cloned the release branch and was then able to run ./Setup.sh and ./GenerateProjectFiles.sh. The error that you posted refers to a Mac folder, are you using the source code on Linux or on Mac? If you’re on a Mac you want to run Setup.command rather than Setup.sh.

Cheers

I’m on mac. Ah, I didn’t know that I was supposed to use Setup.command instead of Setup.sh.

The command succeeded when I deleted the target app file under the Engine/Binaries/ I guess it was placed there when I built UE4 from source code.

Thanks!

Setup.bat, Setup.command, and Setup.sh all preform the same task for Windows, Mac, and Linux (respectively). The platform you’re on determines which file needs to be ran.