1

I got the error as shown below. I don't know what did i miss? How can i solve this issue as shown in image below:

/Users/nischalhada/Documents/XcodePro/mnepalnews-revisited-2.0/CoreData mogenerator not found Command /bin/sh failed with exit code 1

enter image description here

Screen shots of run script

enter image description here

I am unable to solve my problem after study of following Mogenerator not found by Xcode,

Mogenerator Assertion failed: (momcTool && "momc not found"), function -[MOGeneratorApp setModel:]

Mogenerator Assertion failed: (momcTool && "momc not found"), function -[MOGeneratorApp setModel:]

how to fix the issue "Command /bin/sh failed with exit code 1" in iphone

I have done both of the following but it doesn't work out

First Methods

enter image description here

Second methods

enter image description here

Community
  • 1
  • 1
Nischal Hada
  • 3,230
  • 3
  • 27
  • 57

1 Answers1

0

mogenerator is not in your Xcode PATH.

You can modify your run script to specify the full path for mogenerator:

/usr/local/bin/mogenerator --model ...