3

Some weeks ago I've created an interactive transition in Objective-C.
I've created a repository on GitHub and I've hosted a project which contains the transition classes and the example code to handle it.
My routine is the following:

  1. Make changes locally in Xcode
  2. Commit them
  3. Push them to the remote repository on GitHub
  4. Review Pull request

Now many user ask me to integrate the transition with CocoaPods.
Personally I love CocoaPods and I integrate it in all my project, but I don't have made any cocoapod yet.
I've read the official guide and tutorial like this one, but these are about project from scratch.
I'm wondering how to integrate the cocoapods template (Example + pod) with my existing project on GitHub (and locally).
I know there is the command pod lib create COCOAPOD_NAME , but it create a template (Example + pod) from the scratch that it is not sync with the repository on GitHub.

I''ve also read this Stackoverflow answer, but this is not clear to me.

1 Answer 1

2

If you want create pod from existing project it's very simple :-) I also make it the other day.

Firstly you need create podspec and fill with your information (also don't forget add license, it's very important).

Secondly just follow the instructions like this

After your podspec will be success you need push it all in trunk (it's very simple)

Maybe you help my lib (.travis don't need in start) SimpleKit

Sign up to request clarification or add additional context in comments.

1 Comment

Your lib is not available. I still can't find solution.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.