Structures

The following structures are available globally.

  • Wraps utilities for opening and saving files needed by SwiftInfo.

    See more

    Declaration

    Swift

    public struct FileUtils
  • Undocumented

    See more

    Declaration

    Swift

    public struct Output
  • Undocumented

    See more

    Declaration

    Swift

    public struct XcodeprojPlistExtractor : PlistExtractor
  • Undocumented

    See more

    Declaration

    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: defaults write com.apple.dt.Xcode ShowBuildOperationDuration YES to enable it)

    See more

    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 more

    Declaration

    Swift

    public struct CodeCoverageProvider : InfoProvider
  • Size of the .ipa archive (not the App Store size!). Requirements: .ipa available in the #{PROJECT_DIR}/build folder.

    See more

    Declaration

    Swift

    public struct IPASizeProvider : InfoProvider
  • The name and size of the largest asset catalog. Requirements: Build logs.

    See more

    Declaration

    Swift

    public struct LargestAssetCatalogProvider : InfoProvider
  • The largest asset in the project. Only considers files inside asset catalogs. Requirements: Build logs.

    See more

    Declaration

    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 more

    Declaration

    Swift

    public struct LinesOfCodeProvider : InfoProvider
  • The name and duration of the longest test. Requirements: Test logs.

    See more

    Declaration

    Swift

    public struct LongestTestDurationProvider : InfoProvider
  • Number of OBJ-C files and headers (for mixed OBJ-C / Swift projects). Requirements: Build logs.

    See more

    Declaration

    Swift

    public struct OBJCFileCountProvider : InfoProvider
  • Number of targets in the build. Requirements: Build logs.

    See more

    Declaration

    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 more

    Declaration

    Swift

    public struct TestCountProvider : InfoProvider
  • The sum of the size of all asset catalogs. Requirements: Build logs.

    See more

    Declaration

    Swift

    public struct TotalAssetCatalogsSizeProvider : InfoProvider
  • Time it took to build and run all tests. Requirements: Test logs.

    See more

    Declaration

    Swift

    public struct TotalTestDurationProvider : InfoProvider
  • Number of warnings in a build. Requirements: Build logs.

    See more

    Declaration

    Swift

    public struct WarningCountProvider : InfoProvider
  • Undocumented

    See more

    Declaration

    Swift

    public struct SlackFormatter
  • Undocumented

    See more

    Declaration

    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 Summary is a wrapper struct that represents the result of comparing two instances of a provider.

    See more

    Declaration

    Swift

    public struct Summary : Codable, Hashable
  • The base API for SwiftInfo operations.

    See more

    Declaration

    Swift

    public struct SwiftInfo