Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

iOS: Eliminate unguarded-availability opt-out #56689

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions shell/platform/darwin/ios/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,8 @@ shared_library("ios_test_flutter") {
testonly = true
visibility = [ "*" ]

# Xcode 15 beta has a bug where iOS 17 API usage is not guarded.
# This bug results engine build failure since the engine treats warnings as errors.
# The `-Wno-unguarded-availability-new` can be removed when the Xcode bug is fixed.
# See details in https://github.com/flutter/flutter/issues/128958.
cflags_objc = flutter_cflags_objc
cflags_objcc = flutter_cflags_objcc + [ "-Wno-unguarded-availability-new" ]
cflags_objcc = flutter_cflags_objcc
cflags = [
"-fvisibility=default",
"-F$platform_frameworks_path",
Expand Down