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 18 Beta 3 SwiftUICore/GraphHost.swift:215: Fatal error: no current graph host #1139

Closed
5 of 10 tasks
kamaravichow opened this issue Aug 11, 2024 · 3 comments
Closed
5 of 10 tasks
Labels
bug Something isn't working

Comments

@kamaravichow
Copy link

‼️ Required data ‼️

Do not remove any of the steps from the template below. If a step is not applicable to your issue, please leave that step empty.

There are a lot of things that can contribute to things not working. Having a very basic understanding of your environment will help us understand your issue faster!

Environment

  • Output of flutter doctor
  • Version of purchases-flutter
  • [ iOS 18 BETA 1] Testing device version
  • How often the issue occurs- every one of your customers is impacted? Only in dev?
  • Debug logs that reproduce the issue
  • Steps to reproduce, with a description of expected vs. actual behavior
    Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.)

Describe the bug

PressReaderStaging`static PressReaderApp.$main():
    0x100269614 <+0>:  stp    x20, x19, [sp, #-0x20]!
    0x100269618 <+4>:  stp    x29, x30, [sp, #0x10]
    0x10026961c <+8>:  add    x29, sp, #0x10
    0x100269620 <+12>: mov    x0, #0x0
    0x100269624 <+16>: bl     0x1002676ac               ; type metadata accessor for PressReaderStaging.PressReaderApp at <compiler-generated>
    0x100269628 <+20>: mov    x20, x0
    0x10026962c <+24>: bl     0x100269648               ; lazy protocol witness table accessor for type PressReaderStaging.PressReaderApp and conformance PressReaderStaging.PressReaderApp : SwiftUI.App in PressReaderStaging at <compiler-generated>
    0x100269630 <+28>: mov    x1, x0
    0x100269634 <+32>: mov    x0, x20
    0x100269638 <+36>: bl     0x1013ce4fc               ; symbol stub for: static SwiftUI.App.main() -> ()
->  0x10026963c <+40>: ldp    x29, x30, [sp, #0x10]
    0x100269640 <+44>: ldp    x20, x19, [sp], #0x20
    0x100269644 <+48>: ret 

Additional context

SwiftUICore/GraphHost.swift:215: Fatal error: no current graph host
@kamaravichow kamaravichow added the bug Something isn't working label Aug 11, 2024
@RCGitBot
Copy link
Contributor

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

@fire-at-will
Copy link
Contributor

Hi @kamaravichow, thanks for reporting!

This crash was caused by a SwiftUI bug introduced in the iOS18 betas (see this issue for more details). It should be resolved with the most recent purchases-flutter release, 7.0.2. Please let us know if that works for you!

@fire-at-will
Copy link
Contributor

Hi @kamaravichow, the underlying SwiftUI bug that was causing this crash has also been fixed in the latest iOS betas (iOS 18.1 beta 2 / iOS 18 beta 6). I’m tentatively closing this issue for now, but feel free to reopen if there’s something more we should dig into!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants