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

Fix iOS builds on Xcode 11.4 for new enum values added in iOS 13.4.#17429

Merged
chinmaygarde merged 1 commit intoflutter:masterfrom
chinmaygarde:xcode104
Mar 31, 2020
Merged

Fix iOS builds on Xcode 11.4 for new enum values added in iOS 13.4.#17429
chinmaygarde merged 1 commit intoflutter:masterfrom
chinmaygarde:xcode104

Conversation

@chinmaygarde
Copy link
Contributor

@chinmaygarde chinmaygarde commented Mar 31, 2020

The following issues have been filed to track the handling of these enum values:

No change in functionality. Only makes the iOS engine build on the latest
versions of Xcode and iOS SDK. The enum values cannot be used with the
API_AVAILABLE macro because the buildbots have not been updated yet.

case UITouchPhaseCancelled:
return flutter::PointerData::Change::kCancel;
default:
// TODO(53695): Handle the `UITouchPhaseRegion`... enum values.
Copy link
Member

Choose a reason for hiding this comment

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

Can we print something here? Like unexpected touch phase $phase received. So if we forget anything, we'll get reminded.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We are veering away from the adding logs that the user/developer cannot take action on. I'd prefer we track it via the issue instead.

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe just an FML_DLOG(INFO)? That wouldn't show up for normal developers.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@xster
Copy link
Member

xster commented Mar 31, 2020

LGTM

The following issues have been filed to track the handling of these enum values:

* Handle the UITouchTypeIndirectPointer enum value. flutter/flutter#53696
* Handle the UITouchPhaseRegion enum values. flutter/flutter#53695

No change in functionality. Only makes the iOS engine build on the latest
versions of Xcode and iOS SDK. The enum values cannot be used with the
API_AVAILABLE macro because the buildbots have not been updated yet.
@xster
Copy link
Member

xster commented Mar 31, 2020

LGTM

@chinmaygarde chinmaygarde merged commit 6bdbe16 into flutter:master Mar 31, 2020
@chinmaygarde chinmaygarde deleted the xcode104 branch March 31, 2020 22:10
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 1, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 1, 2020
goderbauer pushed a commit to goderbauer/engine that referenced this pull request Apr 16, 2020
…lutter#17429)

The following issues have been filed to track the handling of these enum values:

* Handle the UITouchTypeIndirectPointer enum value. flutter/flutter#53696
* Handle the UITouchPhaseRegion enum values. flutter/flutter#53695

No change in functionality. Only makes the iOS engine build on the latest
versions of Xcode and iOS SDK. The enum values cannot be used with the
API_AVAILABLE macro because the buildbots have not been updated yet.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants