简体   繁体   English

xcode Shell脚本调用错误:没有这样的文件或目录

[英]xcode shell script invocation error: No such file or directory

Used this tutorial to create my debug/release configurations. 使用本教程来创建我的调试/发布配置。 Getting this error: 收到此错误:

cp: “/Users/MyUserName/Projects/MyProjectName/Debug.plist”: No such file or directory

Problem is that i already have this file at this directory and even using in terminal : "open /Users/MyUserName/Projects/MyProjectName/Debug.plist" opens it with no problem. 问题是我已经在此目录中拥有此文件,甚至可以在终端中使用该文件: "open /Users/MyUserName/Projects/MyProjectName/Debug.plist"打开它。

The answer is here . 答案这里 Just avoid curly quotes, when using your shell scripts. 使用shell脚本时,只需避免使用大括号。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM