简体   繁体   中英

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...

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM