How to Select a Project in My Podfile? I'm Getting the Error: Unable to Find the Xcode Project for the Target 'Pods'

How do I select a project in my Podfile? I'm getting the error: Unable to find the Xcode project for the target 'Pods'

Reiterating our original conversation:

Accordingly to Podfile Syntax Reference the Podfile looks right.

Make sure you are running $pod install from your project directory:

/Users/myName/Developer/SimpleWeather

Pod Install: Unable to find source ref for target

I figured out how to get CocoaPods working! It seems there might be an issue installing pods on a secondary macbook account even though the account has full admin privileges. I logged into the primary or initial account created on the macbook, installed CocoaPods and pod install was able to install dependencies. I will also need to work on my project on the primary account instead.

CocoaPods Errors on Project Build

I had a similar problem when I did major changes to my Podfile. My solution was to remove the workspace file and run pod install again:

rm -rf MyProject.xcworkspace
pod install


Related Topics



Leave a reply



Submit