GameCenterManager icon indicating copy to clipboard operation
GameCenterManager copied to clipboard

CocoaPods Support

Open mknippen opened this issue 11 years ago • 17 comments

Hello,

Taking a look at your GameCenterManager, I realized how awesome it was. The one main thing it's missing (in my opinion) is the ability to use CocoaPods. Is this something you would consider adding? It's a simple podspec file, and I would write it for you if you're interested. I think this would help expose this tool, as well as make it easier for users to implement in their own projects.

Thanks, Matthew

mknippen avatar Feb 18 '14 20:02 mknippen

Here's a link with more information: http://guides.cocoapods.org/making/making-a-cocoapod.html

mknippen avatar Feb 18 '14 20:02 mknippen

Hi, I've already created a custom pod spec for GameCenterManager, please check out if the contacts & license are ok for you.

@mknippen You can use a local spec in your pod file using : pod 'GameCenterManager', :podspec => 'PATH OF YOUR LOCAL FILE'

 Pod::Spec.new do |s|
   s.name     = 'GameCenterManager'
   s.version  = '5.3'
   s.license      = 'MIT'
   s.summary  = 'GameCenter Manager helps to manage Game Center in iOS and Mac apps'
   s.homepage = 'https://github.com/nihalahmed/GameCenterManager'
   s.author   = { 'iRare Media' => '[email protected]' }
   s.source   = { :git => 'https://github.com/nihalahmed/GameCenterManager.git' , :tag => 'v5.3' }
   s.ios.deployment_target = '6.1'
   s.source_files = 'GC*Manager/NSDataAES256.{h,m}' , 'GC*Manager/GameCenterManager.{h,m}'
   s.ios.framework = 'SystemConfiguration', 'GameKit', 'Security'
   s.requires_arc = true
   s.dependency 'Reachability'
 end

snakecharmer avatar Feb 25 '14 10:02 snakecharmer

Looks great, do you think that you will submit it as a public cocoa pod, so people have the ability to include it directly with just one line in the pod file?

Link: http://guides.cocoapods.org/making/specs-and-specs-repo.html

mknippen avatar Feb 25 '14 14:02 mknippen

@mknippen The spec is now online

snakecharmer avatar Feb 26 '14 08:02 snakecharmer

Awesome!— Sent from my iPhone

On Wed, Feb 26, 2014 at 3:46 AM, snakecharmer [email protected] wrote:

@mknippen The spec is now online

Reply to this email directly or view it on GitHub: https://github.com/nihalahmed/GameCenterManager/issues/9#issuecomment-36103275

mknippen avatar Feb 26 '14 23:02 mknippen

@snakecharmer @mknippen What about Mac? Why didn't you include Mac in that spec?

holgersindbaek avatar Apr 26 '14 21:04 holgersindbaek

@holgersindbaek i was unable to compile the mac version when i created the pod file, i'll try again when the bug https://github.com/nihalahmed/GameCenterManager/issues/14 will be fixed

snakecharmer avatar Jun 02 '14 14:06 snakecharmer

Official CocoaPods support will be available very soon for both OS X and iOS.

Sam-Spencer avatar Jun 13 '14 13:06 Sam-Spencer

Is it available yet? :)

Natelegreat1 avatar Dec 17 '14 20:12 Natelegreat1

Still haven't heard anything on the official one, so i've moved to using the unofficial one.

mknippen avatar Mar 04 '15 21:03 mknippen

What is the unoffical one? I didn't know there was another one.

bendinwire avatar Mar 04 '15 21:03 bendinwire

http://cocoapods.org/?q=gamecentermanager

mknippen avatar Mar 05 '15 14:03 mknippen

I agree with @mknippen. Official support should be added.

getaaron avatar Mar 13 '15 01:03 getaaron

Anyone got this working with Swift? I get an error about Reachability.

ryangittings avatar Nov 24 '15 15:11 ryangittings

@mknippen Hi Matthew, any comment or idea about @rjgdesign 's question ? Currently I'm also meeting this problem - getting error about Reachability. Thank you !

apptasticbin avatar Nov 26 '15 21:11 apptasticbin

I havent tried it in quite a while, I’ve gotten a bit out of games for the time being. If I get a chance to take a look, ill post it here.

 

 

Matthew Knippen

about.me/mknippen

On Thu, Nov 26, 2015 at 3:29 PM, binattori [email protected] wrote:

@mknippen Hi Matthew, any comment or idea about @rjgdesign 's question ? Currently I'm also meeting this problem - getting error about Reachability. Thank you !

Reply to this email directly or view it on GitHub: https://github.com/nihalahmed/GameCenterManager/issues/9#issuecomment-159995956

mknippen avatar Nov 28 '15 22:11 mknippen

Changing how Reachability is imported in GameCenterManager.h fixed it for me, using this #import <Reachability/Reachability.h> instead of this #import "Reachability.h". I am not sure if doing that change will break it for people importing Reachability manually.

juanpdelat avatar Jan 21 '16 09:01 juanpdelat