forked from facebook/facebook-ios-sdk
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathFBSDKShareKit.podspec
108 lines (95 loc) · 6.57 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
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# Use the --use-libraries switch when pushing or linting this podspec
Pod::Spec.new do |s|
s.name = 'FBSDKShareKit'
s.version = '5.10.1'
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 = '8.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', 'CoreLocation', 'Foundation', 'QuartzCore', 'Security', 'Social', 'UIKit'
s.tvos.weak_frameworks = 'AudioToolbox', 'CoreGraphics', 'CoreLocation', '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', "~> 5.0"
ss.exclude_files = 'FBSDKShareKit/FBSDKShareKit/include/**/*'
ss.public_header_files = 'FBSDKShareKit/FBSDKShareKit/*.{h}'
ss.ios.source_files = 'FBSDKShareKit/FBSDKShareKit/**/*.{h,m}'
ss.ios.exclude_files = 'FBSDKShareKit/FBSDKShareKit/FBSDKDeviceShareButton.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKDeviceShareViewController.{h,m}'
ss.tvos.exclude_files = 'FBSDKShareKit/FBSDKShareKit/FBSDKAppGroupAddDialog.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKAppGroupContent.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKAppGroupJoinDialog.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKAppInviteContent.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKAppInviteDialog.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKCameraEffectArguments.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKCameraEffectTextures.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKGameRequestContent.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKGameRequestDialog.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKLikeButton.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKLikeControl.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKLikeObjectType.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKLiking.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKMessageDialog.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKSendButton.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKShareButton.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKShareCameraEffectContent.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKShareDialog.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKShareDialogMode.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKSharingButton.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKSharingScheme.{h,m}'
ss.tvos.source_files = 'FBSDKShareKit/FBSDKShareKit/FBSDKDeviceShareButton.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKDeviceShareViewController.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKHashtag.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKShareKit.h',
'FBSDKShareKit/FBSDKShareKit/FBSDKShareAPI.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKShareConstants.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKShareConstants.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKShareLinkContent.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKShareMediaContent.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKShareOpenGraphAction.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKShareOpenGraphContent.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKShareOpenGraphObject.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKShareOpenGraphValueContainer.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKSharePhoto.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKSharePhotoContent.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKShareVideo.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKShareVideoContent.{h,m}',
'FBSDKShareKit/FBSDKShareKit/FBSDKSharing.h',
'FBSDKShareKit/FBSDKShareKit/FBSDKSharingContent.h',
'FBSDKShareKit/FBSDKShareKit/FBSDKSharingValidation.h',
'FBSDKShareKit/FBSDKShareKit/FBSDKShareMessengerActionButton.h',
'FBSDKShareKit/FBSDKShareKit/FBSDKShareMessengerGenericTemplateContent.h',
'FBSDKShareKit/FBSDKShareKit/FBSDKShareMessengerGenericTemplateElement.h',
'FBSDKShareKit/FBSDKShareKit/FBSDKShareMessengerMediaTemplateContent.h',
'FBSDKShareKit/FBSDKShareKit/FBSDKShareMessengerOpenGraphMusicTemplateContent.h',
'FBSDKShareKit/FBSDKShareKit/FBSDKShareMessengerURLActionButton.h',
'FBSDKShareKit/FBSDKShareKit/Internal/FBSDKShareDefines.h',
'FBSDKShareKit/FBSDKShareKit/Internal/FBSDKShareError.{h,m}',
'FBSDKShareKit/FBSDKShareKit/Internal/FBSDKShareOpenGraphValueContainer+Internal.h',
'FBSDKShareKit/FBSDKShareKit/Internal/FBSDKShareUtility.{h,m}',
'FBSDKShareKit/FBSDKShareKit/Internal/FBSDKVideoUploader.{h,m}'
end
s.subspec 'Swift' do |ss|
ss.dependency 'FBSDKCoreKit/Swift', "~> #{s.version}"
ss.dependency 'FBSDKShareKit/Share'
ss.platform = :ios
ss.ios.source_files = 'FBSDKShareKit/FBSDKShareKit/Swift/*.{swift}'
ss.ios.exclude_files = 'FBSDKShareKit/FBSDKShareKit/Swift/Exports.swift'
end
end