Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 281 Vote(s) - 3.58 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to develop custom cocoa-pod of your existing Xcode project?

#1
If you want to create you own cocoapods with storyboards, XIBs, resources and with other frameworks such as Alamofire, MBProgressHUD etc.
Reply

#2
> Easy steps to create Cocoapod from existing xcode project

- Create a repository on your git account (Repo name, check README,
choose MIT under license).
- Copy the url of your repository.Open terminal and run following command.


**git clone copied your repository url**

- Now copy your Xcode project inside the cloned repository folder on
your Mac. Now run following commands

**git add -u to add all files (if not added use: git add filepath/folder)**

**git commit -m "your custom message"**

**git push origin master**

- Create a new release to go to your git repository or run following commands

**git tag 1.0.0**

**git push --tags**

- First, we need to make sure that you have CocoaPods installed and
ready to use in your Terminal. run the following command:

**sudo gem install cocoapods --pre**

**Creating a Podspec** 

- All Pods have a podspec file. A [podspec][1], as its name suggests,
defines the specifications of the Pod! Now let’s make one, run
following command on terminal

**touch PodName.podspec**

- After adding and modifying your .podspec file. Validate your .podspec
file by hitting following command on terminal

**pod lib lint**

- Once you validate it successfully without errors run following
command to register you and build cocoapod respectively

**pod trunk register <Your Email>** 

**pod trunk push PodName.podspec**


If all goes well, you will get this on terminal
> 🚀 PodName (1.0.0) successfully published
>
> 📅 February 5th, 02:32
>
> 🌎

[To see links please register here]

>
> 👍 Tell your friends!

Yeah!!!!! congrats you have got your pod link. Use wherever you want to use it.


[1]:

[To see links please register here]

Reply

#3
Here is some useful links . You can follow the same.

[To see links please register here]


[To see links please register here]

Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through