Files
facebook-ios-sdk/FacebookSDK.podspec
Cody Winton 0bdd850258 Remove Bolts Framework
Summary:
The Bolts framework served a minor role in this SDK, but maintaining this dependency was a decent pain point.

This diff removes the dependency on this framework.

Reviewed By: jingping2015

Differential Revision: D10440950

fbshipit-source-id: 58d78f9989ff394b3b29bf39314699cd31ba4898
2019-01-16 16:41:52 -08:00

62 lines
2.1 KiB
Ruby

# If you've made changes to the SDK (such as file paths), consider using `pod lib lint` to lint locally and then using the :path option in your Podfile
Pod::Spec.new do |s|
s.name = 'FacebookSDK'
s.version = '4.40.0'
s.summary = 'Official Facebook SDK for iOS to access Facebook Platform'
s.description = <<-DESC
The Facebook SDK for iOS enables you to use Facebook's Platform such as:
* Facebook Login to easily sign in users.
* Sharing features like the Share or Message Dialog to grow your app.
* Simpler Graph API access to provide more social context.
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 = '9.0'
s.source = { :git => 'https://github.com/facebook/facebook-objc-sdk.git',
:tag => "v#{s.version}" }
s.ios.weak_frameworks = 'Accounts', 'CoreLocation', 'Social', 'Security', 'QuartzCore', 'CoreGraphics', 'UIKit', 'Foundation', 'AudioToolbox', 'WebKit'
s.tvos.weak_frameworks = 'CoreLocation', 'Security', 'QuartzCore', 'CoreGraphics', 'UIKit', 'Foundation', 'AudioToolbox'
s.requires_arc = true
s.default_subspecs = 'CoreKit', 'MarketingKit'
s.subspec 'CoreKit' do |ss|
ss.dependency 'FBSDKCoreKit'
end
s.subspec 'LoginKit' do |ss|
ss.dependency 'FacebookSDK/CoreKit'
ss.dependency 'FBSDKLoginKit'
end
s.subspec 'ShareKit' do |ss|
ss.dependency 'FacebookSDK/CoreKit'
ss.dependency 'FBSDKShareKit'
end
s.subspec 'TVOSKit' do |ss|
ss.platform = :tvos
ss.dependency 'FacebookSDK/ShareKit'
ss.dependency 'FacebookSDK/LoginKit'
ss.dependency 'FBSDKTVOSKit'
end
s.subspec 'PlacesKit' do |ss|
ss.platform = :ios
ss.dependency 'FacebookSDK/CoreKit'
ss.dependency 'FBSDKPlacesKit'
end
s.subspec 'MarketingKit' do |ss|
ss.platform = :ios
ss.dependency 'FacebookSDK/CoreKit'
ss.dependency 'FBSDKMarketingKit'
end
end