一个Unity项目,需要用Xcode运行,结果报了错误
/Users/wangxiangheng/Library/Developer/Xcode/DerivedData/Unity-iPhone-caapxbvroiduvqcchhzstejxeczr/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Script-033966F41B18B03000ECD701.sh: line 2: /Users/wangxiangheng/Desktop/IOS/MapFileParser.sh: Permission denied
之后再终端 输入 chmod +x /path(MapFileParser.sh文件的路径)解决了该问题,
例如本项目,终端输入:chmod +x /Users/wangxiangheng/Desktop/IOS/MapFileParser.sh
参考链接:http://stackoverflow.com/questions/20200720/cordova-xcode-build-failed-permission-denied