forked from facebook/facebook-ios-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FacebookSDK.podspec
51 lines (41 loc) · 1.94 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
# 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 = '9.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.xcframework.zip" }
s.ios.weak_frameworks = 'Accounts', 'Social', 'Security', 'QuartzCore', 'CoreGraphics', 'UIKit', 'Foundation', 'AudioToolbox', 'WebKit'
s.tvos.weak_frameworks = 'Security', 'QuartzCore', 'CoreGraphics', 'UIKit', 'Foundation', 'AudioToolbox'
s.requires_arc = true
s.default_subspecs = 'CoreKit'
s.swift_version = '5.0'
s.subspec 'CoreKit' do |ss|
ss.dependency 'FBSDKCoreKit', "~> #{s.version}"
end
s.subspec 'LoginKit' do |ss|
ss.dependency 'FacebookSDK/CoreKit'
ss.vendored_framework = 'FBSDKLoginKit.xcframework'
end
s.subspec 'ShareKit' do |ss|
ss.dependency 'FacebookSDK/CoreKit'
ss.vendored_framework = 'FBSDKShareKit.xcframework'
end
s.subspec 'TVOSKit' do |ss|
ss.platform = :tvos
ss.dependency 'FacebookSDK/ShareKit'
ss.dependency 'FacebookSDK/LoginKit'
ss.vendored_framework = 'FBSDKTVOSKit.xcframework'
end
end