Skip to content

[BUG] TouchEffect does not work on iOS when app is built in ReleaseΒ #2235

@velocitysystems

Description

@velocitysystems

Is there an existing issue for this?

  • I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

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

  1. Create a new blank MAUI project
  2. Add a TouchEffect to any control
  3. Build the app in Release configuration

Link to public reproduction project repository

AotSample.zip

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/behaviorsIssue/Discussion/PR that has to do with BehaviorsbugSomething isn't workingunverified

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions