Post

Replies

Boosts

Views

Activity

Reply to TabView with TabSection crashing on iPad
@JagCesar2 Hey, have you heard anything from your bug report? I just dug back into this issue and was able to reproduce it with Apple's own DestinationVideo project: https://developer.apple.com/documentation/visionos/destination-video Only thing you need to modify is uncheck 'Requires full screen' in Deployment info. After that select any item in the sidebar and minimise the app. If it doesn't crash after the 1st attempt, retry it a couple of times. For me it always bails with: SwiftUI/SidebarAdaptableTabViewStyle_iOS.swift:482: Fatal error: Tried to update with invalid selection value I also created a radar under FB15759496
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Nov ’24
Reply to TabView with TabSection crashing on iPad
I'm experiencing the same issue. It occurs, when minimising the app. My guess is that this happens while generating the snapshot for the app switcher. Even adding an empty section will crash my app: TabSection("Feeds") { Tab("Home", systemImage: "house", value: Navigation.Sidebar.default) { EmptyView() } } Removing the wrapping "TabSection" fixes the issue.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’24
Reply to ld: building for iOS Simulator, but linking in object file built for iOS, file for architecture arm64
@edford: thx for the prompt response! Maybe I'm misunderstanding things, but I am indeed currently running Xcode using Rosetta. And the problem vanishes. As far as I thought I had understood it this is due to the Simulator also running in Rosetta - hence using the x86_64 arm64 lib and not giving me any problems when linking. Is there another explanation for this 'fix'?
Nov ’21
Reply to ld: building for iOS Simulator, but linking in object file built for iOS, file for architecture arm64
@edford I have the same problem. However, the library I'm including is a legacy module that won't be updated by the 3rd party vendor. Lipo says: Architectures in the fat file: LegacyLib are: i386 armv7 x86_64 arm64 As far as I can tell my only option seems to be to run Xcode in Rosetta mode or do you see any other option?
Nov ’21
Reply to TabView with TabSection crashing on iPad
@JagCesar2 Hey, have you heard anything from your bug report? I just dug back into this issue and was able to reproduce it with Apple's own DestinationVideo project: https://developer.apple.com/documentation/visionos/destination-video Only thing you need to modify is uncheck 'Requires full screen' in Deployment info. After that select any item in the sidebar and minimise the app. If it doesn't crash after the 1st attempt, retry it a couple of times. For me it always bails with: SwiftUI/SidebarAdaptableTabViewStyle_iOS.swift:482: Fatal error: Tried to update with invalid selection value I also created a radar under FB15759496
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to TabView with TabSection crashing on iPad
I'm experiencing the same issue. It occurs, when minimising the app. My guess is that this happens while generating the snapshot for the app switcher. Even adding an empty section will crash my app: TabSection("Feeds") { Tab("Home", systemImage: "house", value: Navigation.Sidebar.default) { EmptyView() } } Removing the wrapping "TabSection" fixes the issue.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to SwiftUI NavigationSplitView like Apple Music
@jep struggeling with the same issue. Have you found a solution?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to Persist navigation paths in NavigationSplitView with NavigationStacks
Trying to revive this old topic. I'm able to reproduce my issue with the code example of @achernoff . @DTS Engineer does that help you reproduce the problem as well?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to Notification Service Extension in iOS works sometimes but stops working other times. User needs to restart device to get it working again.
Same problem here. Has anyone figured this out?
Replies
Boosts
Views
Activity
Jan ’24
Reply to NavigationStack inside NavigationSplitView on Mac
Having the same issue. Has anyone found a solution in the meantime?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’23
Reply to ld: building for iOS Simulator, but linking in object file built for iOS, file for architecture arm64
@edford: thx for the prompt response! Maybe I'm misunderstanding things, but I am indeed currently running Xcode using Rosetta. And the problem vanishes. As far as I thought I had understood it this is due to the Simulator also running in Rosetta - hence using the x86_64 arm64 lib and not giving me any problems when linking. Is there another explanation for this 'fix'?
Replies
Boosts
Views
Activity
Nov ’21
Reply to ld: building for iOS Simulator, but linking in object file built for iOS, file for architecture arm64
@edford I have the same problem. However, the library I'm including is a legacy module that won't be updated by the 3rd party vendor. Lipo says: Architectures in the fat file: LegacyLib are: i386 armv7 x86_64 arm64 As far as I can tell my only option seems to be to run Xcode in Rosetta mode or do you see any other option?
Replies
Boosts
Views
Activity
Nov ’21