mirror of
https://github.com/zhigang1992/facebook-ios-sdk.git
synced 2026-01-12 22:47:16 +08:00
Summary: FBSDKCoreKit_Basics is currently a module for Swift Package Manager and BUCK but not for CocoaPods or Xcodebuild. This aims to bring the four in line by separating it into its own module for Xcode builds. Reviewed By: dreamolight Differential Revision: D28312787 fbshipit-source-id: b31136de9eb98b31d061d289cd0ea7116acf1c14
56 lines
1.9 KiB
Ruby
56 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 = '9.3.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', "~> #{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
|