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

Conversation

@cyanglaz
Copy link
Contributor

@cyanglaz cyanglaz commented Aug 18, 2023

Ignore ungarded-availability for unit test

fixes flutter/flutter#128958

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. See testing the engine for instructions on writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@cyanglaz cyanglaz marked this pull request as ready for review August 21, 2023 19:54
@cyanglaz cyanglaz force-pushed the ios_min_deploy_target branch from af7f27e to 4c9d9db Compare August 21, 2023 19:54
@cyanglaz

This comment was marked as outdated.

@hellohuanlin

This comment was marked as outdated.

@cyanglaz cyanglaz changed the title update min ios target for testing to 17.0 update -mios-simulator-version-min for testing to 17.0 Aug 22, 2023
@cyanglaz

This comment was marked as outdated.

hellohuanlin

This comment was marked as outdated.

@cyanglaz cyanglaz force-pushed the ios_min_deploy_target branch from 4c9d9db to e63cab3 Compare August 23, 2023 20:24
@cyanglaz cyanglaz changed the title update -mios-simulator-version-min for testing to 17.0 Ignore ungarded-availability for unit test Aug 23, 2023
@cyanglaz
Copy link
Contributor Author

After offline discussion with @stuartmorgan, we think it is better to ignore the warning for now instead of updating the flag.

@cyanglaz cyanglaz requested review from stuartmorgan-g and removed request for dnfield August 23, 2023 20:27
Copy link
Contributor

@hellohuanlin hellohuanlin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chinmaygarde chinmaygarde changed the title Ignore ungarded-availability for unit test Ignore unguarded-availability for unit test Aug 24, 2023
Copy link
Contributor

@stuartmorgan-g stuartmorgan-g left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with nit. Thanks!

"-mios-simulator-version-min=$ios_testing_deployment_target",
]

# An XCode15-beta has a bug where iOS 17 API usage is not guarded.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Xcode 15 beta

"-mios-simulator-version-min=$ios_testing_deployment_target",
]

# An XCode15-beta has a bug where iOS 17 API usage is not guarded.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same.

@cyanglaz cyanglaz added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 25, 2023
@auto-submit auto-submit bot merged commit 3c1143f into flutter:main Aug 25, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 25, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Aug 25, 2023
…133342)

flutter/engine@3dcd217...1471967

2023-08-25 reidbaker@google.com Update gradle to 7.5.1 (flutter/engine#45113)
2023-08-25 ychris@google.com Ignore unguarded-availability for unit test (flutter/engine#44852)
2023-08-25 jonahwilliams@google.com [Impeller] avoid hashing and std::vector growth when binding descriptor sets. (flutter/engine#45070)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jimgraham@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
gaaclarke pushed a commit to gaaclarke/engine that referenced this pull request Aug 30, 2023
@cyanglaz cyanglaz deleted the ios_min_deploy_target branch August 31, 2023 17:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

autosubmit Merge PR when tree becomes green via auto submit App platform-ios

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iOS 17 beta: XCTests requires the testing deployment target to be 17.0

3 participants