tapouillo / BMGlyphLabel

BMGlyphLabel and BMGlyphFont class for iOS7 Sprite Kit
MIT License
31 stars 8 forks source link

Add cocoapods support #2

Closed xinsight closed 10 years ago

xinsight commented 10 years ago

Add cocoapods support for easier dependency management in Xcode.

My Podfile is currently:

pod 'BMGlyphLabel', :git => 'https://github.com/xinsight/BMGlyphLabel.git'

Once you have the .podspec in your repo, and you register your with cocoapods, the :git attribute is not needed.

See http://cocoapods.org/ for more info.

xinsight commented 10 years ago

Getting your repo into cocoapods is also free marketing. pod search spritekit currently only returns 2 results! ;)

tapouillo commented 10 years ago

xinsight: thanks for your contribution ! i had some problems merging your files, github couldn't do it automatically, but i hope it's ok now.

nicholascross commented 10 years ago

I noticed this is still not available from cocoapods.org. The pod spec seems to work fine as I added it my own private repository. So looks like it just needs to be added to main cocoapods repository.

xinsight commented 10 years ago

Anyone can submit it to the cocoapods/spec repo - but it still needs:

Hopefully @tapouillo can do this soon.

tapouillo commented 10 years ago

i'm not quite familiar with cocoapods, maybe you guys can help. i've updated the .podspec, added a tad, installed pod... everything seems good except that i'm denied in the last stage. do you know how it works exactly, should i request an access to create a project there ?

pod push master

Validating spec -> BMGlyphLabel (0.1.0)

Updating the `master' repo

Already up-to-date.

Adding the spec to the `master' repo

Pushing the `master' repo

remote: Permission to CocoaPods/Specs.git denied to tapouillo. fatal: unable to access 'https://github.com/CocoaPods/Specs.git/': The requested URL returned error: 403

xinsight commented 10 years ago

Adding the '0.1.0' tag was the main thing. pod spec lint BMGlyphLabel.podspec now validates.

Only the admin of the cocopods/spec have access - so they just need a pull request. I have a fork of the repo, so i did that.

https://github.com/CocoaPods/Specs/pull/6047

If you do any major updates (new versions, etc.) you can update the podspec and send a pull request.

tapouillo commented 10 years ago

ok great, thanks a lot. let me know if you need any else :)

On Tue, Dec 10, 2013 at 10:02 PM, Jason Moore notifications@github.comwrote:

Adding the '0.1.0' tag was the main thing. pod spec lint BMGlyphLabel.podspec now validates.

Only the admin of the cocopods/spec have access - so they just need a pull request. I have a fork of the repo, so i did that.

CocoaPods/Specs#6047 https://github.com/CocoaPods/Specs/pull/6047

If you do any major updates (new versions, etc.) you can update the podspec and send a pull request.

— Reply to this email directly or view it on GitHubhttps://github.com/tapouillo/BMGlyphLabel/pull/2#issuecomment-30267531 .