resin_squirrel
resin_squirrel

Reputation: 410

Run custom shell script '[cp] embed pods frameworks' no such file or directory

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!

enter image description here

Upvotes: 15

Views: 18905

Answers (4)

pavan
pavan

Reputation: 1

add below lines in Build Phase -> [CP] Embed Pods Frameworks

${PODS_ROOT}/Target Support Files/Pods-Swiftlly/Pods-Swiftlly-frameworks.sh

It is working for me

Upvotes: 0

BreezeLv
BreezeLv

Reputation: 1

Swift4/5 Xcode10 Same Issue...

After upgrade cocoapods, reset pods, clean the build folder...., all these tries, it still fails... until I found this post.

However, there's no space in my project name, but do have a special characrter <'> in it. I decided to give it a try to see if it is the source of issues. After following along the instructions in how-do-i-completely-rename-an-xcode-projec, the project builds successfully, finally.

So just a note: avoid using space or other special characters in the project name, that may cause some unexpected errors

Upvotes: 0

PVCS
PVCS

Reputation: 3867

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

Upvotes: 7

resin_squirrel
resin_squirrel

Reputation: 410

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!

enter image description here

Upvotes: 26

Related Questions