mirror of
https://github.com/zhigang1992/facebook-ios-sdk.git
synced 2026-01-12 22:47:16 +08:00
Summary: Ran: scripts/run.sh bump-version 11.2.0 Reviewed By: joesus Differential Revision: D30657111 fbshipit-source-id: 3ed3902d7ff141bd23ba1f2275d644f2498e4ab2
57 lines
2.0 KiB
Ruby
57 lines
2.0 KiB
Ruby
# Use the --use-libraries switch when pushing or linting this podspec
|
|
|
|
Pod::Spec.new do |s|
|
|
|
|
s.name = 'FBSDKShareKit'
|
|
s.version = '11.2.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.pod_target_xcconfig = {
|
|
'GCC_PREPROCESSOR_DEFINITIONS': '$(inherited) FBSDKCOCOAPODS=1',
|
|
'OTHER_SWIFT_FLAGS': '$(inherited) -Xcc -DFBSDKCOCOAPODS',
|
|
}
|
|
|
|
s.subspec 'Share' do |ss|
|
|
ss.dependency 'FBSDKCoreKit_Basics', "~> #{s.version}"
|
|
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
|