没有这样的文件或目录XCODE 7

时间:2016-03-17 02:20:05

标签: ios xcode xcode7

我正在尝试将我的应用程序测试到模拟器中但是我有这个错误:

  

“没有这样的文件或目录”

这只是硬道理。

所有错误都是这样的:

  

/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:没有这样的文件或目录

2 个答案:

答案 0 :(得分:5)

嘿伙计们,感谢您的帮助,答案很简单,我只需要重新安装pod文件和Carthage文件,一切都很好! :d

答案 1 :(得分:1)

做以下事情

  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.

以下参考

Xcode- 7: No such file or directory

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