Reputation: 197
I have a question about pod files. I'm writing a README, and I'm not sure if other people need to run pod init and pod install when they clone my project to their Xcode. I used three cocoapods, 'SwiftyJSON', 'Alamofire', 'Kingfisher'.
I just need to submit my project to other people and the app is not on the app store, so I want to know how they can run my project.
Upvotes: 0
Views: 1507
Reputation: 9935
After downloading your project a user has to execute the command
pod install
Differences between init and install commands:
To create the PodFile, execute
pod init
To download all the dependencies defined in Podfile, execute
pod install
Upvotes: 2
Reputation: 193
pod init
is only used for initiating the pods, to install the pods for a project whether from a repo or clone all you will need is pod install
. Just make sure you commit the pod files along with the project.
Upvotes: 0