记录一下明天的大坑,xcode工程里有一个文件叫target support files的目录.没错你没看错,就是带空格的目录.咋之前听网上说是这样写、那样写,无非就是这两种
1.给门路加""

dirPath="YourProject/target support files"cd $dirPath

2.再加本义\

dirPath="YourProject/target\ support\ files"cd $dirPath

以上两种办法在mac上都行不通,会报YourProject/target not found,上面才是正确的写法

cd YourProject/target\ support\ files

你没看错,就是不要双引号