Skip to content

Different Behaviour of URL(_ : FilePath) across Xcode 26.x and Xcode 16.x #1589

@tsra0ne

Description

@tsra0ne

On Xcode 16.x - prints

http:/example.xox --
file:///private/var/folders/hs/w21j_vrd0kq96xyd57vxwrkh37h_f5/T/com.apple.dt.Xcode.pg/containers/com.apple.dt.playground.stub.iOS_Simulator
Image

On Xcode 26.x - prints

http%3A/example.xox --
file:///private/var/folders/hs/w21j_vrd0kg96xyd57vxwrkh37h_f5/T/com.apple.dt.Xcode.pg/containers/com.apple.dt.playground.stub.iOS Simulator
•MyPlayground-04F92754-0C6A-4742-9C05-295065ADEB75/
Image

You can see it is getting percent-encoding
Can i know what changed this behaviour and how can i fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions