Pod Error in Xcode "Id: framework not found Pods"
This has fixed it for me:
- Open up the workspace.
- Click on the blue project icon (that expands into your file tree) on the left hand side of the screen
- Just to the right, select "Targets" (as opposed to "Project"--Project is blue, Target is like a pencil and a ruler and a paintbrush making a triangle)
- Click on the General tab
- Go to the "Linked Frameworks and Libraries" section (all the way at the bottom)
- Delete the Pods frameworks
- Add Alamofire and SwiftyJSON
In my case, it didn't work unless I removed the pods frameworks, but I get the feeling that this is a workaround. Perhaps someone with more experience can comment.
Sometimes after renaming a target or moving something, you can corrupt your pods installation. Luckily, there's an easier way to fix it than sudo make install
's solution.
- Run
pod deintegrate
to remove any trace of Cocoapods from your project. - Run
pod install
again to add it all back.
That's it, fixed.
My issues is when i ran test i got this error. Because i just install it in my
target 'Project' do pod 'xxx'end
You should also add it into your test target:
target 'ProjectTests' do pod 'xxx'end