GameCenterManager
GameCenterManager copied to clipboard
CocoaPods Support
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
Here's a link with more information: http://guides.cocoapods.org/making/making-a-cocoapod.html
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
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 The spec is now online
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
@snakecharmer @mknippen What about Mac? Why didn't you include Mac in that spec?
@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
Official CocoaPods support will be available very soon for both OS X and iOS.
Is it available yet? :)
Still haven't heard anything on the official one, so i've moved to using the unofficial one.
What is the unoffical one? I didn't know there was another one.
http://cocoapods.org/?q=gamecentermanager
I agree with @mknippen. Official support should be added.
Anyone got this working with Swift? I get an error about Reachability.
@mknippen Hi Matthew, any comment or idea about @rjgdesign 's question ? Currently I'm also meeting this problem - getting error about Reachability. Thank you !
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
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.