Yes, I have many issues too when I build my app with XCode 16. To be exact, running on iOS 18 is fine though. It's good as long as it's built with the older Xcode 15.
As far as I know, these changes affect iOS 18 but not macOS 15 Sequoia.
I have submitted a bug as well. I would really like to understand the motivation for such a radical change. And see some official migration recommendations.
Post
Replies
Boosts
Views
Activity
I did not have that error before, but I get it now with the iOS 18 beta.
This hack is not necessary, this is the SwiftUI way:
.scrollContentBackground(.hidden)
I think you misunderstand the purpose of FileRepresentation. I know I did. It is not for dragging file objects, it is for storing drag data in a file rather than memory.
This works for me on macOS for dragging between apps. It's missing something to work with the Finder though.
DataRepresentation(exportedContentType: .fileURL) { item in
let url = URL(string:"test")!
return url.absoluteString.data(using: .utf8)!
}