<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "XCTest",
  "identifier" : "/documentation/XCTest/XCTExpectedFailure/issue",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "XCTest"
    ],
    "preciseIdentifier" : "c:objc(cs)XCTExpectedFailure(py)issue"
  },
  "title" : "issue"
}
-->

# issue

The issue that fulfills the expected failure.

iOS, iPadOS, Mac Catalyst, tvOS, visionOS, watchOS:

```
var issue: XCTIssue { get }
```

macOS:

```
@NSCopying var issue: XCTIssueReference { get }
```

---

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)