Skip to content

Commit a6a3743

Browse files
committed
Version 3.39.0
1 parent 335394d commit a6a3743

File tree

277 files changed

+2035
-14753
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

277 files changed

+2035
-14753
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ DerivedData
2020
*.ipa
2121

2222
Example/Pods/*
23+
Example/Podfile.lock
2324

2425
# Bundler
2526
.bundle

Example/Podfile

Lines changed: 28 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,52 @@
1-
platform :ios, '10.0'
1+
platform :ios, '11.0'
22
workspace 'WebimClientLibrary'
33
use_frameworks!
44

55
target 'WebimClientLibrary_Example' do
66
target 'WebimClientShare' do
77
use_frameworks!
8-
pod 'Cosmos', '~> 19.0.3', :inhibit_warnings => true
9-
pod 'Nuke', '~> 8.0', :inhibit_warnings => true
10-
pod 'SQLite.swift', '0.13.3', :inhibit_warnings => true # WebimClientLibrary dependency – added to inhibit its warnings.
118
pod 'WebimClientLibrary', :path => '../'
129
project 'WebimClientLibrary.xcodeproj'
1310
end
1411
pod 'WebimClientLibrary', :path => '../'
15-
16-
pod 'Cosmos', '~> 19.0.3', :inhibit_warnings => true
1712
pod 'Firebase/Crashlytics'
1813
pod 'Firebase/Analytics'
19-
pod 'SlackTextViewController', :inhibit_warnings => true
20-
pod 'SnapKit', :inhibit_warnings => true
21-
pod 'SQLite.swift', '0.13.3', :inhibit_warnings => true # WebimClientLibrary dependency – added to inhibit its warnings.
22-
pod 'Nuke', '~> 8.0', :inhibit_warnings => true
14+
pod 'WebimWidget', :git =>
15+
'https://github.com/webim/webim-mobile-ui-ios.git', :tag => '1.0.0'
2316

2417
target 'WebimClientLibrary_Tests' do
2518
inherit! :search_paths
2619
end
2720

2821
post_install do |installer|
29-
installer.pods_project.targets.each do |target|
30-
if target.name == 'WebimClientLibrary' || target.name == 'SQLite.swift' || target.name == 'Cosmos' || target.name == 'Nuke'
31-
target.build_configurations.each do |config|
32-
config.build_settings['SWIFT_VERSION'] = '5.0'
33-
end
34-
else
35-
target.build_configurations.each do |config|
36-
config.build_settings['SWIFT_VERSION'] = '4.2'
37-
end
38-
end
22+
installer.pods_project.targets.each do |target|
23+
if target.name == 'WebimClientLibrary' || target.name == 'SQLite.swift' || target.name == 'Cosmos' || target.name == 'Nuke'
24+
target.build_configurations.each do |config|
25+
config.build_settings['SWIFT_VERSION'] = '5.0'
26+
end
27+
else
28+
target.build_configurations.each do |config|
29+
config.build_settings['SWIFT_VERSION'] = '4.2'
30+
end
31+
end
3932

40-
if target.name == 'Nuke' || target.name == 'Cosmos' || target.name == 'Crashlytics' || target.name == 'Fabric' || target.name == 'SlackTextViewController'
41-
target.build_configurations.each do |config|
42-
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0'
43-
end
44-
end
33+
target.build_configurations.each do |config|
34+
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'
35+
end
36+
37+
target.build_configurations.each do |config|
38+
if config.name == 'Debug'
39+
config.build_settings['OTHER_SWIFT_FLAGS'] = ['$(inherited)', '-Onone']
40+
config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-Owholemodule'
41+
end
42+
end
4543

46-
target.build_configurations.each do |config|
47-
if config.name == 'Debug'
48-
config.build_settings['OTHER_SWIFT_FLAGS'] = ['$(inherited)', '-Onone']
49-
config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-Owholemodule'
50-
end
51-
end
44+
if target.name == 'SlackTextViewController' || target.name == 'WebimWidget'
45+
target.build_configurations.each do |config|
46+
config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'NO'
47+
end
5248
end
49+
end
5350
end
5451

5552
end

Example/Podfile.lock

Lines changed: 0 additions & 169 deletions
This file was deleted.

0 commit comments

Comments
 (0)