Structures
The following structures are available globally.
-
Wraps utilities for opening and saving files needed by SwiftInfo.
See moreDeclaration
Swift
public struct FileUtils
-
Undocumented
See moreDeclaration
Swift
public struct Output
-
Undocumented
See moreDeclaration
Swift
public struct XcodeprojPlistExtractor : PlistExtractor
-
Undocumented
See moreDeclaration
Swift
public struct ProjectInfo : CustomStringConvertible
-
Time it took to build and archive the app. Requirements: Build logs of a successful xcodebuild archive. You must also have Xcode’s ShowBuildOperationDuration enabled. (run in the Terminal:
See moredefaults write com.apple.dt.Xcode ShowBuildOperationDuration YES
to enable it)Declaration
Swift
public struct ArchiveDurationProvider : InfoProvider
-
Code coverage percentage. Requirements: Test logs generated by test targets that have code coverage reports enabled in the scheme.
See moreDeclaration
Swift
public struct CodeCoverageProvider : InfoProvider
-
Size of the .ipa archive (not the App Store size!). Requirements: .ipa available in the
See more#{PROJECT_DIR}/build
folder.Declaration
Swift
public struct IPASizeProvider : InfoProvider
-
The name and size of the largest asset catalog. Requirements: Build logs.
See moreDeclaration
Swift
public struct LargestAssetCatalogProvider : InfoProvider
-
The largest asset in the project. Only considers files inside asset catalogs. Requirements: Build logs.
See moreDeclaration
Swift
public struct LargestAssetProvider : InfoProvider
-
Number of executable lines of code. Requirements: Test logs generated by test targets that have code coverage reports enabled in the scheme.
See moreDeclaration
Swift
public struct LinesOfCodeProvider : InfoProvider
-
The name and duration of the longest test. Requirements: Test logs.
See moreDeclaration
Swift
public struct LongestTestDurationProvider : InfoProvider
-
Number of OBJ-C files and headers (for mixed OBJ-C / Swift projects). Requirements: Build logs.
See moreDeclaration
Swift
public struct OBJCFileCountProvider : InfoProvider
-
Number of targets in the build. Requirements: Build logs.
See moreDeclaration
Swift
public struct TargetCountProvider : InfoProvider
-
Sum of all test target’s test count. Requirements: Test logs (if building with Xcode) or Buck build log (if building with Buck)
See moreDeclaration
Swift
public struct TestCountProvider : InfoProvider
-
The sum of the size of all asset catalogs. Requirements: Build logs.
See moreDeclaration
Swift
public struct TotalAssetCatalogsSizeProvider : InfoProvider
-
Time it took to build and run all tests. Requirements: Test logs.
See moreDeclaration
Swift
public struct TotalTestDurationProvider : InfoProvider
-
Number of warnings in a build. Requirements: Build logs.
See moreDeclaration
Swift
public struct WarningCountProvider : InfoProvider
-
Undocumented
See moreDeclaration
Swift
public struct SlackFormatter
-
Undocumented
See moreDeclaration
Swift
public struct DLOpenFlags : RawRepresentable, OptionSet
-
Undocumented
Declaration
Swift
public struct sourcekitd_keys
-
Undocumented
Declaration
Swift
public struct sourcekitd_requests
-
Undocumented
Declaration
Swift
public struct sourcekitd_values
-
A
See moreSummary
is a wrapper struct that represents the result of comparing two instances of a provider.Declaration
Swift
public struct Summary : Codable, Hashable
-
The base API for SwiftInfo operations.
See moreDeclaration
Swift
public struct SwiftInfo