Skip to content

Instantly share code, notes, and snippets.

@mtnbarreto
Last active December 21, 2015 23:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mtnbarreto/6380470 to your computer and use it in GitHub Desktop.
Save mtnbarreto/6380470 to your computer and use it in GitHub Desktop.
require 'rake'
Pod::Spec.new do |s|
s.name = "XLKit"
s.version = "0.2.1"
s.license = {
:type => 'Copyright',
:text => <<-LICENSE
Copyright 2014 Xmartlabs. All rights reserved.
LICENSE
}
s.homepage = "http://xmartlabs.com"
s.summary = "Xmarltabs iOS development kit."
s.description = <<-DESC
Xmarltabs development kit.
DESC
s.author = { 'Martin Barreto' => 'martin@xmartlabs.com', 'Miguel Revetria' => 'miguel@xmartlabs.com' }
s.platform = :ios
s.subspec 'arc' do |sp|
sp.source_files = 'XLKit/**/*.{m,h}'
sp.requires_arc = true
end
s.subspec 'no-arc' do |sp|
sp.source_files = 'XLKit_noARC/**/*.{h,m}'
sp.requires_arc = false
sp.compiler_flags = '-fno-objc-arc'
end
s.dependency 'Facebook-iOS-SDK', '~> 3'
s.dependency 'NSData+Base64'
s.dependency 'google-plus-ios-sdk', '1.5.0'
s.requires_arc = true
s.ios.deployment_target = '7.0'
s.ios.frameworks = 'CoreFoundation', 'Foundation', 'MobileCoreServices', 'Security', 'Social', 'SystemConfiguration', 'GoogleOpenSource', 'GooglePlus', 'AssetsLibrary'
s.vendored_frameworks = 'google-plus-ios-sdk-1.5.0/GoogleOpenSource.framework', 'google-plus-ios-sdk-1.5.0/GooglePlus.framework'
s.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => '"$(PODS_ROOT)/google-plus-ios-sdk/google-plus-ios-sdk-1.5.0"' }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment