Skip to content

[iOS/Catalyst] Swipeviews with invoked properties crash the app in Release #18055

Description

@arnaudaug

Description

Hello MAUI Team,

I am encountering a problem with swipeviews containing invoked properties.
I would like to point out that these are crashes on generic pages when the application is compiled in release mode on iOS or MacCatalyst and that it works well in Debug.
It also works fine in Debug/Release on Android.

Regards

Steps to Reproduce

1./ Copy my repository
2./ Compile the application in release mode (provisioning profile needed and must be selected).
3./ Run the app with your iOS device.

capture witdh=200

First button : Generic listpage with one Invoked event = Crash after swipe + press "Delete" on an item.
Second button : Generic listpage with many Invoked events = Crash after pressing the button. We should display a page with two swipes on the left to move up and down an item and one swipe on the right to delete it.
Third button : Classic page with Invoked event : Works well.

I use BasePage for generics models.

In 8.0 RC2 : Crash according to the cases I identified
In 8.0 RC1 : Known bug, invokeds do not react.

If you need clarification, don't hesitate.
Thank

Link to public reproduction project repository

https://github.com/arnaudaug/CollectionReleaseiOS

Version with bug

8.0.0-rc.2.9373

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS, macOS

Affected platform versions

iOS 16.6.1 macOS 13.6

Did you find any workaround?

No, I tried to use commands instead but failed.

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions