Let warnings from MatrixSDK and AnalyticsEvents show up in Xcode

As requested by @pixlwave during their review of #6196, these
`inhibit_warnings` directive configure CocoaPods in a way that the
warnings for both MatrixSDK and AnalyticsEvents show up when building
the workspace in Xcode.
This commit is contained in:
wtimme 2022-05-31 10:50:28 +02:00
parent d0395616ff
commit 95387a6dd5
2 changed files with 4 additions and 4 deletions

View file

@ -45,8 +45,8 @@ end
# Method to import the MatrixSDK
def import_MatrixSDK
pod 'MatrixSDK', $matrixSDKVersionSpec
pod 'MatrixSDK/JingleCallStack', $matrixSDKVersionSpec
pod 'MatrixSDK', $matrixSDKVersionSpec, :inhibit_warnings => false
pod 'MatrixSDK/JingleCallStack', $matrixSDKVersionSpec, :inhibit_warnings => false
end
########################################
@ -72,7 +72,7 @@ abstract_target 'RiotPods' do
# PostHog for analytics
pod 'PostHog', '~> 1.4.4'
pod 'AnalyticsEvents', :git => 'https://github.com/matrix-org/matrix-analytics-events.git', :branch => 'release/swift'
pod 'AnalyticsEvents', :git => 'https://github.com/matrix-org/matrix-analytics-events.git', :branch => 'release/swift', :inhibit_warnings => false
# pod 'AnalyticsEvents', :path => '../matrix-analytics-events/AnalyticsEvents.podspec'
pod 'OLMKit'

View file

@ -229,6 +229,6 @@ SPEC CHECKSUMS:
zxcvbn-ios: fef98b7c80f1512ff0eec47ac1fa399fc00f7e3c
ZXingObjC: fdbb269f25dd2032da343e06f10224d62f537bdb
PODFILE CHECKSUM: ae5f22f20d68ccfcf8fc5693696ccbeaf55a7d34
PODFILE CHECKSUM: 58eaf3c43ff9aa421acb52c5340537c6b9403c6e
COCOAPODS: 1.11.3