Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #834 from jsmecham/master
Add Singly SDK
- Loading branch information
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |