forked from infobip/mobile-messaging-sdk-ios
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMobileMessaging.podspec
More file actions
89 lines (83 loc) · 4.48 KB
/
MobileMessaging.podspec
File metadata and controls
89 lines (83 loc) · 4.48 KB
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
83
84
85
86
87
88
89
Pod::Spec.new do |s|
s.name = 'MobileMessaging'
s.version = '12.16.0'
s.summary = 'Mobile Messaging SDK for iOS'
s.description = 'Mobile Messaging SDK is designed and developed to easily enable push notification channel in your mobile application. In almost no time of implementation you get push notification in you application and access to the features of Infobip IP Messaging Platform.'
s.homepage = 'https://github.com/infobip/mobile-messaging-sdk-ios'
s.license = 'MIT'
s.authors = { 'Andrey Kadochnikov' => 'andrey.kadochnikov@infobip.com', 'Olga Koroleva' => 'olga.koroleva@infobip.com' }
s.source = { :git => 'https://github.com/infobip/mobile-messaging-sdk-ios.git', :tag => s.version }
s.platform = :ios
s.ios.deployment_target = '12.0'
s.swift_version = '5'
s.requires_arc = true
s.pod_target_xcconfig = {
'SWIFT_VERSION' => '5',
'OTHER_SWIFT_FLAGS[config=Debug]' => '$(inherited) -DDEBUG'
}
s.default_subspec = 'CocoaLumberjack'
s.subspec 'Core' do |core|
core.frameworks = 'CoreData', 'CoreTelephony', 'SystemConfiguration'
core.resource_bundles =
{
'MMCore' => [
'Classes/MobileMessaging/Resources/InteractiveNotifications/*.xib',
'Classes/MobileMessaging/Resources/InteractiveNotifications/*.plist',
'Classes/MobileMessaging/Resources/Localization/**/*.strings',
'Classes/MobileMessaging/Resources/MessageStorage/*.xcdatamodeld',
'Classes/MobileMessaging/Resources/InternalStorage/*.xcdatamodeld',
'Classes/MobileMessaging/Resources/InternalStorage/*.xcmappingmodel',
'Classes/MobileMessaging/Resources/*.{xcprivacy}'
]
}
core.public_header_files =
'Classes/MobileMessagingObjC/Headers/MobileMessagingPluginApplicationDelegate.h',
'Classes/MobileMessagingObjC/Headers/MMNotifications.h',
'Classes/MobileMessagingObjC/Headers/SwiftTryCatch.h'
core.private_header_files =
'Classes/MobileMessagingObjC/Headers/Alamofire.h',
'Classes/MobileMessagingObjC/Headers/Kingsfisher.h'
core.source_files =
'Classes/MobileMessaging/Core/**/*.{h,m,swift}',
'Classes/MobileMessaging/InteractiveNotifications/**/*.{h,m,swift}',
'Classes/MobileMessaging/MessageStorage/**/*.{h,m,swift}',
'Classes/MobileMessaging/RichNotifications/**/*.{h,m,swift}',
'Classes/MobileMessaging/UserSession/**/*.{h,m,swift}',
'Classes/MobileMessaging/Vendor/**/*.{h,m,swift}',
'Classes/MobileMessagingObjC/Core/**/*.{h,m,swift}',
'Classes/MobileMessagingObjC/Vendor/**/*.{h,m,swift}',
'Classes/MobileMessagingObjC/Headers/**/*.{h,m,swift}',
'Headers/Public/MobileMessaging/MobileMessaging-umbrella.h'
end
s.subspec 'CocoaLumberjack' do |cl|
cl.dependency 'MobileMessaging/Core'
cl.source_files = 'Classes/Logging/CocoaLumberjack/**/*.{h,m,swift}'
cl.dependency 'CocoaLumberjack/Swift', '3.7.4'
end
s.subspec 'Geofencing' do |geo|
geo.dependency 'MobileMessaging/Core'
geo.frameworks = 'CoreLocation'
geo.source_files = 'Classes/Geofencing/**/*.{h,m,swift}'
end
s.subspec 'InAppChat' do |chat|
chat.frameworks = 'AudioToolbox'
chat.dependency 'MobileMessaging/Core'
chat.source_files = 'Classes/Chat/**/*.{h,m,swift}'
chat.resource_bundles = {'MMInAppChat' => ['Classes/Chat/Resources/**/*.{xcassets,png,html}', 'Classes/Chat/Localization/**/*.strings']}
end
s.subspec 'Inbox' do |inbox|
inbox.dependency 'MobileMessaging/Core'
inbox.source_files = 'Classes/Inbox/**/*.{h,m,swift}'
end
s.subspec 'WebRTCUI' do |webrtcui|
webrtcui.dependency 'MobileMessaging/Core'
webrtcui.dependency 'InfobipRTC', '2.4.1'
webrtcui.source_files = 'Classes/WebRTCUI/**/*.{h,m,swift}'
webrtcui.resource_bundles = {'MMWebRTCUI' => ['Classes/WebRTCUI/Resources/**/*.{xcassets,png,wav,svg,html}']}
s.pod_target_xcconfig = {
'SWIFT_VERSION' => '5',
'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) COCOAPODS=1 WEBRTCUI_ENABLED=1',
'OTHER_SWIFT_FLAGS' => '$(inherited) -D WEBRTCUI_ENABLED'
}
end
end