Replies: 1 comment 4 replies
-
Is this crash happening on the iOS side of the app? If so, then there must be some issue with how your are calling Note that Skip isn't involved any way on the iOS side of your app: you are calling the Apple framework APIs directly, so any issues the iOS side experiences are unlikely to be related to Skip. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! First crashing issue we haven't been able to figure out. In an effort to simplify reproducing, here are steps from the default starter skip project.
create new initial app with the --native-app flag
go to ContentView.swift and add
import ContactsUI
to top of fileadd this to WelcomeView below the heart image
and
@State var showingContactPicker = false
to WelcomeView as well.The picker will show when you run and tap the button, but when you dismiss the picker, there is a crash that appears to be libdispatch/queue related.
I'm curious to know where skip inserts itself in this case. If i wrap that in an
#if os(iOS)
and its using a built in SwiftUI control, i would have assumed the runtime path would be no diff than just a standalone iOS only SwiftUI app, but obviously there is something skip related happening at either compile time or runtime that is impacting it.Thank you!
Beta Was this translation helpful? Give feedback.
All reactions