WARNING : tvOS26 causes strange URL issues in Swift programs
API MISUSE: URL(filePath:) called with a "file:" scheme. Input must only contain a path. Dropping "file:" scheme.
worst thing, I have no known “file:” specifications
WARNING : tvOS26 causes strange URL issues in Swift programs
API MISUSE: URL(filePath:) called with a "file:" scheme. Input must only contain a path. Dropping "file:" scheme.
worst thing, I have no known “file:” specifications
well I have localized the error to this line
let name : String? = f?.item(i)?.displayName
where that is all part of a folderitem subclass I wrote years ago, and has worked perfectly up to now
/// tvOS26
var p = zPath.absoluteString
if Left(p,5)=="file:" { p=Mid(p,6) }
return fileMANAGER.displayName(atPath: p)
// return fileMANAGER.displayName(atPath: zPath.absoluteString)