<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "os",
  "identifier" : "/documentation/os/OSSignposter/makeSignpostID(from:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "os"
    ],
    "preciseIdentifier" : "s:2os12OSSignposterV14makeSignpostID4fromAA010OSSignpostE0VyXl_tF"
  },
  "title" : "makeSignpostID(from:)"
}
-->

# makeSignpostID(from:)

Returns an identifier that the signposter derives from the specified object.

```
func makeSignpostID(from object: AnyObject) -> OSSignpostID
```

## Parameters

`object`

The object the signposter uses to match the begin and end calls of a signposted interval.

## Return Value

A signpost ID that you use to match an interval’s signposts.

## Discussion

> Warning:
> Don’t use this method to generate an identifier for a signposted interval that crosses process boundaries. Instead, use the ``doc://com.apple.os/documentation/os/OSSignposter/makeSignpostID()`` method.

The signposter uses a signpost ID to pair the beginning and the end of a signposted interval, which is necessary because multiple intervals with the same configuration and scope can be in-flight simultaneously.

Use this method instead of [`init(log:object:)`](/documentation/os/OSSignpostID/init(log:object:)).

---

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)