forked from facebook/facebook-ios-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFacebookSDK.podspec
73 lines (62 loc) · 2.82 KB
/
FacebookSDK.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
# 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 = 'FacebookSDK'
s.version = '11.0.1'
s.summary = 'Official Facebook SDK for iOS to access Facebook Platform'
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 => 'LICENSE' }
s.author = 'Facebook'
s.platform = :ios, :tvos
s.ios.deployment_target = '9.0'
s.tvos.deployment_target = '10.0'
s.source = { :http => "https://github.com/facebook/facebook-ios-sdk/releases/download/v#{s.version}/FacebookSDK_Static.zip" }
s.ios.weak_frameworks = 'Accelerate', 'Accounts', 'Social', 'Security', 'QuartzCore', 'CoreGraphics', 'UIKit', 'Foundation', 'AudioToolbox', 'WebKit'
s.tvos.weak_frameworks = 'Security', 'QuartzCore', 'CoreGraphics', 'UIKit', 'Foundation', 'AudioToolbox'
s.swift_version = '5.0'
s.pod_target_xcconfig = {
'EXCLUDED_ARCHS[sdk=iphonesimulator*]': 'arm64',
'EXCLUDED_ARCHS[sdk=appletvsimulator*]' => 'arm64',
}
s.user_target_xcconfig = {
'EXCLUDED_ARCHS[sdk=iphonesimulator*]': 'arm64',
'EXCLUDED_ARCHS[sdk=appletvsimulator*]' => 'arm64'
}
s.subspec 'Basics' do |ss|
ss.ios.vendored_framework = 'FBSDKCoreKit_Basics.framework'
ss.tvos.vendored_framework = 'tv/FBSDKCoreKit_Basics.framework'
end
s.subspec 'AEMKit' do |ss|
ss.ios.dependency 'FacebookSDK/Basics'
ss.ios.vendored_framework = 'FBAEMKit.framework'
end
s.subspec 'CoreKit' do |ss|
ss.ios.dependency 'FacebookSDK/AEMKit'
ss.ios.dependency 'FacebookSDK/Basics'
ss.ios.vendored_framework = 'FBSDKCoreKit.framework'
ss.tvos.dependency 'FacebookSDK/Basics'
ss.tvos.vendored_framework = 'tv/FBSDKCoreKit.framework'
end
s.subspec 'LoginKit' do |ss|
ss.dependency 'FacebookSDK/CoreKit'
ss.ios.vendored_framework = 'FBSDKLoginKit.framework'
ss.tvos.vendored_framework = 'tv/FBSDKLoginKit.framework'
end
s.subspec 'ShareKit' do |ss|
ss.dependency 'FacebookSDK/CoreKit'
ss.ios.vendored_framework = 'FBSDKShareKit.framework'
ss.tvos.vendored_framework = 'tv/FBSDKShareKit.framework'
end
s.subspec 'TVOSKit' do |ss|
ss.platform = :tvos
ss.dependency 'FacebookSDK/CoreKit'
ss.dependency 'FacebookSDK/ShareKit'
ss.dependency 'FacebookSDK/LoginKit'
ss.vendored_framework = 'tv/FBSDKTVOSKit.framework'
end
end