运行自定义 shell 脚本 '[cp] embed pods frameworks' no such file or directory [英] Run custom shell script '[cp] embed pods frameworks' no such file or directory

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

问题描述

在转换为 Swift 3 后刚刚解决了我的错误,只是在尝试编译时出现此错误.为清楚起见,我附上了一个屏幕截图,它看起来不像系统正在寻找 .app 文件或 .sh 文件.真的不太了解 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!

推荐答案

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

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 框架.

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' no such file or directory的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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