forked from bcbroussard/iOS-SDK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SinglySDK.podspec
40 lines (40 loc) · 1.58 KB
/
SinglySDK.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Pod::Spec.new do |spec|
spec.name = "SinglySDK"
spec.version = "1.3.0"
spec.summary = "iOS SDK for Singly."
spec.homepage = "https://github.com/Singly/iOS-SDK"
spec.license = { :type => "BSD", :file => "LICENSE" }
spec.author = {
"Singly, Inc" => "[email protected]",
"Justin Mecham" => "[email protected]"
}
spec.source = { :git => "https://github.com/Singly/iOS-SDK.git", :tag => "v1.3.0" }
spec.platform = :ios, "5.0"
spec.source_files = FileList.new("SinglySDK/SinglySDK/**/*.{h,m}") do |files|
end
spec.public_header_files = FileList.new("SinglySDK/SinglySDK/**/*.h") do |files|
files.exclude /NSDictionary\+QueryString/
files.exclude /NSString\+URLEncoded/
files.exclude /NSURL\+AccessToken/
files.exclude /SinglyActionSheet/
files.exclude /SinglyActivityIndicatorView/
files.exclude /SinglyAlertView/
files.exclude /SinglyCache/
files.exclude /SinglyConnection/
files.exclude /SinglyKeychainItemWrapper/
files.exclude /UIViewController\+Modal/
end
spec.frameworks = 'Accounts', 'AddressBook', 'AddressBookUI', 'QuartzCore', 'Security', 'Twitter'
spec.weak_frameworks = 'Social'
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