0

I'm trying to test my app into the simulator but I have this error:

"No such file or directory"

This is just the last word.

All the error is this:

/Users/g4b0cu4dr05_c4rd3n4s/Library/Developer/Xcode/DerivedData/CityLines-desdmmzxgmoemhavllwykbcogetw/Build/Intermediates/CityLines.build/Debug-iphonesimulator/CityLines.build/Script-1B1FAC6D1C0E6D02003951B3.sh: line 2: /usr/local/bin/carthage: No such file or directory

rmaddy
  • 314,917
  • 42
  • 532
  • 579

2 Answers2

5

The answer was pretty easy: I just have to reinstall the pod file and the Carthage file and everything works nice.

peterh
  • 11,875
  • 18
  • 85
  • 108
  • Brother I posted my answer according to what you posted the question and also it's error.I gave you points which what other have given answer or posted answer.That's the reason why I also gave links but I don't know why people downvoted my answer. – user3182143 Sep 05 '16 at 15:38
1

Do the following things

  1.Close the XCode
  2.Delete the app from simulator
  3.Quite XCode
  4.Go to library ->developer->XCode->Derived Data->Then delete your above script..... File or folder.
  5.Now finally clean and run the application.

below reference

Xcode- 7: No such file or directory

Xcode suddenly stopped running project on hardware: "Could not launch xxx.app: .. No such file.."

Community
  • 1
  • 1
user3182143
  • 9,459
  • 3
  • 32
  • 39