-
Notifications
You must be signed in to change notification settings - Fork 189
/
PubNub.podspec
73 lines (66 loc) · 3.16 KB
/
PubNub.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
#
# Be sure to run `pod lib lint PubNub.podspec' to ensure this is a
# valid spec and remove all comments before submitting the spec.
#
# Any lines starting with a # are optional, but encouraged
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |spec|
spec.name = 'PubNub'
spec.version = '5.7.0'
spec.summary = 'The PubNub Real-Time Network. Build real-time apps quickly and scale them globally.'
spec.homepage = 'https://github.com/pubnub/objective-c'
spec.authors = {
'PubNub, Inc.' => 'support@pubnub.com'
}
spec.social_media_url = 'https://twitter.com/pubnub'
spec.source = {
:git => 'https://github.com/pubnub/objective-c.git',
:tag => "v#{spec.version}"
}
spec.ios.deployment_target = '14.0'
spec.watchos.deployment_target = '7.0'
spec.osx.deployment_target = '11.00'
spec.tvos.deployment_target = '14.0'
spec.requires_arc = true
spec.resource_bundles = { "PubNub" => ["Framework/PubNub/PrivacyInfo.xcprivacy"]}
spec.subspec 'Core' do |core|
core.source_files = 'PubNub/{Core,Data,Modules,Misc,Network,Protocols}/**/*', 'PubNub/PubNub.h'
core.private_header_files = [
'PubNub/**/*Private.h',
'PubNub/PubNub+Deprecated.h',
'PubNub/Data/PNEnvelopeInformation.h',
'PubNub/Data/Managers/**/*.h',
'PubNub/Data/Models/PNXML.h',
'PubNub/Data/Service Objects/File Sharing/PNGenerateFileUploadURLStatus.h',
'PubNub/Data/Transport/{PNTransportMiddleware.h,PNTransportMiddlewareConfiguration.h}',
'PubNub/Misc/{PNConstants,PNPrivateStructures}.h',
'PubNub/Misc/Helpers/{PNArray,PNChannel,PNData,PNDate,PNDictionary,PNGZIP,PNHelpers,PNJSON,PNLockSupport,PNNumber,PNString,PNURLRequest}.h',
'PubNub/Misc/Logger/PNLogMacro.h',
'PubNub/Misc/Logger/Data/*.h',
'PubNub/Misc/Protocols/{PNKeyValueStorageProtocol,PNParser}.h',
"PubNub/Modules/Transport/{PNURLSessionTransportResponse,PNURLSessionTransport}.h",
"PubNub/Modules/Serializer/Object/{Categories,Models}/*.h",
"PubNub/Modules/Serializer/Object/{PNJSONDecoder,PNJSONEncoder}.h",
"PubNub/Modules/Crypto/Cryptors/AES/PNCCCryptorWrapper.h",
"PubNub/Modules/Crypto/Header/*.h",
'PubNub/Network/PNReachability.h',
'PubNub/Network/Requests/Files/PNGenerateFileUploadURLRequest.h',
'PubNub/Network/Parsers/**/*.h',
'PubNub/Network/Streams/*.h',
'PubNub/Protocols/PNRequest.h',
]
core.pod_target_xcconfig = { 'APPLICATION_EXTENSION_API_ONLY' => 'YES' }
end
spec.subspec 'Logger' do |logger|
logger.source_files = 'PubNub/Misc/Logger/{Core,Data}/**/*', 'PubNub/Misc/Helpers/{PNLockSupport,PNDefines}.{h,m}'
logger.private_header_files = [
'PubNub/Misc/Logger/Data/*.h',
'PubNub/Misc/Helpers/{PNLockSupport,PNDefines}.h'
]
end
spec.library = 'z'
spec.default_subspec = 'Core'
spec.license = { :type => 'PubNub Software Development Kit License', :file => 'LICENSE' }
end