Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CocoaPods Support #9

Open
mknippen opened this issue Feb 18, 2014 · 17 comments
Open

CocoaPods Support #9

mknippen opened this issue Feb 18, 2014 · 17 comments

Comments

@mknippen
Copy link

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
Copy link
Author

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

@snakecharmer
Copy link

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

@mknippen
Copy link
Author

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

@snakecharmer
Copy link

@mknippen The spec is now online

@mknippen
Copy link
Author

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:
#9 (comment)

@holgersindbaek
Copy link

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

@snakecharmer
Copy link

@holgersindbaek i was unable to compile the mac version when i created the pod file, i'll try again when the bug #14 will be fixed

@Sam-Spencer
Copy link
Collaborator

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

@Natelegreat1
Copy link

Is it available yet? :)

@mknippen
Copy link
Author

mknippen commented Mar 4, 2015

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

@bendinwire
Copy link

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

@mknippen
Copy link
Author

mknippen commented Mar 5, 2015

@getaaron
Copy link

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

@ryangittings
Copy link

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

@apptasticbin
Copy link

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

@mknippen
Copy link
Author

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:
#9 (comment)

@juanpdelat
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants