运行自定义shell脚本'[cp] embed pods frameworks'没有这样的文件或目录 [英] Run custom shell script '[cp] embed pods frameworks' no such file or directory

查看:616
本文介绍了运行自定义shell脚本'[cp] embed pods frameworks'没有这样的文件或目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

转换到Swift 3之后刚刚完成解决我的错误,只是在尝试编译时遇到此错误。为了清楚起见,我附上了截图,看起来系统看起来不像.app文件或.sh文件。真的不太了解Pods,所以任何帮助都将不胜感激!



解决方案

似乎找到了解决方案。我的项目名称在两个单词中间有一个空格,我知道非常糟糕的练习。不完全确定是什么导致了这个错误,尽管人们可能会得出结论,因为问题起源于Pods框架,它可能与Cocoapods有关,而不是迁移到Swift 3。



<在广泛搜索此问题的解决方案后,我将问题追溯到我的项目的Pods框架。



修正突出显示的行上单引号的双引号,并立即构建项目。希望这有助于其他人遇到类似问题!




Just finished resolving my errors after converting to Swift 3 only to get this error when trying to compile. I have attached a screenshot for clarity, it does not look like the system is looking for a .app file or .sh file. Really don't know too much about the Pods, so any help would be greatly appreciated!

解决方案

Seem to have found a solution. My project name had a space in the middle of two words, very bad practice I know. Not entirely sure what caused this error, though one could possibly conclude that since the problem originated in the Pods framework, it could be related to Cocoapods, rather than migration to Swift 3.

I traced the problem to the Pods framework for my project after searching extensively for solutions to this problem.

Fixed the double quotes to single quotes on the line highlighted, and the project built instantly. Hope this helps anyone else having a similar issue!

这篇关于运行自定义shell脚本'[cp] embed pods frameworks'没有这样的文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