Mogenerator not found by Xcode
问题 I'm trying to use Mogenerator in my iOS project developed in Xcode 5. I've installed Mogenerator with brew: brew install mogenerator then link: brew link mogenerator After that I have access to this tool from my command line. Next I'm trying to add one more step (script executing) in build phases (shell /bin/sh): mogenerator --model "${PROJECT_DIR}/MyProject/Model.xcdatamodeld/Model.xcdatamodel" --output-dir "${PROJECT_DIR}/MyProject" --template-var arc=true In effect I get error: line 2: