Skip to content

Commit c20d008

Browse files
authored
fix(apple): reduce build noise from Flipper and dependencies (#508)
1 parent 071e3dd commit c20d008

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

ios/ReactTestApp.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@
223223
19ECD0CA232ED425003D8557 /* Project object */ = {
224224
isa = PBXProject;
225225
attributes = {
226-
LastSwiftUpdateCheck = 1250;
227-
LastUpgradeCheck = 1250;
226+
LastSwiftUpdateCheck = 1300;
227+
LastUpgradeCheck = 1300;
228228
ORGANIZATIONNAME = Microsoft;
229229
TargetAttributes = {
230230
19ECD0D1232ED425003D8557 = {

ios/test_app.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,11 @@ def use_test_app_internal!(target_platform, options)
332332
config.build_settings.delete('IPHONEOS_DEPLOYMENT_TARGET')
333333
config.build_settings.delete('MACOSX_DEPLOYMENT_TARGET')
334334
end
335+
when /\AFlipper/, 'libevent'
336+
target.build_configurations.each do |config|
337+
# Flipper and its dependencies log too many warnings
338+
config.build_settings['WARNING_CFLAGS'] ||= ['"-w"']
339+
end
335340
when /\AReact/
336341
target.build_configurations.each do |config|
337342
# Xcode 10.2 requires suppression of nullability for React

macos/ReactTestApp.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,8 @@
214214
193EF057247A736100BE8C79 /* Project object */ = {
215215
isa = PBXProject;
216216
attributes = {
217-
LastSwiftUpdateCheck = 1250;
218-
LastUpgradeCheck = 1250;
217+
LastSwiftUpdateCheck = 1300;
218+
LastUpgradeCheck = 1300;
219219
ORGANIZATIONNAME = Microsoft;
220220
TargetAttributes = {
221221
193EF05E247A736100BE8C79 = {

0 commit comments

Comments
 (0)