How to create your own CocoaPods framework

Hello Everyone,


I hope you are well aware with CocoaPods and how to use this inside your XCode projects. If you are not well aware, follow my previous blog about how to use CocoaPods.


Now it is time to learn to build your own Pod framework.


Setup – What you need?


  • git account.
  • Make sure git is installed in your Mac machine. Because we will do all git commands from terminal only. (using source tree or any other application for git commands is not recommended)
  • Make sure your system is updated and you have latest Ruby Gems installed.
        $ sudo gem update --system
  • Install CocoaPods if you don’t have Pods installed in your Mac machine.
        $ sudo gem install cocoapods


Create your Pod framework


  1. Open terminal and redirect to desired folder where you want to put your Pod Framework.
  2. Create your framework with the command pod lib create. Here I am giving my Pod framework name ‘MZFacebookManager’.
       $ pod lib create MZFacebookManager

This will ask you some series of questions. You can answer based on your choice. Like for my case I have given answers like this:


       What language do you want to use? [ ObjC / Swift ]
        - ObjC


       Would you like to include a demo application with your library? [ Yes / No ] 
        - Yes


       Which testing frameworks will you use? [ Specta / Kiwi / None ] 
       - None


       Would you like to do view based testing? [ Yes / No ]
       - No

  5.   What is your class prefix? 
       - MZ

Once you are done it will create the folder for MZFacebookManager. Inside this you can see structure like:



.podspec file at the root is important file. This will contains your Pod version, dependencies, git url etc with some other Pod descriptions. You can edit the details, version and also define dependencies if your Framework is using any other third party Framework. Like in my case, my Framework is using ‘FBSDKLoginKit‘ and ‘FBSDKCoreKit‘.



Once you are done with editing of podspec file you need to validate this file. You can do this with 

Pod lib lint command.

      $ pod lib lint




Now open github website and create a new repository for MZFacebookManager (give your Framework name).

Once it is created, go back to terminal again and push your code (You can also ignore this Push if you don’t want to push a default code on your git).


But if you want to push, just make sure once again your .podspec file is defined the correct url of git repository.


      s.source = { :git => '', :tag => s.version.to_s }


Push your code on git: 

      $ git push


This will push the default code of your Framework. Now open XCode again and add your Framework files.


  • Delete ReplaceMe file
  • Add your ObjC or Swift files (based on the project type you have chosen at the start)
  • Like i have added three files inside development i.e. MZFacebookManager.h, MZFacebookLoginManager.h and .m files. These files will show when you install the Pod Framework.


Once all files added and there is no error in your code. Update the version of your Framework by updating this inside .podspec file (0.1.1) and run lib lint command again to make sure everything is correct.

      $ pod lib lint

When validation success, now first push the code on git by giving a tag.


      $ git tag 0.1.1 
      $ git push origin 0.1.1


Push your Pods Spec


      $ pod trunk push MZFacebookManager.podspec 


At first time you will get the error message to resgister your session:

      [!] You need to register a session first. 

   $pod trunk register 'Muzammil' --description='Testing'


Replace my email id and name with yours. This will send a verification link on your mail. Once you verified, you can continue with terminal.

   $ pod trunk push MZFacebookManager.podspec 

If all goes well Pod spec successfully update on git and you can see it is showing the description and other Pod details on home page of your git repository.

You can also add –verbose in lib lint and trunk push command to see the detail result (in case of error).

If you open your github repository, you can see screen like this:



  # Create Library
    pod lib create LibraryName


  # Verify podspec
    pod lib lint


  # Push the podspec
    pod trunk push LibraryName.podspec


Yeah! You are done with your first Pod Framework. It’s time to have some nice coffee.


Still facing any issue with Pod? Or want to be in touch with us? Contact us at:




Triffort Technologies Pvt Ltd



Posted in iOSiPhone | iPadTechnology | Tagged appsCocoaPodsframeworkiPad Introductioniphone, librariesLibraryoutsource, PodpodsPodSpecrubytriffort

6838 Comments - cialis online cialis buy cialis

cib slots games free

ilm hypercasinos

yty cbd oil in canada

wgt green roads cbd oil

rps borgata online casino

ohd cbd oil stores near me

qbz pure cbd oil

click here

jsg casino real money

ejg cbd oil at walmart

gtz pch slots

iwf pure cbd oil

glc cbd

nrs cbd vs hemp oil

knr cbd oil dosage

bad credit loans

abu vegas world slots

bzb free casino games slots

nbv vegas world casino games

xdk free casino games

zjz cbd vs hemp oil

zgx borgata online casino

nah hollywood casino play4fun

hje cbd oil cost

orn hemp oil store

bib plus cbd oil

mqm full spectrum hemp oil

bal cbd oil

zbh buy cbd online

gxt dakota sioux casino

nap virgin casino online

hmj play free vegas casino games

liy cbd oil prices

zlm three rivers casino

cci real casino

cts cbd oil uk

vpv hemp oil vs cbd oil - viagra generic Viagra without doctor prescription viagra

lkm free casino games online

gwt cbd oil online

xer cbd oil at walmart

rvr doubledown casino

vva play free vegas casino games

ewu online gambling - cialis online generic cialis online online cialis

wft best cbd oil

kcq hemp oil extract

wtd what is hemp oil good for

mbe best cbd oil

wvq hemp oil for pain

uji cbd

hfp side effects of hemp oil

rvf cbd oil uk

xyp zilis cbd oil

bjq vegas world slots

mfh slots casino games

pdt vegas slots

cpn empire casino online

hbl hyper casinos


uve play free vegas casino games

giq vegas casino slots

tfe cbd hemp oil

jgf big fish casino

afj buy cbd oil

vbq cbd oil for sale

umh cbd pure hemp oil

lgr play slots online

trt side effects of hemp oil

yhr slots online

glf online casino real money

ofp free casino games no download

xkn nutiva hemp oil

cheapest tadalafil

kxj cbd oil online

gns hemp oil vs cbd oil

iuu pala casino online

sde slotomania free slots

ipp what is hemp oil

vqv plus cbd oil

bwp gsn casino slots

sxr best hemp oil

sfh cbd oil uk

ize zilis cbd oil

crv zilis cbd oil

ruf cbd oil online

tadalafil india 20mg - cialis online ?»?cialis cialis online

order allopurinol online

kkm caesars free slots

osu world class casino slots

ukr free online casino games

bph healthy hemp oil

bgo vegas casino online

mme slots free games

zcy royal river casino

qsu casino game

nnq bovada casino

ihd optivida hemp oil

rem cbd oil side effects

fzp healthy hemp oil

tck best cbd oil for pain

shv pch slots

tadalafil tablets 20mg

iuj cbd

ykc empire city casino online

lho charlottes web cbd oil

iga where to buy cbd oil

fsy cbd pure hemp oil

vzc free casino games slot

jfp hemp oil for pain

nsw hemp oil benefits

qkf buy cbd online

wee free casino games

cfh hypercasinos

vardenafil buy cafergot tadalafil 20

hgr cbd oil for sale

aek vegas slots online

nar cbd oil price

vjj cbd oil canada

jig buy cbd new york

kli real money casino

crl free slot games

gml penny slots

asw casino bonus

chewable viagra soft tabs

jqc charlottes web cbd oil

jmz optivida hemp oil


cwe free casino games slotomania

yxt cbd oil

wig pure cbd oil

ifi jack online casino

uud three rivers casino

fwd green roads cbd oil

jtr cbd oil - albuterol buy

evz best cbd oil

kcf cbd oil

gci slots games free

aue nutiva hemp oil

glu full spectrum hemp oil

rad hollywood casino

qwz hemp oil benefits dr oz

nkz vegas world free games online

ixn casino online

otl slots lounge

mwk lady luck online casino

ylr benefits of hemp oil

jva casino free

kfr cbd oil canada

car empire casino online

vhy cbd oil vs hemp oil

qqo vegas world casino games

grs slots games

egm what is hemp oil good for

tgh zilis cbd oil

win walgreens cbd oil

tadalafil 20 mg

kpq cbd pure hemp oil

mcn casino real money

myg pala casino online

vdn cbd oil price

whz healthy hemp oil

fhw zilis cbd oil

cqv cbd oil uk

daw slotomania free slots

ver charlottes web cbd oil

sjy cbd oil prices

ime hemp oil cbd

kwc optivida hemp oil

qte casino free

zcq fortune bay casino

ecj casino play

uqo full spectrum hemp oil

lni vegas slots

adc casino slot machine games

buy female viagra online

yqb online casino real money

cafergot tablets

tom slots free

tuo pala casino online

twf cbd oil

yaz casino slot machine games

wap sugarhouse casino online

shy optivida hemp oil

aad hemp oil benefits

kih cbd oil in canada

lek hemp oil benefits dr oz

ewm organic hemp oil

prs buy cbd online

hyl hemp oil for dogs

ntb hemp oil cbd

ixd online casino gambling


nmo winstar world casino

tof penny slots

tmm full spectrum hemp oil

ebo hemp oil benefits dr oz

vgw casino game

nwn fortune bay casino

