Skip to content

Instantly share code, notes, and snippets.

@lukaswelte
Last active December 27, 2015 11:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukaswelte/7317905 to your computer and use it in GitHub Desktop.
Save lukaswelte/7317905 to your computer and use it in GitHub Desktop.
Stackmob Podspec with updated AFNetworking
Pod::Spec.new do |s|
s.name = 'StackMob'
s.version = '2.2.0'
s.license = 'Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)'
s.summary = "StackMob's SDK for accessing the StackMob Services on iOS."
s.homepage = 'http://stackmob.com'
s.author = { 'StackMob' => 'info@stackmob.com' }
s.source = { :git => 'https://github.com/stackmob/stackmob-ios-sdk.git', :tag => s.version.to_s }
s.ios.deployment_target = '5.0'
s.ios.frameworks = 'MobileCoreServices'
s.osx.deployment_target = '10.7'
s.osx.frameworks = 'CoreServices'
s.source_files = 'Classes/*.{h,m}', 'Utility/*.{h,m}', 'CoreData/Classes/*.{h,m}', 'Push/*.{h,m}'
s.dependency 'AFNetworking', '1.3.3'
s.frameworks = 'CoreData', 'CoreLocation', 'Security', 'SystemConfiguration'
s.requires_arc = true
s.documentation = {
:appledoc => [
'--index-desc','OverviewForDocs.md',
'--clean-output',
'--no-keep-undocumented-objects',
'--no-keep-undocumented-members',
'--no-repeat-first-par',
'--no-merge-categories',
'--install-docset'
]}
s.prefix_header_contents = <<-EOS
#if __IPHONE_OS_VERSION_MIN_REQUIRED
#import <SystemConfiguration/SystemConfiguration.h>
#import <MobileCoreServices/MobileCoreServices.h>
#import <Security/Security.h>
#else
#import <SystemConfiguration/SystemConfiguration.h>
#import <CoreServices/CoreServices.h>
#import <Security/Security.h>
#endif
EOS
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment