Improve performance
This commit is contained in:
parent
20a847de95
commit
6e6e9332bf
12
Podfile
12
Podfile
|
@ -105,9 +105,21 @@ target 'SignalMessaging' do
|
|||
end
|
||||
|
||||
post_install do |installer|
|
||||
enable_whole_module_optimization_for_cryptoswift(installer)
|
||||
enable_extension_support_for_purelayout(installer)
|
||||
end
|
||||
|
||||
def enable_whole_module_optimization_for_cryptoswift(installer)
|
||||
installer.pods_project.targets.each do |target|
|
||||
if target.name.end_with? "CryptoSwift"
|
||||
target.build_configurations.each do |config|
|
||||
config.build_settings['GCC_OPTIMIZATION_LEVEL'] = 'fast'
|
||||
config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-O'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
# PureLayout by default makes use of UIApplication, and must be configured to be built for an extension.
|
||||
def enable_extension_support_for_purelayout(installer)
|
||||
installer.pods_project.targets.each do |target|
|
||||
|
|
|
@ -325,6 +325,6 @@ SPEC CHECKSUMS:
|
|||
YapDatabase: b418a4baa6906e8028748938f9159807fd039af4
|
||||
YYImage: 1e1b62a9997399593e4b9c4ecfbbabbf1d3f3b54
|
||||
|
||||
PODFILE CHECKSUM: 5963da3d09b1f6e9aee15d9e684901b350dce6ec
|
||||
PODFILE CHECKSUM: b4f88816a817cc27f499940c644c0449ef5d7cc7
|
||||
|
||||
COCOAPODS: 1.9.3
|
||||
|
|
2
Pods
2
Pods
|
@ -1 +1 @@
|
|||
Subproject commit 8b8d1d35f47af7071caaaee0aca8c1f5806bbe8e
|
||||
Subproject commit d1322a0a5e38a04b7c9fb57c847ea0f2eb7c13c3
|
Loading…
Reference in New Issue