In the \"Run Script\" build phase of my project, everything works if I type in the script into the text box for \"run script\" in build phases.
But to make editing /
Just use
chmod u+x nameofscript.sh
Thats it .