Celal TOK
Celal TOK

Reputation: 31

How can I integrate the pod into projectname.xcworkscape?

Normally we integrate a pod into the xcodeproj file and after integration .xcworkspace is created. But I already have projectName.xcworkspace in my project. How can I integrate the pod file into the projectName.xcworkspace file in my project?

This is the structure of my project:

porjectName:
 -projectName
 -projectName.xcodeproj
projectName.xcworkspace
projectNameApi:
 -projectNameApi
 -projectNameApi.xcodeproj

Upvotes: 2

Views: 265

Answers (1)

Federica Benacquista
Federica Benacquista

Reputation: 843

You still integrate them as you did for your xcodeproj, edit your podfile, save it, go back to your terminal and write pod install.

Actually, whenever you have to integrate pods somewhere, open your terminal, write cd drag the folder containing your project in your terminal and press return so that you'll be in the right directory. Then write pod init and open the pod file, you write the pod names then save. You return to your terminal and write pod install. All done.

Upvotes: 1

Related Questions