Maui
Maui copied to clipboard
[BUG] TouchEffect does not work on iOS when app is built in Release
Is there an existing issue for this?
- [X] I have searched the existing issues
Did you read the "Reporting a bug" section on Contributing file?
- [X] I have read the "Reporting a bug" section on Contributing file: https://github.com/CommunityToolkit/Maui/blob/main/CONTRIBUTING.md#reporting-a-bug
Current Behavior
TouchEffect
does not work on iOS when app is built in Release.
This is a regression in 9.1.0 and possibly due to AOT improvements.
Expected Behavior
TouchEffect
should work and fire events/execute commands when attached to a view.
Steps To Reproduce
- Create a new blank MAUI project
- Add a
TouchEffect
to any control - Build the app in
Release
configuration
Link to public reproduction project repository
Environment
- .NET MAUI CommunityToolkit: 9.1.0
- OS: iOS 17.5
- .NET MAUI: 8.0.91 SR9.1 (latest)
Anything else?
Works in 9.0.3. Android works in both Debug and Release.