"pod install" returns "[!] Unable to find a target" "pod install" returns "[!] Unable to find a target" ios ios

"pod install" returns "[!] Unable to find a target"


For me, i changed the name in Project target, pay attention, let it be the same name

Target name in project same in target Name CocoaPods

Targets NameAppPod NameApp


You may have forgotten to run the pod setup command.


In my case, that error referred to a target that did exist, a utility target irrelevant to Cocoapods. I chose to remove this target from the Podfile that I had generated via pod init.

My utility target was, MOGenerator, for those curious.