Creating Cocoapod for a quick structure

I plan to make Cocoapod for my frameworks written in Swift, which is posted on github here . I looked at the Cocoapod documentation, but I can’t wrap it around me.

Can someone explain how to achieve it or point to some tutorial that will explain this.

0
source share
1 answer

It is pretty simple. I found this video tutorial incredibly useful when I started. It is for Objective-C, but in Swift should be pretty much the same.

Also, the video is from a few years ago, so when it tells you to “make a request to migrate to Cocoapods speco replicas,” just ignore it. As this video appeared, Cocoapods stopped accepting download requests to its specs repository. Now you need to run a command called trunk , which allows Cocoapods to automatically add the specification. You can learn more about it here.

You might also find it helpful to familiarize yourself with some examples of Swift pod specifications, such as this.

+1
source

Source: https://habr.com/ru/post/972927/


All Articles