Skip to content

[Bug]: Chat demo app closes when launch in iOS #935

Open
@PierreVieira

Description

@PierreVieira

General Info

  • I checked for similar bug report
  • I am using the latest version
  • I checked the troubleshooting page for similar problems

Version(s)

3.1.4

Kotlin Target(s) and their respective versions

iOS 18.4

What happened? (include your code)

It works normally in Android when we launch the app.

Evidence:

Screen.Recording.2025-05-16.at.21.02.16.mov

Log:

2025-05-16 21:00:37.889045-0300 chatdemoios[9280:608197] [] 🟢 (Supabase-Core) SupabaseClient created! Please report any bugs you find.
2025-05-16 21:00:37.898523-0300 chatdemoios[9280:608229] [] 🟢 (Supabase-Auth) Loading session from storage...
2025-05-16 21:00:37.898602-0300 chatdemoios[9280:608229] [] 🟢 (Supabase-Auth) No session found. Setting session status to NotAuthenticated.
Uncaught Kotlin exception: kotlin.IllegalStateException: Error: `Info.plist` doesn't have a valid `CADisableMinimumFrameDurationOnPhone` entry. 
This will result in an inadequate performance on iPhones with high refresh rate. 
Add `<key>CADisableMinimumFrameDurationOnPhone</key><true/>` entry to `Info.plist` to fix this error. 
If you don't have a separate plist file, add the entry to the target from within Xcode: Project -> Targets -> Info -> Custom iOS Target Properties.                            
Or set `ComposeUIViewController(configure = { enforceStrictPlistSanityCheck = false }) { .. }`, if it's intended.                            
2025-05-16 21:00:38.044096-0300 chatdemoios[9280:608197] [library] load_eligibility_plist: Failed to open /Users/pierrevieira/Library/Developer/CoreSimulator/Devices/318EAF4E-C898-47E5-BCE0-29A14CF66E73/data/Containers/Data/Application/AF31FC77-304C-48A1-950E-79C218CCB9B5/private/var/db/eligibilityd/eligibility.plist: No such file or directory(2)
    at 0   chatdemoios.debug.dylib             0x106b3d1e3        kfun:kotlin.Throwable#<init>(kotlin.String?){} + 99 
    at 1   chatdemoios.debug.dylib             0x106b37003        kfun:kotlin.Exception#<init>(kotlin.String?){} + 95 
    at 2   chatdemoios.debug.dylib             0x106b371d3        kfun:kotlin.RuntimeException#<init>(kotlin.String?){} + 95 
    at 3   chatdemoios.debug.dylib             0x106b37697        kfun:kotlin.IllegalStateException#<init>(kotlin.String?){} + 95 
    at 4   chatdemoios.debug.dylib             0x107becf63        kfun:androidx.compose.ui.uikit.PlistSanityCheck.PlistSanityCheck$performIfNeeded$1.invoke#internal + 1091 
    at 5   chatdemoios.debug.dylib             0x107bed113        kfun:androidx.compose.ui.uikit.PlistSanityCheck.PlistSanityCheck$performIfNeeded$1.$<bridge-DNN>invoke(){}#internal + 71 
    at 6   chatdemoios.debug.dylib             0x106c67dd3        kfun:kotlin.Function0#invoke(){}1:0-trampoline + 99 
    at 7   chatdemoios.debug.dylib             0x107bed257        _6f72672e6a6574627261696e732e636f6d706f73652e75693a75692f6f70742f6275696c644167656e742f776f726b2f323262393232303366303037343765302f636f6d706f73652f75692f75692f7372632f75696b69744d61696e2f6b6f746c696e2f616e64726f6964782f636f6d706f73652f75692f75696b69742f506c69737453616e697479436865636b2e75696b69742e6b74_knbridge10 + 139 
    at 8   libdispatch.dylib                   0x18017c787        _dispatch_call_block_and_release + 23 
    at 9   libdispatch.dylib                   0x180197277        _dispatch_client_callout + 11 
    at 10  libdispatch.dylib                   0x1801b234f        _dispatch_workloop_invoke.cold.4 + 27 
    at 11  libdispatch.dylib                   0x18018fc0f        _dispatch_root_queue_drain + 915 
    at 12  libdispatch.dylib                   0x1801903b3        _dispatch_worker_thread2 + 231 
    at 13  libsystem_pthread.dylib             0x10218ab8f        _pthread_wqthread + 227 
    at 14  libsystem_pthread.dylib             0x10218998b        start_wqthread + 7 

Steps To Reproduce (optional)

Open the chat demo app on ios

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions