Skip to content

[tvOS] (master) Crash on first login #1477

@sjorge

Description

@sjorge

Describe the bug

(Reference: #1294 (reply in thread))

  1. build the 'Swiftfin tvOS' project
  2. run in simulator | run on device (I had it on both)
  3. select your discovered server on the right (not sure if it matters)
  4. login with an admin account (not sure if it needs to be an admin account)
  5. Debugger hangs here

You can get past this by force closing the app or rebuilding again.

If you force close the app, start it without the debugger it just crashes. This only happens the very first time if there was no previous server configured.

I don't know enough objc/swiftui to make head nor tails from the stack, I do wonder if there is a missing permission for the app as I never get a prompt to allow access to the local network and it does happen on the first attempt to connect to jellyfin.

Application version

master

Where did you install the app from?

None

Device information

Apple TV 4K (Ethernet)

OS version

tvOS 18.3.1

Jellyfin server version

10.10.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcrashThis issue results in a crash

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions