From 59cd4773ae4077536c4f02eeb1b0f4deb7f6c2e4 Mon Sep 17 00:00:00 2001 From: Justin Mecham Date: Wed, 5 Dec 2012 16:58:31 -0800 Subject: [PATCH] Added Singly SDK v1.0.1. --- SinglySDK/1.0.1/SinglySDK.podspec | 40 +++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 SinglySDK/1.0.1/SinglySDK.podspec diff --git a/SinglySDK/1.0.1/SinglySDK.podspec b/SinglySDK/1.0.1/SinglySDK.podspec new file mode 100644 index 00000000..e0692d27 --- /dev/null +++ b/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