kylef / PathKit

Effortless path operations in Swift
BSD 2-Clause "Simplified" License
1.45k stars 169 forks source link

It has problem when used in App(not SPM or Terminal) #85

Open yunluoxin opened 1 year ago

yunluoxin commented 1 year ago

macOS Version: 12.5.1

Xcode: 14.0

Example (execute in macOS App):

        let p = Path("/Users/your-name/Desktops")
        let p2 = Path("~/Desktops")
        print(p ~= p2) // false

Reason: