mirror of
https://github.com/zhigang1992/facebook-ios-sdk.git
synced 2026-01-12 22:47:16 +08:00
Summary: Pull Request resolved: https://github.com/facebook/facebook-ios-sdk/pull/1340 Bumps version to 6.4.0 Reviewed By: Mxiim Differential Revision: D21030075 fbshipit-source-id: cb0f4ba2db543ba0af1e37722fe5896000ae2f01
54 lines
1.9 KiB
Ruby
54 lines
1.9 KiB
Ruby
# Use the --use-libraries switch when pushing or linting this podspec
|
|
|
|
Pod::Spec.new do |s|
|
|
|
|
s.name = 'FBSDKShareKit'
|
|
s.version = '6.4.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 = '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', '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/**/*'
|
|
ss.public_header_files = 'FBSDKShareKit/FBSDKShareKit/*.{h}'
|
|
ss.source_files = 'FBSDKShareKit/FBSDKShareKit/**/*.{h,m}'
|
|
end
|
|
|
|
s.subspec 'Swift' do |ss|
|
|
ss.dependency 'FBSDKCoreKit/Swift', "~> #{s.version}"
|
|
ss.dependency 'FBSDKShareKit/Share'
|
|
ss.source_files = 'FBSDKShareKit/FBSDKShareKit/Swift/*.{swift}'
|
|
ss.exclude_files = 'FBSDKShareKit/FBSDKShareKit/Swift/Exports.swift'
|
|
end
|
|
end
|