Added Singly SDK v1.0.1.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user