Using both environments 
OS X 10.8.5 + Xcode 5.1.1 or 
OS X 10.10.3 + Xcode 6.3

1. If I add a Run Script to the Target Build Phases and drag it to before the 
Compile phase
the script executes and any output is added to the Build log.

2. But if I edit the Scheme and add it there instead of the Target Build Phases 
nothing appears in the Build log.
    In fact it's not clear to me that the script is even executed in this case.
    How could I tell?

The script is a file in the project and has the .command extension and chmod u+x
The script is just a test and it looks like this:
#!/bin/sh
cd /Volumes/Data/Development/MyProjects/test
echo "this is text from the script in the scheme settings"

So why does it not work at the Scheme level? Isn't that a Project level setting?

respect….

Peter



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to