运行自定义shell脚本'[cp] embed pods frameworks'没有这样的文件或目录

时间:2022-05-26 02:22:32

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!

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

运行自定义shell脚本'[cp] embed pods frameworks'没有这样的文件或目录

2 个解决方案

#1


26  

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.

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

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

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

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

#2


4  

• Just restart your system..... It Looks crazy but my problem solved.

•只需重新启动系统.....看起来很疯狂,但我的问题解决了。

#1


26  

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.

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

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

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

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

#2


4  

• Just restart your system..... It Looks crazy but my problem solved.

•只需重新启动系统.....看起来很疯狂,但我的问题解决了。