forked from facebook/facebook-ios-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Facebook-iOS-SDK.podspec
83 lines (73 loc) · 5.01 KB
/
Facebook-iOS-SDK.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# If you've made changes to the SDK (such as file paths), consider using `pod lib lint` to lint locally and then using the :path option in your Podfile
Pod::Spec.new do |s|
s.name = "Facebook-iOS-SDK"
s.version = "4.35.0"
s.summary = "Official Facebook SDK for iOS to access Facebook Platform with features like Login, Share and Message Dialog, App Links, and Graph API"
s.description = <<-DESC
The Facebook SDK for iOS enables you to use Facebook's Platform such as:
* Facebook Login to easily sign in users.
* Sharing features like the Share or Message Dialog to grow your app.
* Simpler Graph API access to provide more social context.
DESC
s.homepage = "https://developers.facebook.com/docs/ios/"
s.license = { :type => "Facebook Platform License", :file => "FacebookSDKs-iOS-universal-4.35.0/iOS/LICENSE.txt" }
s.author = 'Facebook'
s.platform = :ios, :tvos
s.ios.deployment_target = '8.0'
s.tvos.deployment_target = '9.0'
s.source = { :http => 'https://origincache.facebook.com/developers/resources/?id=FacebookSDKs-iOS-universal-4.35.0.zip', :type => :zip }
s.ios.weak_frameworks = 'Accounts', 'CoreLocation', 'Social', 'Security', 'QuartzCore', 'CoreGraphics', 'UIKit', 'Foundation', 'AudioToolbox', 'WebKit'
s.tvos.weak_frameworks = 'CoreLocation', 'Security', 'QuartzCore', 'CoreGraphics', 'UIKit', 'Foundation', 'AudioToolbox'
s.requires_arc = true
s.dependency 'Bolts', '~> 1.7'
s.subspec 'CoreKit' do |spec|
spec.ios.source_files = 'FacebookSDKs-iOS-universal-4.35.0/iOS/FBSDKCoreKit.framework/**/*.h'
spec.ios.resources = 'FacebookSDKs-iOS-universal-4.35.0/iOS/FacebookSDKStrings.bundle'
spec.ios.public_header_files = 'FacebookSDKs-iOS-universal-4.35.0/iOS/FBSDKCoreKit.framework/**/*.h'
spec.ios.vendored_frameworks = 'FacebookSDKs-iOS-universal-4.35.0/iOS/FBSDKCoreKit.framework'
spec.tvos.source_files = 'FacebookSDKs-iOS-universal-4.35.0/tvOS/FBSDKCoreKit.framework/**/*.h'
spec.tvos.resources = 'FacebookSDKs-iOS-universal-4.35.0/tvOS/FacebookSDKStrings.bundle'
spec.tvos.public_header_files = 'FacebookSDKs-iOS-universal-4.35.0/tvOS/FBSDKCoreKit.framework/**/*.h'
spec.tvos.vendored_frameworks = 'FacebookSDKs-iOS-universal-4.35.0/tvOS/FBSDKCoreKit.framework'
end
s.subspec 'LoginKit' do |spec|
spec.ios.source_files = 'FacebookSDKs-iOS-universal-4.35.0/iOS/FBSDKLoginKit.framework/**/*.h'
spec.ios.public_header_files = 'FacebookSDKs-iOS-universal-4.35.0/iOS/FBSDKLoginKit.framework/**/*.h'
spec.ios.vendored_frameworks = 'FacebookSDKs-iOS-universal-4.35.0/iOS/FBSDKLoginKit.framework'
spec.tvos.source_files = 'FacebookSDKs-iOS-universal-4.35.0/tvOS/FBSDKLoginKit.framework/**/*.h'
spec.tvos.public_header_files = 'FacebookSDKs-iOS-universal-4.35.0/tvOS/FBSDKLoginKit.framework/**/*.h'
spec.tvos.vendored_frameworks = 'FacebookSDKs-iOS-universal-4.35.0/tvOS/FBSDKLoginKit.framework'
spec.dependency 'Facebook-iOS-SDK/CoreKit'
end
s.subspec 'ShareKit' do |spec|
spec.ios.source_files = 'FacebookSDKs-iOS-universal-4.35.0/iOS/FBSDKShareKit.framework/**/*.h'
spec.ios.public_header_files = 'FacebookSDKs-iOS-universal-4.35.0/iOS/FBSDKShareKit.framework/**/*.h'
spec.ios.vendored_frameworks = 'FacebookSDKs-iOS-universal-4.35.0/iOS/FBSDKShareKit.framework'
spec.tvos.source_files = 'FacebookSDKs-iOS-universal-4.35.0/tvOS/FBSDKShareKit.framework/**/*.h'
spec.tvos.public_header_files = 'FacebookSDKs-iOS-universal-4.35.0/tvOS/FBSDKShareKit.framework/**/*.h'
spec.tvos.vendored_frameworks = 'FacebookSDKs-iOS-universal-4.35.0/tvOS/FBSDKShareKit.framework'
spec.dependency 'Facebook-iOS-SDK/CoreKit'
end
s.subspec 'TVOSKit' do |spec|
spec.platform = :tvos
spec.source_files = 'FacebookSDKs-iOS-universal-4.35.0/tvOS/FBSDKTVOSKit.framework/**/*.h'
spec.public_header_files = 'FacebookSDKs-iOS-universal-4.35.0/tvOS/FBSDKTVOSKit.framework/**/*.h'
spec.vendored_frameworks = 'FacebookSDKs-iOS-universal-4.35.0/tvOS/FBSDKTVOSKit.framework'
spec.dependency 'Facebook-iOS-SDK/ShareKit'
spec.dependency 'Facebook-iOS-SDK/LoginKit'
end
s.subspec 'PlacesKit' do |spec|
spec.platform = :ios
spec.source_files = 'FacebookSDKs-iOS-universal-4.35.0/iOS/FBSDKPlacesKit.framework/**/*.h'
spec.public_header_files = 'FacebookSDKs-iOS-universal-4.35.0/iOS/FBSDKPlacesKit.framework/**/*.h'
spec.vendored_frameworks = 'FacebookSDKs-iOS-universal-4.35.0/iOS/FBSDKPlacesKit.framework'
spec.dependency 'Facebook-iOS-SDK/CoreKit'
end
s.subspec 'MarketingKit' do |spec|
spec.platform = :ios
spec.source_files = 'FacebookSDKs-iOS-universal-4.35.0/iOS/FBSDKMarketingKit.framework/**/*.h'
spec.public_header_files = 'FacebookSDKs-iOS-universal-4.35.0/iOS/FBSDKMarketingKit.framework/**/*.h'
spec.vendored_frameworks = 'FacebookSDKs-iOS-universal-4.35.0/iOS/FBSDKMarketingKit.framework'
spec.dependency 'Facebook-iOS-SDK/CoreKit'
end
end