gow cbd oil online

gpg zilis cbd oil

wwg charlottes web cbd oil

lfy online casino games free

mxe cbd hemp

pzq 300 free slots no download


jes empire city online casino

jvd heart of vegas free slots

fgl vegas casino online


woh virgin casino online

hif what is hemp oil good for

ghs hemp oil cbd

fct zilis cbd oil

ozg optivida hemp oil

ean hemp oil

pyk sugarhouse online casino

iie cbd oil prices

dqr cbd oil for sale

otq hemp oil for pain

gsi cbd oil price

vel chumba casino

ova online gambling casino

zgk hemp oil

bef bigfish casino online games

qyt free casino games slot machines

giz walgreens cbd oil

gmg best hemp oil

urg caesars online casino

jpp gsn casino slots

where to buy vardenafil

rzv casino slot

dbn hemp oil benefits dr oz

azithromycin prescription

xld penny slots free online

cme hemp oil extract

ohi high five casino slots

fus cbd pure hemp oil

rjm cbd oil dosage

oxy cbd hemp oil

iru healthy hemp oil - buy viagra ?»?viagra viagra online

dsg cbd oil in canada

payday loans online

ipf side effects of hemp oil

uca free slot machines - viagra online buy viagra generic viagra

tnb slot machine free

check this out

dco hemp oil store

pfa slots online

qgx free slot games

vardenafil 20mg

lpo cbd oil vs hemp oil

kzc real money casino


uqm online casino gambling

nha cbd oil benefits

tno nutiva hemp oil

wlp hempworx cbd oil

how long to pay off loan

hjk buy cbd usa

psi chumba casino

pxj free slots games

oqn free online casino games

gix organic hemp oil

qhu sugarhouse online casino


dxn hemp oil

vlx walgreens cbd oil

gpm pure cbd oil

myy cbd oil

yui vegas casino slots

onn free casino games online

wellbutrin xl 300 mg

tvw foxwoods casino online

eiu cbd oil canada

kgj hemp oil side effects

yhi three rivers casino

mbm free slots 777

azithromycin pack

xdp nutiva hemp oil

vtu world class casino slots

ukn casino bonus

rjd benefits of hemp oil for humans

szp hemp oil for pain

lvc pure cbd oil

yqs hemp oil store

jyp real casino games slots free

hay cbd oil uk

zbm slotomania slot machines

ykv mgm online casino

bts cbd oil dosage

hvy online slot machines

ycv cbd hemp

yci real casino slots

zbi cbd oil stores near me

drg cbd oil side effects

dos cbd oil online

ucc nutiva hemp oil

tki cbd pure hemp oil

yim where to buy cbd oil

ipr chumba casino

tqm casinos in iowa

hmk slotomania slot machines

gdb free casino games no download

azq firekeepers casino

jah vegas casino online

aed what is hemp oil good for

pya hemp oil for dogs

qlo big fish casino

hby casinos online

itl organic hemp oil

tjq empire city casino online

xuv buy cbd new york

tlo online slot machines

pgz cbd oil side effects

azithromycin 200mg

cds slots casino games

qyn cbd oil for sale

wlh cbd oil dosage

mty hemp oil arthritis

vol cbd oil at walmart

cwr google free casino slot games

ahv hemp oil extract

czc cbd hemp oil

wgg where to buy cbd oil

ogz buy cbd new york

zro hemp oil for dogs

jte casino vegas world

anu slots games

txb borgata online casino

lci mgm online casino

lye pechanga casino


cxe three rivers casino

run cbd oil cost

yio benefits of hemp oil

hhd borgata online casino

zbd cbd oil stores near me

ysy free casino games slotomania

jbp cbd oil florida

vut hollywood casino online

hvm optivida hemp oil

xkl benefits of cbd oil

drw hempworx cbd oil

pkb cbd pure hemp oil

albuterol ventolin

aih hemp oil

tmx online slot games

coq cbd oil prices

iai slotomania slot machines - cafergot

msz hollywood online casino

rwg high 5 casino

where to buy levitra online

tiz cbd oil prices

btx benefits of cbd oil

generic cafergot

ynj slots of vegas

plj free online casino slots

uro cbd vs hemp oil

ssr free casino games slotomania

sag cbd oil

rko benefits of hemp oil

ypp benefits of hemp oil

kgu free casino games slot

xrp online slot machines

xwd cbd oil price

tmt slots games free

ihm free slots casino games

wew hemp oil arthritis

nou free online casino slots

ftb hemp oil side effects

aje best hemp oil

ikp buy cbd new york

mkv cbd oil benefits

ylw what is hemp oil

ffs posh casino online

mdu royal river casino

veb hemp oil for dogs

hkl virgin casino online

akj caesars online casino

pdy cbd pure hemp oil

mdy cbd oil stores near me

uwd casino play

bvt cbd oil side effects

tpb slots games free

vnf play casino

etq lady luck

icc vegas casino slots

zet cbd oil florida

kjm charlottes web cbd oil

yyr cbd oil for sale

pcw cbd oil in canada

pqy buy cbd online

kdt buy cbd usa

urc bovada casino

tyt hemp oil store

egi what is hemp oil

yji cbd oil online

lcg play slots online

bwx slot machine free

aht benefits of hemp oil for humans

tje casino games

tki cbd oil for sale walmart

gfj cbd oil in canada

mee house of fun slots

view website

uof rock n cash casino slots

uzo cbd hemp oil walmart

nhq where to buy cbd oil

xhi virgin online casino

gyu cbd oil dosage

kcx play slots

gyh casino online

tvs world class casino slots

hcb buy cbd oil

pjt cbd oil dosage

zdu hemp oil cbd

ptu hempworx cbd oil

xru cbd oil in canada

sug casino slot

nzb plainridge casino

jtm cbd oil for sale

afm plus cbd oil

nno empire city online casino

jgf casino play

ooe hemp oil benefits

vtt best hemp oil

loan interest

txu lady luck online casino

nfb cbd oil canada online

zdb free casino games online

dpo what is cbd oil

qdf cbd oil

qip online slot games

nmy online casino games free

xjd cbd oil canada online

ucs gold fish casino slots

kef buy cbd oil

khh zone online casino

cci benefits of hemp oil

gex casino game

cnf cbd oils

cho casino slot machine games

raa cbd oil for sale

rqf cbd oil for pain

qxp fortune bay casino

cheapest tadalafil

shb hemp oil store

akn walgreens cbd oil

payday lender

qvf pala casino online

dkf hemp oil arthritis

agb free casino games no download

cot buy cbd new york

payday lending

lyn buffalo gold slots

fuw cbd oil for pain

ira buy cbd online

lkn casino online

sfi vegas casino online

euu play slots

qil healthy hemp oil

sbk hemp oil arthritis

female viagra

simple loan

wjb play casino

kgw best cbd oil for pain

rei hemp oil benefits dr oz

cqg buy cbd new york

tel dakota sioux casino

ktu benefits of cbd oil

tpx hemp oil for dogs

daa buy cbd new york

tns free casino games slotomania

pbd free vegas casino games

zet borgata online casino

dqi strongest cbd oil for sale

ahe winstar world casino

rrr hempworx cbd oil

ijf charlottes web cbd oil

hry free coins slotomania

ukf plus cbd oil

lot online casinos for us players

fjc buy cbd

homework for me - generic viagra generic viagra viagra

htu prairie meadows casino

abe casino games free

bet cbd oils

llx cbd hemp

oqo buy cbd oil

loan bad credit

vfo what is cbd oil

xig optivida hemp oil

fru cbd oil canada online

zsp cbd oil for dogs

ire casino bonus

qbv cbd oil uk

xon cbd oil benefits

kcb plainridge casino

qon three rivers casino

buy allopurinol online

yks free casino games online

asy best hemp oil

aqh caesars online casino

cmz slots games

bya buy cbd new york

iwg cbd oil for sale walmart

dhu buy cbd new york

mss vegas casino online

bew gsn casino

rnj cbd oil florida

qcb gsn casino slots

yrx foxwoods casino online

levitra bayer

ugq free casino games

kpe cbd oils

aew cbd oil for sale walmart

eww cbd pure hemp oil

hjt free casino games vegas world

dwh nutiva hemp oil

jyz cbd oil canada online

xmi organic hemp oil

tid benefits of hemp oil for humans

cbm bigfish casino online games

adw cbd oil dosage

mzv cbd vs hemp oil

vje cbd oil canada online

vhp slots free games


rfd lady luck online casino

loq royal river casino

tvt casino games online

drs cbd oil price

gmn casino bonus codes

ule cbd oil dosage

ekv hemp oil for dogs

cce simslots free slots

xau optivida hemp oil

hpm casino games slots free - viagra buy viagra viagra

rlc benefits of cbd oil

iqh empire city online casino

payday loan guaranteed

ycp posh casino online

atg nutiva hemp oil

azithromycin 500

nxd cbd oil for sale walmart

xiq cbd vs hemp oil

ire zilis cbd oil

pkx heart of vegas free slots

generic atarax xenical buy online

wxa brian christopher slots

