Permalink
Browse files

Merge pull request #834 from jsmecham/master

Add Singly SDK
  • Loading branch information...
2 parents efedcd0 + 59cd477 commit 280ac5be0e861f08a9e7fce6402cc0a4d8b8e17b @keith keith committed Dec 6, 2012
Showing with 40 additions and 0 deletions.
  1. +40 −0 SinglySDK/1.0.1/SinglySDK.podspec
@@ -0,0 +1,40 @@
+Pod::Spec.new do |spec|
+ spec.name = "SinglySDK"
+ spec.version = "1.0.1"
+ spec.summary = "iOS SDK for Singly."
+ spec.homepage = "https://github.com/Singly/iOS-SDK"
+ spec.license = { :type => "BSD", :file => "LICENSE" }
+ spec.author = {
+ "Singly, Inc" => "nerds@singly.com",
+ "Justin Mecham" => "justin.m@singly.com",
+ "Thomas Muldowney" => "temas@singly.com"
+ }
+ spec.source = { :git => "https://github.com/Singly/iOS-SDK.git", :tag => "v1.0.1" }
+ spec.platform = :ios, "5.0"
+ spec.source_files = FileList.new("SinglySDK/SinglySDK/**/*.{h,m}") do |files|
+ files.exclude /SinglySharingViewController/
+ files.exclude /DEFacebook/
+ files.exclude /DERuledView/
+ end
+ spec.public_header_files = FileList.new("SinglySDK/SinglySDK/**/*.h") do |files|
+ files.exclude /\+Internal/
+ files.exclude /NSDictionary\+QueryString/
+ files.exclude /NSString\+URLEncoded/
+ files.exclude /NSURL\+AccessToken/
+ files.exclude /SinglyActivityIndicatorView/
+ files.exclude /SinglyKeychainItemWrapper/
+ files.exclude /UIViewController\+Modal/
+ end
+ spec.frameworks = 'Accounts', 'QuartzCore', 'Security'
+ spec.requires_arc = true
+ spec.preserve_paths = [
+ "SinglySDK/SinglySDK.xcodeproj",
+ "SinglySDK/SinglySDK/Resources"
+ ]
+ spec.resource = "SinglySDK/SinglySDK/Resources/SinglySDK.bundle"
+ def spec.pre_install(pod, target_definition)
+ Dir.chdir(pod.root) do
+ `xcodebuild -project SinglySDK/SinglySDK.xcodeproj -target Resources CONFIGURATION_BUILD_DIR=SinglySDK/Resources`
+ end
+ end
+end

0 comments on commit 280ac5b

Please sign in to comment.