Viktor Vostrikov
Viktor Vostrikov

Reputation: 1522

How to publish current framework as cocoapods without creating a new one?

I have hard time in publishing current framework to cocoaPods.... I found that in order to publish framework you need to run pod lib create. However, that creates completely new project, while I want to publish my current framework... How can I distribute my library without creating new project and copying all files and double checking git and etc...

Upvotes: 0

Views: 225

Answers (1)

Paul Beusterien
Paul Beusterien

Reputation: 29572

Create a podspec describing your framework. See the podspec manual at https://guides.cocoapods.org/syntax/podspec.html.

BTW, CocoaPods never uses existing Xcode projects for libraries. CocoaPods creates a new workspace for CocoaPods consumers that combines their existing project into an Xcode workspace with the requested CocoaPods.

Upvotes: 1

Related Questions