Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS app crashes in release mode on physical device #20175

Closed
roughiain opened this issue Jan 26, 2024 · 5 comments
Closed

iOS app crashes in release mode on physical device #20175

roughiain opened this issue Jan 26, 2024 · 5 comments
Labels
area-publishing Issues with the app packaging/publishing process (ipk/apk/msix/trimming) partner/macios Issues for the Mac / iOS SDK platform/iOS 🍎 t/bug Something isn't working

Comments

@roughiain
Copy link

Description

The application crashes on after a few screens with

[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:] perform input operation requires a valid sessionID

Googling around found a similar reactNative bug

also on the apple developer forums

I have no idea how to get more information on this.

Here are the build settings

<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net8.0-ios/ios-arm64|AnyCPU'">
        <CreatePackage>false</CreatePackage>
        <RuntimeIdentifier>ios-arm64</RuntimeIdentifier>
<!--        <PublishAot>True</PublishAot>-->
        <CodesignProvision>$(CODESIGNPROVISION)</CodesignProvision>
        <CodesignKey>$(CODESIGNKEY)</CodesignKey>
        <CodesignEntitlements>Platforms\iOS\Entitlements.plist</CodesignEntitlements>
    </PropertyGroup>

Steps to Reproduce

I can't reproduce as I don't have enough information.

Link to public reproduction project repository

No response

Version with bug

8.0.3

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 17

Did you find any workaround?

No

Relevant log output

Device log 

`-[RTIInputSystemClient remoteTextInputSessionWithID:performInputOperation:]  perform input operation requires a valid sessionID`
@roughiain roughiain added the t/bug Something isn't working label Jan 26, 2024
@PureWeen
Copy link
Member

@rolfbjarne thoughts?

@PureWeen PureWeen added platform/iOS 🍎 partner/macios Issues for the Mac / iOS SDK area-publishing Issues with the app packaging/publishing process (ipk/apk/msix/trimming) labels Jan 26, 2024
@rolfbjarne
Copy link
Member

Does this happen in the simulator or on device (or both)?

A crash report might be helpful: https://github.com/xamarin/xamarin-macios/wiki/Diagnosis#crash-reports

That said, this doesn't look like a bug in MAUI (because of all the people running into the same thing in the Apple forums), so we might not be able to do something about it (at most we might be able to work around it somehow, but that really depends on what's triggering the problem, and we'd need a way to reproduce it - aka a test project - in order to even start trying to find a solution).

@roughiain
Copy link
Author

Hi, I have tracked the issue down to a third party module, please close the ticket

@brodysctt
Copy link

@roughiain what dependency caused the issue? I'm experiencing a similar bug

@roughiain
Copy link
Author

It was an event on a DevExpress chip group

So this event was crashing on page load

void ChipGroupCategories_OnSelectionChanged(object? sender, EventArgs e)

I still need to create a repo with just the error and submit it to them, but things have been busy.

@github-actions github-actions bot locked and limited conversation to collaborators Mar 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-publishing Issues with the app packaging/publishing process (ipk/apk/msix/trimming) partner/macios Issues for the Mac / iOS SDK platform/iOS 🍎 t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants