forked from facebook/facebook-ios-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FBSDKShareKit.podspec
52 lines (40 loc) · 1.81 KB
/
FBSDKShareKit.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
# Use the --use-libraries switch when pushing or linting this podspec
Pod::Spec.new do |s|
s.name = 'FBSDKShareKit'
s.version = '9.0.0'
s.summary = 'Official Facebook SDK for iOS to access Facebook Platform Sharing Features'
s.description = <<-DESC
The Facebook SDK for iOS ShareKit framework provides:
* Share content with Share Dialog and Message Dialog.
* Send Game Requests or App Invites to grow your app.
* Publish content and open graph stories with the Graph API
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 = {
git: 'https://github.com/facebook/facebook-ios-sdk.git',
tag: "v#{s.version}"
}
s.ios.weak_frameworks = 'Accounts', 'AudioToolbox', 'CoreGraphics', 'Foundation', 'QuartzCore', 'Security', 'Social', 'UIKit'
s.tvos.weak_frameworks = 'AudioToolbox', 'CoreGraphics', 'Foundation', 'QuartzCore', 'Security', 'UIKit'
s.requires_arc = true
s.default_subspecs = 'Share'
s.swift_version = '5.0'
s.header_dir = 'FBSDKShareKit'
s.prefix_header_contents = '#define FBSDKCOCOAPODS'
s.subspec 'Share' do |ss|
ss.dependency 'FBSDKCoreKit', "~> #{s.version}"
ss.exclude_files = 'FBSDKShareKit/FBSDKShareKit/include/**/*',
'FBSDKShareKit/FBSDKShareKit/Swift/Exports.swift'
ss.public_header_files = 'FBSDKShareKit/FBSDKShareKit/*.{h}',
'FBSDKShareKit/FBSDKShareKit/Internal/FBSDKVideoUploader.h'
ss.source_files = 'FBSDKShareKit/FBSDKShareKit/**/*.{h,m,swift}'
end
end