pawel.kalisz pawel.kalisz - 4 months ago 35
iOS Question

How to add cocoapods to existing workspace not project

I am working on a project which is composed of three other projects in a workspace. I want to use CocoaPods to manage my dependecies in the workspace, but CocoaPods always creates its own workspace with only one addtional project. What I want to do is to add CocoaPods project to the workspace that already exists. Is there any simple way to achive that?

Answer

You can specify a workspace in your podfile.

workspace 'MyWorkspace'

Please consult this link for more info: http://guides.cocoapods.org/syntax/podfile.html#workspace

Comments