Skip to content

Commit

Permalink
Merge pull request #6196 from wtimme/feature/No-Ticket-Inhibit-all-wa…
Browse files Browse the repository at this point in the history
…rnings-from-pods

Silence warnings from 3rd-party CocoaPods dependencies
  • Loading branch information
pixlwave committed Jun 1, 2022
2 parents a9886e4 + a825a5a commit 90041a6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
14 changes: 8 additions & 6 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ source 'https://cdn.cocoapods.org/'
# Uncomment this line to define a global platform for your project
platform :ios, '14.0'

# By default, ignore all warnings from any pod
inhibit_all_warnings!

# Use frameworks to allow usage of pods written in Swift
use_frameworks!

Expand Down Expand Up @@ -42,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

########################################
Expand All @@ -69,12 +72,11 @@ 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'

# Remove warnings from "bad" pods
pod 'OLMKit', :inhibit_warnings => true
pod 'zxcvbn-ios', :inhibit_warnings => true
pod 'OLMKit'
pod 'zxcvbn-ios'

# Tools
pod 'SwiftGen', '~> 6.3'
Expand Down
4 changes: 2 additions & 2 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,6 @@ SPEC CHECKSUMS:
zxcvbn-ios: fef98b7c80f1512ff0eec47ac1fa399fc00f7e3c
ZXingObjC: fdbb269f25dd2032da343e06f10224d62f537bdb

PODFILE CHECKSUM: 525efbc379e42474c461991425266c166593d69f
PODFILE CHECKSUM: 37d7f07953015898ac6f2e628e9b20c2bdd55753

COCOAPODS: 1.11.2
COCOAPODS: 1.11.3
1 change: 1 addition & 0 deletions changelog.d/pr-6196.build
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Ensure that warnings from CocoaPods dependencies do not show up in Xcode

0 comments on commit 90041a6

Please sign in to comment.