Skip to content

Commit 3406ce6

Browse files
committed
test(build, ios): quiet non-RNFB warnings
1 parent 049886a commit 3406ce6

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

tests/ios/Podfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,16 @@ target 'testing' do
5757
aggregate_target.user_project.save
5858
end
5959

60+
61+
# Turn off warnings on non-RNFB dependencies - some of them are really really noisy
62+
installer.pods_project.targets.each do |target|
63+
if !target.name.include? "RNFB"
64+
target.build_configurations.each do |config|
65+
config.build_settings["GCC_WARN_INHIBIT_ALL_WARNINGS"] = "YES"
66+
end
67+
end
68+
end
69+
6070
__apply_Xcode_12_5_M1_post_install_workaround(installer)
6171
end
6272
end

tests/ios/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1190,6 +1190,6 @@ SPEC CHECKSUMS:
11901190
RNFBStorage: 4ca76e9a42f684e2a50e5ec2552adb60d829d7b0
11911191
Yoga: 4e413bcfc159bb24650466ba3567b533c66e3e1a
11921192

1193-
PODFILE CHECKSUM: 43fa86a6ee18afb5a0e1abf27196346cd71e6cf5
1193+
PODFILE CHECKSUM: a4854589561b42da6b3b0726136a46ac6aef3ebd
11941194

11951195
COCOAPODS: 1.11.2

0 commit comments

Comments
 (0)