NEW: My new book Pro SwiftUI is out now – level up your SwiftUI skills today! >>

'Unable to present. Please file a bug'

Forums > SwiftUI

Anyone seen this in Xcode debug console? It happens to me when doing a

ForEach(collections, id: \.objectID) { collection in
         CollectionTile(collection: collection)

and only on iPad in a three pane view. As a result, the third pane is only once in a while updating based on the tap in the list created by the ForEach. When I change ForEach into a List it works without a problem.


Im with the same error, ALWAYS.


also had same issue with a NavigationLink on iOS 14.5


I am seeing this with a NavigationLink return in iOS14.5 simulator. It is returning from a more complicated view than normal. The view runs fine and has a timer element.

Is that the same case with you, that it is on the return on a NavigationLink to a more complicated view? Or what are the circumstances in you case?


If you are experiencing issues with NavigationLink on 14.5, the post below might help fix the navigation and silence the error message in the console.


The error does not occur with Xcode12.4 and iOS 14.4 simulator, however it does happen with Xcode12.5 and iOS 14.5 simulator.

Either my code has an hidden bug, which only becomes apparent when using the latest released Xcode and simulator (because they were corrected to show the error). Or there is a bug in the released Xcode / Simulator combination, and the code is fine.

Either way reporting it to Apple is the way forward, as either they should either update the developer notes and help, or they need to fix Xcode / Simulator.


same error here


Hacking with Swift is sponsored by MadMachine

SPONSORED Want to try Swift on microcontrollers? MadMachine provides ways to interact with the physical world in a Swift way. Join us and have fun!

Get it now

Sponsor Hacking with Swift and reach the world's largest Swift community!

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

All interactions here are governed by our code of conduct.

Unknown user

You are not logged in

Log in or create account

Link copied to your pasteboard.