<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.6.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSURL/resolvingSymlinksInPath",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSURL(py)URLByResolvingSymlinksInPath"
  },
  "title" : "resolvingSymlinksInPath"
}
-->

# resolvingSymlinksInPath

A URL that points to the same resource as the receiver and includes no symbolic links. (read-only)

```
var resolvingSymlinksInPath: URL? { get }
```

## Discussion

If the receiver has no symbolic links, this property contains a copy of the original URL.

If some symbolic links cannot be resolved, this property contains those broken symbolic links.

If the name of the receiving path begins with `/private`, this property strips off the `/private` designator, provided the result is the name of an existing file.

This property only works on URLs with the `file:` path scheme. For all other URLs, it contains a copy of the receiver.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)