This repository has been archived by the owner on Oct 3, 2022. It is now read-only.
forked from facebook/facebook-ios-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFBSDKCoreKit.podspec
56 lines (47 loc) · 2.24 KB
/
FBSDKCoreKit.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
# Use the --use-libraries switch when pushing or linting this podspec
Pod::Spec.new do |s|
s.name = 'FBSDKCoreKit'
s.version = '11.2.0'
s.summary = 'Official Facebook SDK for iOS to access Facebook Platform core features'
s.description = <<-DESC
The Facebook SDK for iOS CoreKit framework provides:
* App Events (for App Analytics)
* Graph API Access and Error Recovery
* Working with Access Tokens and User Profiles
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 = 'Accelerate', 'Accounts', 'AdSupport', 'Social', 'Security', 'StoreKit', 'QuartzCore', 'CoreGraphics', 'UIKit', 'Foundation', 'AudioToolbox'
s.tvos.weak_frameworks = 'CoreLocation', 'Security', 'QuartzCore', 'CoreGraphics', 'UIKit', 'Foundation', 'AudioToolbox'
s.default_subspecs = 'Core'
s.swift_version = '5.0'
s.pod_target_xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS': '$(inherited) FBSDKCOCOAPODS=1',
'DEFINES_MODULE': 'YES',
}
s.user_target_xcconfig = {
'GCC_PREPROCESSOR_DEFINITIONS': '$(inherited) FBSDKCOCOAPODS=1'
}
s.library = 'c++', 'stdc++'
s.subspec 'Core' do |ss|
ss.dependency 'FBSDKCoreKit_Basics', "~> #{s.version}"
ss.dependency 'FBAEMKit', "~> #{s.version}"
ss.exclude_files = 'Sources/FacebookCore/Exports.swift',
'FBSDKCoreKit/FBSDKCoreKit/Swift/Exports.swift'
ss.source_files = 'FBSDKCoreKit/FBSDKCoreKit/**/*.{h,hpp,m,mm}',
'Sources/FacebookCore/**/*.swift'
ss.public_header_files = 'FBSDKCoreKit/FBSDKCoreKit/include/*.h'
ss.private_header_files = 'FBSDKCoreKit/FBSDKCoreKit/Internal/**/*.h',
'FBSDKCoreKit/FBSDKCoreKit/AppEvents/Internal/**/*.h'
ss.resource_bundles = { 'FacebookSDKStrings' => ['FacebookSDKStrings.bundle/**/*.strings'] }
ss.library = 'c++', 'stdc++'
end
end