Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions FormatDescriptions/FormatDescriptions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Supported Format Descriptions

This is where we keep a listing of the format descriptions from xcresultttol that we support. Format descriptions help us to understand what data structures exist in the xcresult format & update for changes in the latest Xcode.

You can use these to analyze what changed between different versions of Xcode & xcresulttool.

## Generate Format Description

To get the current format description for your Xcode, run the following in Terminal:

```shell
xcrun xcresulttool formatDescription > ~/Downloads/currentXcodeFormatDescription.txt
```
This will create a text file in your Downloads directory that contains the format description that you can then file compare with the descriptions here.
361 changes: 361 additions & 0 deletions FormatDescriptions/xcresult-3.24.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,361 @@
Name: Xcode Result Types
Version: 3.24
Signature: Q2HMu2bNSLM=
Types:
- ActionAbstractTestSummary
* Kind: object
* Properties:
+ name: String?
- ActionDeviceRecord
* Kind: object
* Properties:
+ name: String
+ isConcreteDevice: Bool
+ operatingSystemVersion: String
+ operatingSystemVersionWithBuildNumber: String
+ nativeArchitecture: String
+ modelName: String
+ modelCode: String
+ modelUTI: String
+ identifier: String
+ isWireless: Bool
+ cpuKind: String
+ cpuCount: Int?
+ cpuSpeedInMHz: Int?
+ busSpeedInMHz: Int?
+ ramSizeInMegabytes: Int?
+ physicalCPUCoresPerPackage: Int?
+ logicalCPUCoresPerPackage: Int?
+ platformRecord: ActionPlatformRecord
- ActionPlatformRecord
* Kind: object
* Properties:
+ identifier: String
+ userDescription: String
- ActionRecord
* Kind: object
* Properties:
+ schemeCommandName: String
+ schemeTaskName: String
+ title: String?
+ startedTime: Date
+ endedTime: Date
+ runDestination: ActionRunDestinationRecord
+ buildResult: ActionResult
+ actionResult: ActionResult
- ActionResult
* Kind: object
* Properties:
+ resultName: String
+ status: String
+ metrics: ResultMetrics
+ issues: ResultIssueSummaries
+ coverage: CodeCoverageInfo
+ timelineRef: Reference?
+ logRef: Reference?
+ testsRef: Reference?
+ diagnosticsRef: Reference?
- ActionRunDestinationRecord
* Kind: object
* Properties:
+ displayName: String
+ targetArchitecture: String
+ targetDeviceRecord: ActionDeviceRecord
+ localComputerRecord: ActionDeviceRecord
+ targetSDKRecord: ActionSDKRecord
- ActionSDKRecord
* Kind: object
* Properties:
+ name: String
+ identifier: String
+ operatingSystemVersion: String
+ isInternal: Bool
- ActionTestActivitySummary
* Kind: object
* Properties:
+ title: String
+ activityType: String
+ uuid: String
+ start: Date?
+ finish: Date?
+ attachments: [ActionTestAttachment]
+ subactivities: [ActionTestActivitySummary]
- ActionTestAttachment
* Kind: object
* Properties:
+ uniformTypeIdentifier: String
+ name: String?
+ timestamp: Date?
+ userInfo: SortedKeyValueArray?
+ lifetime: String
+ inActivityIdentifier: Int
+ filename: String?
+ payloadRef: Reference?
+ payloadSize: Int
- ActionTestFailureSummary
* Kind: object
* Properties:
+ message: String?
+ fileName: String
+ lineNumber: Int
+ isPerformanceFailure: Bool
- ActionTestMetadata
* Supertype: ActionTestSummaryIdentifiableObject
* Kind: object
* Properties:
+ testStatus: String
+ duration: Double?
+ summaryRef: Reference?
+ performanceMetricsCount: Int
+ failureSummariesCount: Int
+ activitySummariesCount: Int
- ActionTestNoticeSummary
* Kind: object
* Properties:
+ message: String?
+ fileName: String
+ lineNumber: Int
- ActionTestPerformanceMetricSummary
* Kind: object
* Properties:
+ displayName: String
+ unitOfMeasurement: String
+ measurements: [Double]
+ identifier: String?
+ baselineName: String?
+ baselineAverage: Double?
+ maxPercentRegression: Double?
+ maxPercentRelativeStandardDeviation: Double?
+ maxRegression: Double?
+ maxStandardDeviation: Double?
- ActionTestPlanRunSummaries
* Kind: object
* Properties:
+ summaries: [ActionTestPlanRunSummary]
- ActionTestPlanRunSummary
* Supertype: ActionAbstractTestSummary
* Kind: object
* Properties:
+ testableSummaries: [ActionTestableSummary]
- ActionTestSummary
* Supertype: ActionTestSummaryIdentifiableObject
* Kind: object
* Properties:
+ testStatus: String
+ duration: Double
+ performanceMetrics: [ActionTestPerformanceMetricSummary]
+ failureSummaries: [ActionTestFailureSummary]
+ skipNoticeSummary: ActionTestNoticeSummary?
+ activitySummaries: [ActionTestActivitySummary]
- ActionTestSummaryGroup
* Supertype: ActionTestSummaryIdentifiableObject
* Kind: object
* Properties:
+ duration: Double
+ subtests: [ActionTestSummaryIdentifiableObject]
- ActionTestSummaryIdentifiableObject
* Supertype: ActionAbstractTestSummary
* Kind: object
* Properties:
+ identifier: String?
- ActionTestableSummary
* Supertype: ActionAbstractTestSummary
* Kind: object
* Properties:
+ projectRelativePath: String?
+ targetName: String?
+ testKind: String?
+ tests: [ActionTestSummaryIdentifiableObject]
+ diagnosticsDirectoryName: String?
+ failureSummaries: [ActionTestFailureSummary]
+ testLanguage: String?
+ testRegion: String?
- ActionsInvocationMetadata
* Kind: object
* Properties:
+ creatingWorkspaceFilePath: String
+ uniqueIdentifier: String
+ schemeIdentifier: EntityIdentifier?
- ActionsInvocationRecord
* Kind: object
* Properties:
+ metadataRef: Reference?
+ metrics: ResultMetrics
+ issues: ResultIssueSummaries
+ actions: [ActionRecord]
+ archive: ArchiveInfo?
- ActivityLogAnalyzerControlFlowStep
* Supertype: ActivityLogAnalyzerStep
* Kind: object
* Properties:
+ title: String
+ startLocation: DocumentLocation?
+ endLocation: DocumentLocation?
+ edges: [ActivityLogAnalyzerControlFlowStepEdge]
- ActivityLogAnalyzerControlFlowStepEdge
* Kind: object
* Properties:
+ startLocation: DocumentLocation?
+ endLocation: DocumentLocation?
- ActivityLogAnalyzerEventStep
* Supertype: ActivityLogAnalyzerStep
* Kind: object
* Properties:
+ title: String
+ location: DocumentLocation?
+ description: String
+ callDepth: Int
- ActivityLogAnalyzerResultMessage
* Supertype: ActivityLogMessage
* Kind: object
* Properties:
+ steps: [ActivityLogAnalyzerStep]
+ resultType: String?
+ keyEventIndex: Int
- ActivityLogAnalyzerStep
* Kind: object
* Properties:
+ parentIndex: Int
- ActivityLogAnalyzerWarningMessage
* Supertype: ActivityLogMessage
* Kind: object
- ActivityLogCommandInvocationSection
* Supertype: ActivityLogSection
* Kind: object
* Properties:
+ commandDetails: String
+ emittedOutput: String
+ exitCode: Int?
- ActivityLogMajorSection
* Supertype: ActivityLogSection
* Kind: object
* Properties:
+ subtitle: String
- ActivityLogMessage
* Kind: object
* Properties:
+ type: String
+ title: String
+ shortTitle: String?
+ category: String?
+ location: DocumentLocation?
+ annotations: [ActivityLogMessageAnnotation]
- ActivityLogMessageAnnotation
* Kind: object
* Properties:
+ title: String
+ location: DocumentLocation?
- ActivityLogSection
* Kind: object
* Properties:
+ domainType: String
+ title: String
+ startTime: Date?
+ duration: Double
+ result: String?
+ location: DocumentLocation?
+ subsections: [ActivityLogSection]
+ messages: [ActivityLogMessage]
- ActivityLogTargetBuildSection
* Supertype: ActivityLogMajorSection
* Kind: object
* Properties:
+ productType: String?
- ActivityLogUnitTestSection
* Supertype: ActivityLogSection
* Kind: object
* Properties:
+ testName: String?
+ suiteName: String?
+ summary: String?
+ emittedOutput: String?
+ performanceTestOutput: String?
+ testsPassedString: String?
+ wasSkipped: Bool
+ runnablePath: String?
+ runnableUTI: String?
- ArchiveInfo
* Kind: object
* Properties:
+ path: String?
- Array
* Kind: array
- Bool
* Kind: value
- CodeCoverageInfo
* Kind: object
* Properties:
+ hasCoverageData: Bool
+ reportRef: Reference?
+ archiveRef: Reference?
- Date
* Kind: value
- DocumentLocation
* Kind: object
* Properties:
+ url: String
+ concreteTypeName: String
- Double
* Kind: value
- EntityIdentifier
* Kind: object
* Properties:
+ entityName: String
+ containerName: String
+ entityType: String
+ sharedState: String
- Int
* Kind: value
- IssueSummary
* Kind: object
* Properties:
+ issueType: String
+ message: String
+ producingTarget: String?
+ documentLocationInCreatingWorkspace: DocumentLocation?
- ObjectID
* Kind: object
* Properties:
+ hash: String
- Reference
* Kind: object
* Properties:
+ id: String
+ targetType: TypeDefinition?
- ResultIssueSummaries
* Kind: object
* Properties:
+ analyzerWarningSummaries: [IssueSummary]
+ errorSummaries: [IssueSummary]
+ testFailureSummaries: [TestFailureIssueSummary]
+ warningSummaries: [IssueSummary]
- ResultMetrics
* Kind: object
* Properties:
+ analyzerWarningCount: Int
+ errorCount: Int
+ testsCount: Int
+ testsFailedCount: Int
+ testsSkippedCount: Int
+ warningCount: Int
- SortedKeyValueArray
* Kind: object
* Properties:
+ storage: [SortedKeyValueArrayPair]
- SortedKeyValueArrayPair
* Kind: object
* Properties:
+ key: String
+ value: SchemaSerializable
- String
* Kind: value
- TestFailureIssueSummary
* Supertype: IssueSummary
* Kind: object
* Properties:
+ testCaseName: String
- TypeDefinition
* Kind: object
* Properties:
+ name: String
+ supertype: TypeDefinition?
Loading