kww pure cbd oil

umy nutiva hemp oil

uuq cbd oil dosage

uoa best online casino

tsi online casino gambling

jin casino games free online


bal buy cbd new york

gwe penny slots free online

jsb benefits of hemp oil

evk hemp oil side effects

prp cbd oil florida

zxz vegas casino games

jcx casino games online

vkf cbd oil

drp best online casinos

egm hemp oil for dogs

mfj vegas casino online

fei nutiva hemp oil

ezj online casino real money

vjm casino bonus

vpa caesars free slots

biy buy cbd new york

ayd cbd oil prices

oqv cbd oil cost

vju cbd oil vs hemp oil

ens cbd oil canada online

drw cbd oil canada online

zbo nutiva hemp oil

hnv no deposit casino

nol las vegas casinos

rme where to buy cbd oil

xyj maryland live casino online

lisinopril - viagra generic viagra buy buy viagra - viagra viagra generic viagra

nlu pch slots

dpy benefits of cbd oil

ife vegas casino games

qar bovada casino - viagra pill viagra pill viagra online

lisinopril 20 mg tablets

syx cbd oil canada

fkw strongest cbd oil for sale

ley hallmark casino online

pnm free vegas slots

xdx buy cbd new york

tadalafil canada

bty casino bonus codes

yks cbd oil

elb online casino bonus

ewh hempworx cbd oil

gfp cbd oil benefits

oai cbd hemp oil walmart

ldb liberty slots

yro vegas casino online

cij buy cbd new york

dyh cbd oil price

npj cbd pure hemp oil

hak cbd oil in canada

rfx cbd oil dosage

gko what is hemp oil good for

ifn free online casino slots

vbm online gambling sites

xoz high five casino slots

wfs cbd oil at walmart

ilj cbd oil cost

ido chumba casino

oys parx casino online

nlv cbd oil

jzb online gambling sites

ppo jackpot magic slots

xmt slots free

ddp hemp oil benefits

vij hemp oil benefits

cfp slots of vegas

whs full spectrum hemp oil

ezr play slots online

kwv best cbd oil

jnj cbd oil for pain

ztl world class casino slots

iqf slots for real money

dvu cbd vs hemp oil

nye cbd oil dosage

psy online slot games

kss cbd oil price

fsg cbd oil price

saw play casino

slf nutiva hemp oil

wor big fish casino

xbw cbd oils

iuu hemp oil vs cbd oil

ztd cbd oil price

zwn bigfish casino online games

jpi parx online casino

rnz hemp oil cbd

ncs online casino slots

vrk online casinos

gdg free casino games slots

thp casinos in iowa

levitra for sale

qmk cbd oil florida

yhv cbd oil at walmart

pht slots games

hsa cbd oil cost

oxu cbd oil in canada

dpj free casino slot games

sts hemp oil benefits dr oz

sny cbd oil in canada

oou casino bonus codes

rea cbd oil

hom hemp oil arthritis

ygc hemp oil arthritis

ulo buffalo gold slots

rri dakota sioux casino

xqj walgreens cbd oil

hyw slots for real money

dsv cbd oil benefits

jvw pure cbd oil

aym jackpot magic slots

laf zone online casino games

twf nutiva hemp oil

hce gsn casino

tfj online slot machines

uih sugarhouse online casino

zuu cbd oil cost

zgw cbd oil dosage

njb hemp oil benefits dr oz

uqs what is cbd oil

nxm liberty slots

sqz what is hemp oil

los cbd oil uk

vcp cbd hemp oil walmart

npi hemp oil for dogs

iop hollywood casino online slots

hoh slotomania free slots

hyl high five casino slots

hgs cbd

qbr gsn casino games

yrl benefits of hemp oil

hmt cbd oil prices

rtb side effects of hemp oil

hgv cbd

gtl cbd oil cost

rmr online casino real money

female viagra buy online

nki play casino

hpo fortune bay casino

opp online slots

den casinos in iowa

lnw cbd oil uk

mou organic hemp oil

vfu casinos in iowa

hdx empire casino online

jch cbd oil

gvv cbd pure hemp oil

gzr online casino real money

gmi lady luck

tsq buy cbd

wnf big fish casino slots

puj buy cbd online

fed cbd oil canada online

ony cbd oil cost

hvr casino game

cph play slots

bkq cbd oil

buy essay online

buy diflucan

wnm cbd oil florida

prn buy cbd usa

sor play casino

esz hemp oil arthritis

hiz real casino

mht cbd oil canada

akv plus cbd oil

chi foxwoods casino online

hex cbd oil for sale

buy tadalafil 20mg<