forked from facebook/facebook-ios-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FBSDKCoreKit.podspec
82 lines (72 loc) · 4.73 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# Use the --use-libraries switch when pushing or linting this podspec
Pod::Spec.new do |s|
s.name = 'FBSDKCoreKit'
s.version = '5.3.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 = '8.0'
s.tvos.deployment_target = '10.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'
s.tvos.weak_frameworks = 'CoreLocation', 'Security', 'QuartzCore', 'CoreGraphics', 'UIKit', 'Foundation', 'AudioToolbox'
# This excludes `FBSDKCoreKit/FBSDKCoreKit/Internal_NoARC/` folder, as that folder includes only `no-arc` files.
s.requires_arc = ['FBSDKCoreKit/FBSDKCoreKit/*',
'FBSDKCoreKit/FBSDKCoreKit/AppEvents/**/*',
'FBSDKCoreKit/FBSDKCoreKit/AppLink/**/*',
'FBSDKCoreKit/FBSDKCoreKit/Basics/**/*',
'FBSDKCoreKit/FBSDKCoreKit/Internal/**/*']
s.subspec 'Basics' do |ss|
ss.source_files = 'FBSDKCoreKit/FBSDKCoreKit/Basics/*.{h,m}',
'FBSDKCoreKit/FBSDKCoreKit/Basics/**/*.{h,m}'
ss.public_header_files = 'FBSDKCoreKit/FBSDKCoreKit/Basics/*.h'
ss.library = 'z'
end
s.subspec 'Core' do |ss|
ss.dependency 'FBSDKCoreKit/Basics'
ss.exclude_files = 'FBSDKCoreKit/FBSDKCoreKit/Basics/*',
'FBSDKCoreKit/FBSDKCoreKit/Basics/**/*.{h,m}'
ss.source_files = 'FBSDKCoreKit/FBSDKCoreKit/**/*.{h,m}'
ss.public_header_files = 'FBSDKCoreKit/FBSDKCoreKit/*.h',
'FBSDKCoreKit/FBSDKCoreKit/AppEvents/*.h',
'FBSDKCoreKit/FBSDKCoreKit/AppLink/*.h'
ss.resources = 'FacebookSDKStrings.bundle'
ss.ios.exclude_files = 'FBSDKCoreKit/FBSDKCoreKit/FBSDKDeviceButton.{h,m}',
'FBSDKCoreKit/FBSDKCoreKit/FBSDKDeviceViewControllerBase.{h,m}',
'FBSDKCoreKit/FBSDKCoreKit/Internal/Device/**/*'
ss.tvos.exclude_files = 'FBSDKCoreKit/FBSDKCoreKit/AppEvents/Internal/Codeless/*',
'FBSDKCoreKit/FBSDKCoreKit/AppEvents/Internal/FBSDKHybridAppEventsScriptMessageHandler.{h,m}',
'FBSDKCoreKit/FBSDKCoreKit/AppLink/**/*',
'FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphErrorRecoveryProcessor.{h,m}',
'FBSDKCoreKit/FBSDKCoreKit/FBSDKMeasurementEvent.{h,m}',
'FBSDKCoreKit/FBSDKCoreKit/FBSDKMutableCopying.h',
'FBSDKCoreKit/FBSDKCoreKit/FBSDKProfile.{h,m}',
'FBSDKCoreKit/FBSDKCoreKit/FBSDKProfilePictureView.{h,m}',
'FBSDKCoreKit/FBSDKCoreKit/FBSDKURL.{h,m}',
'FBSDKCoreKit/FBSDKCoreKit/Internal/BridgeAPI/**/*',
'FBSDKCoreKit/FBSDKCoreKit/Internal/FBSDKAppLinkReturnToRefererView_Internal.h',
'FBSDKCoreKit/FBSDKCoreKit/Internal/FBSDKAppLink_Internal.h',
'FBSDKCoreKit/FBSDKCoreKit/Internal/FBSDKAudioResourceLoader.{h,m}',
'FBSDKCoreKit/FBSDKCoreKit/Internal/FBSDKContainerViewController.{h,m}',
'FBSDKCoreKit/FBSDKCoreKit/Internal/FBSDKMeasurementEvent_Internal.h',
'FBSDKCoreKit/FBSDKCoreKit/Internal/FBSDKMonotonicTime.{h,m}',
'FBSDKCoreKit/FBSDKCoreKit/Internal/FBSDKProfile+Internal.h',
'FBSDKCoreKit/FBSDKCoreKit/Internal/FBSDKSystemAccountStoreAdapter.{h,m}',
'FBSDKCoreKit/FBSDKCoreKit/Internal/FBSDKTriStateBOOL.{h,m}',
'FBSDKCoreKit/FBSDKCoreKit/Internal/FBSDKURL_Internal.h',
'FBSDKCoreKit/FBSDKCoreKit/Internal/UI/FBSDKCloseIcon.{h,m}',
'FBSDKCoreKit/FBSDKCoreKit/Internal/UI/FBSDKColor.{h,m}',
'FBSDKCoreKit/FBSDKCoreKit/Internal/UI/FBSDKMaleSilhouetteIcon.{h,m}',
'FBSDKCoreKit/FBSDKCoreKit/Internal/WebDialog/**/*'
end
end