Drag and Drop stopped working after upgrading from macOS 15 to 26

When I drag and drop a file with flag "shouldAttemptToOpenInPlace: true", I was able to access the original file name in macOS 15.

After upgrading to macOS 26, I can't access the original file name anymore. Instead, I got some useless file name such as ".com.apple.Foundation.NSItemProvider.gKZ91u.tmp".

The app no longer works with these tmp filenames because it needs the orignal file name to do the file transfer. (Btw, this is a WinSCP like app on Mac platform)

Could you please check and fix this issue? Thank you.

FileRepresentation(contentType: .item, shouldAttemptToOpenInPlace: true)
Answered by DTS Engineer in 905319022

Hello @jamesic,

Not enough details were shared in this thread to confirm if we are discussing the same issue here.

The fix described might be included in iOS 27 and later versions only.

For previous versions please make use of runtime availability checks.

if #available(iOS 27, *) {
    // iOS 27 specific code (works as expected)
} else {
    // Fallback for earlier versions.
}

For exploring a potential workaround in 26.7, please share the requested information above.

We need more information to understand exactly which process is being described here. Even better, you might want to make your own bug report filed through Feedback Assistant this way you get tracking and status updates directly.

If you do so, share the FB number on this thread or create your own thread this way it is completely relevant to your issue – as we haven't confirmed if the setup described in the original post is the same as yours.

Thank you,

 Travis

Issue is still not resolved in macOS 26.1

@jamesic, are we talking drags inside the app, or to other applications?

Accepted Answer

This issue is finally fixed in macOS 27.

Also tested it on macOS 26.7. Unfortunately, macOS 26.7 is still not working.

Hello @jamesic,

Not enough details were shared in this thread to confirm if we are discussing the same issue here.

The fix described might be included in iOS 27 and later versions only.

For previous versions please make use of runtime availability checks.

if #available(iOS 27, *) {
    // iOS 27 specific code (works as expected)
} else {
    // Fallback for earlier versions.
}

For exploring a potential workaround in 26.7, please share the requested information above.

We need more information to understand exactly which process is being described here. Even better, you might want to make your own bug report filed through Feedback Assistant this way you get tracking and status updates directly.

If you do so, share the FB number on this thread or create your own thread this way it is completely relevant to your issue – as we haven't confirmed if the setup described in the original post is the same as yours.

Thank you,

 Travis

Drag and Drop stopped working after upgrading from macOS 15 to 26
 
 
Q