Build Information
Successful build of PlusNightMode, reference main (b77d7c
), with Swift 5.10 for macOS (SPM) on 9 Aug 2024 04:31:09 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.49.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DandyLyons/PlusNightMode.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/DandyLyons/PlusNightMode
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b77d7c7 update availability
Cloned https://github.com/DandyLyons/PlusNightMode.git
Revision (git rev-parse @):
b77d7c7f3e7fccaa4bbfe3ff0e7aa072c0564803
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/DandyLyons/PlusNightMode.git at main
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/11868] Fetching swift-snapshot-testing
[832/75699] Fetching swift-snapshot-testing, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.19s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (4.19s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.17.4 (2.43s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.0-prerelease-2024-07-30 (0.69s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.17.4
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.0-prerelease-2024-07-30
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "plusnightmode",
"name": "PlusNightMode",
"url": "https://github.com/DandyLyons/PlusNightMode.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PlusNightMode",
"dependencies": [
]
}
]
}
Fetching https://github.com/DandyLyons/PlusNightMode.git
[1/205] Fetching plusnightmode
Fetched https://github.com/DandyLyons/PlusNightMode.git from cache (2.63s)
Creating working copy for https://github.com/DandyLyons/PlusNightMode.git
Working copy of https://github.com/DandyLyons/PlusNightMode.git resolved at main (b77d7c7)
warning: '.resolve-product-dependencies': dependency 'plusnightmode' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/DandyLyons/PlusNightMode.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Copying Assets.xcassets
[2/3] Write swift-version-33747A42983211AE.txt
[4/12] Compiling PlusNightMode resource_bundle_accessor.swift
[5/12] Compiling PlusNightMode monochromed.swift
[6/12] Compiling PlusNightMode View + Night Mode.swift
[7/12] Emitting module PlusNightMode
[8/12] Compiling PlusNightMode ColorSchemeMode+.swift
[9/12] Compiling PlusNightMode ColorSchemeModeModifier.swift
[10/12] Compiling PlusNightMode ExampleNightModeView.swift
[11/12] Compiling PlusNightMode ColorSchemeMode.swift
[12/12] Compiling PlusNightMode ColorScheme+.swift
Build complete! (9.08s)
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Tests/Plus Night ModeTests/__Snapshots__/PlusNightModeTests/testSnapshot_iOS.Auto-Mode.txt
/Users/admin/builder/spi-builder-workspace/Tests/Plus Night ModeTests/__Snapshots__/PlusNightModeTests/testSnapshot_iOS.Dark-Mode.txt
/Users/admin/builder/spi-builder-workspace/Tests/Plus Night ModeTests/__Snapshots__/PlusNightModeTests/testSnapshot_iOS.Light-Mode.txt
/Users/admin/builder/spi-builder-workspace/Tests/Plus Night ModeTests/__Snapshots__/PlusNightModeTests/testSnapshot_iOS.Night-Mode.txt
Build complete.
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/dandylyons/plusnightmode/main
Repository: DandyLyons/PlusNightMode
Swift version used: 5.10
Target: PlusNightMode
Generating documentation for 'PlusNightMode'...
Converting documentation...
warning: 'ColorSchemeMode.Value.light' doesn't exist at '/PlusNightMode/Getting-Started'
--> Getting Started.md:8:6-8:33
6 |
7 | ``PlusNightMode`` supports 4 appearance settings:
8 + 1. ``ColorSchemeMode.Value.light``: A light mode appearance
| ╰─suggestion: Replace 'ColorSchemeMode.Value.light' with 'ColorScheme-vs-ColorSchemeMode'
9 | 2. ``ColorSchemeMode.Value.dark``: A dark mode appearance
10 | 3. ``ColorSchemeMode.Value.auto``: An appearance that will automatically switch between light and dark appearance according to the parent View's color scheme. (If every ancestor View has a color scheme that has not been overridden, then this appearance will follow the appearance of the device.)
warning: 'ColorSchemeMode.Value.dark' doesn't exist at '/PlusNightMode/Getting-Started'
--> Getting Started.md:9:6-9:32
7 | ``PlusNightMode`` supports 4 appearance settings:
8 | 1. ``ColorSchemeMode.Value.light``: A light mode appearance
9 + 2. ``ColorSchemeMode.Value.dark``: A dark mode appearance
| ╰─suggestion: Replace 'ColorSchemeMode.Value.dark' with 'ColorScheme-vs-ColorSchemeMode'
10 | 3. ``ColorSchemeMode.Value.auto``: An appearance that will automatically switch between light and dark appearance according to the parent View's color scheme. (If every ancestor View has a color scheme that has not been overridden, then this appearance will follow the appearance of the device.)
11 | 4. ``ColorSchemeMode.Value.night``: A night mode appearance
warning: 'ColorSchemeMode.Value.auto' doesn't exist at '/PlusNightMode/Getting-Started'
--> Getting Started.md:10:6-10:32
8 | 1. ``ColorSchemeMode.Value.light``: A light mode appearance
9 | 2. ``ColorSchemeMode.Value.dark``: A dark mode appearance
10 + 3. ``ColorSchemeMode.Value.auto``: An appearance that will automatically switch between light and dark appearance according to the parent View's color scheme. (If every ancestor View has a color scheme that has not been overridden, then this appearance will follow the appearance of the device.)
| ╰─suggestion: Replace 'ColorSchemeMode.Value.auto' with 'ColorScheme-vs-ColorSchemeMode'
11 | 4. ``ColorSchemeMode.Value.night``: A night mode appearance
12 |
warning: 'ColorSchemeMode.Value.night' doesn't exist at '/PlusNightMode/Getting-Started'
--> Getting Started.md:11:6-11:33
9 | 2. ``ColorSchemeMode.Value.dark``: A dark mode appearance
10 | 3. ``ColorSchemeMode.Value.auto``: An appearance that will automatically switch between light and dark appearance according to the parent View's color scheme. (If every ancestor View has a color scheme that has not been overridden, then this appearance will follow the appearance of the device.)
11 + 4. ``ColorSchemeMode.Value.night``: A night mode appearance
| ╰─suggestion: Replace 'ColorSchemeMode.Value.night' with 'ColorScheme-vs-ColorSchemeMode'
12 |
13 | ## What's Night Mode
warning: 'nightModed(if:)' doesn't exist at '/PlusNightMode/Getting-Started'
--> Getting Started.md:28:51-28:66
26 |
27 | ## Adding Night Mode
28 + The easiest way to add night mode is to use the ``nightModed(if:)`` method and pass it a value of `true`. This method will force the View (and all its children to have a night mode appearance). (However, it will pay no attention to users settings in the app, nor in device settings.)
29 |
30 | ```swift
warning: 'colorSchemeMode(_:)' doesn't exist at '/PlusNightMode/Getting-Started'
--> Getting Started.md:37:61-37:80
35 | ```
36 |
37 + But the best way to add night mode to your View is to use ``colorSchemeMode(_:)``. This will ensure that the SwiftUI View (and all its children) will dynamically update to match the user's current settings both in the app and in the device settings.
| ╰─suggestion: Replace 'colorSchemeMode(_:)' with 'ColorScheme-vs-ColorSchemeMode'
38 |
39 | ```swift
warning: 'colorSchemeMode(_:)' doesn't exist at '/PlusNightMode/Getting-Started'
--> Getting Started.md:62:32-62:51
60 |
61 | ## On View Hierarchy
62 + It is important to note that ``colorSchemeMode(_:)`` can only apply the night mode appearance to children views. It cannot apply the night mode appearance to parent or sibling views. Because of this, it is best practice to:
| ╰─suggestion: Replace 'colorSchemeMode(_:)' with 'ColorScheme-vs-ColorSchemeMode'
63 | 1. Apply ``colorSchemeMode(_:)`` at the highest possible level of each View hierarchy. The higher the better, since only children will be affected.
64 | 2. Reapply ``colorSchemeMode(_:)`` when creating a branching view hierarchy:
warning: 'colorSchemeMode(_:)' doesn't exist at '/PlusNightMode/Getting-Started'
--> Getting Started.md:63:12-63:31
61 | ## On View Hierarchy
62 | It is important to note that ``colorSchemeMode(_:)`` can only apply the night mode appearance to children views. It cannot apply the night mode appearance to parent or sibling views. Because of this, it is best practice to:
63 + 1. Apply ``colorSchemeMode(_:)`` at the highest possible level of each View hierarchy. The higher the better, since only children will be affected.
| ╰─suggestion: Replace 'colorSchemeMode(_:)' with 'ColorScheme-vs-ColorSchemeMode'
64 | 2. Reapply ``colorSchemeMode(_:)`` when creating a branching view hierarchy:
65 | - Certain views such as view presentations, like SwiftUI's `.sheet` create an entirely new View hierarchy. For this you need to reapply ``colorSchemeMode(_:)`` to the presented View.
warning: 'colorSchemeMode(_:)' doesn't exist at '/PlusNightMode/Getting-Started'
--> Getting Started.md:64:14-64:33
62 | It is important to note that ``colorSchemeMode(_:)`` can only apply the night mode appearance to children views. It cannot apply the night mode appearance to parent or sibling views. Because of this, it is best practice to:
63 | 1. Apply ``colorSchemeMode(_:)`` at the highest possible level of each View hierarchy. The higher the better, since only children will be affected.
64 + 2. Reapply ``colorSchemeMode(_:)`` when creating a branching view hierarchy:
| ╰─suggestion: Replace 'colorSchemeMode(_:)' with 'ColorScheme-vs-ColorSchemeMode'
65 | - Certain views such as view presentations, like SwiftUI's `.sheet` create an entirely new View hierarchy. For this you need to reapply ``colorSchemeMode(_:)`` to the presented View.
66 |
warning: 'colorSchemeMode(_:)' doesn't exist at '/PlusNightMode/Getting-Started'
--> Getting Started.md:65:141-65:160
63 | 1. Apply ``colorSchemeMode(_:)`` at the highest possible level of each View hierarchy. The higher the better, since only children will be affected.
64 | 2. Reapply ``colorSchemeMode(_:)`` when creating a branching view hierarchy:
65 + - Certain views such as view presentations, like SwiftUI's `.sheet` create an entirely new View hierarchy. For this you need to reapply ``colorSchemeMode(_:)`` to the presented View.
| ╰─suggestion: Replace 'colorSchemeMode(_:)' with 'ColorScheme-vs-ColorSchemeMode'
66 |
67 | ```swiftConversion complete! (0.77s)
Generated DocC archive at '/Users/admin/builder/spi-builder-workspace/.docs/dandylyons/plusnightmode/main'
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/1622] Fetching swift-docc-plugin
Updating https://github.com/pointfreeco/swift-snapshot-testing.git
Updating https://github.com/swiftlang/swift-syntax
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.26s)
Updated https://github.com/pointfreeco/swift-snapshot-testing.git (0.62s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Updated https://github.com/swiftlang/swift-syntax (0.97s)
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.17.4 (0.59s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.0-prerelease-2024-07-30 (0.63s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.3.0 (0.59s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/3049] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.26s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.61s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Tests/Plus Night ModeTests/__Snapshots__/PlusNightModeTests/testSnapshot_iOS.Night-Mode.txt
/Users/admin/builder/spi-builder-workspace/Tests/Plus Night ModeTests/__Snapshots__/PlusNightModeTests/testSnapshot_iOS.Light-Mode.txt
/Users/admin/builder/spi-builder-workspace/Tests/Plus Night ModeTests/__Snapshots__/PlusNightModeTests/testSnapshot_iOS.Dark-Mode.txt
/Users/admin/builder/spi-builder-workspace/Tests/Plus Night ModeTests/__Snapshots__/PlusNightModeTests/testSnapshot_iOS.Auto-Mode.txt
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-entitlement.plist
[4/8] Write swift-version-33747A42983211AE.txt
[6/53] Compiling SymbolKit Mixin+Equals.swift
[7/53] Compiling SymbolKit Mixin+Hash.swift
[8/53] Compiling SymbolKit Mixin.swift
[9/53] Compiling SymbolKit LineList.swift
[10/53] Compiling SymbolKit Position.swift
[11/57] Compiling SymbolKit SemanticVersion.swift
[12/57] Compiling SymbolKit AccessControl.swift
[13/57] Compiling SymbolKit Availability.swift
[14/57] Compiling SymbolKit AvailabilityItem.swift
[15/57] Compiling SymbolKit Domain.swift
[16/57] Compiling SymbolKit SourceRange.swift
[17/57] Compiling SymbolKit Metadata.swift
[18/57] Compiling SymbolKit Module.swift
[19/57] Compiling SymbolKit OperatingSystem.swift
[20/57] Compiling SymbolKit Platform.swift
[21/57] Compiling Snippets SnippetParser.swift
[22/57] Emitting module Snippets
[23/57] Compiling Snippets Snippet.swift
[24/57] Compiling SymbolKit Names.swift
[25/57] Compiling SymbolKit SPI.swift
[26/57] Compiling SymbolKit Snippet.swift
[27/57] Compiling SymbolKit Extension.swift
[28/57] Compiling SymbolKit GenericConstraint.swift
[29/57] Compiling SymbolKit GenericParameter.swift
[30/57] Compiling SymbolKit Generics.swift
[31/57] Compiling SymbolKit Namespace.swift
[32/57] Compiling SymbolKit Symbol.swift
[33/57] Compiling SymbolKit SymbolKind.swift
[34/57] Compiling SymbolKit SymbolGraph.swift
[35/57] Compiling SymbolKit GraphCollector.swift
[36/57] Compiling SymbolKit DeclarationFragments.swift
[37/57] Compiling SymbolKit Fragment.swift
[38/57] Compiling SymbolKit FragmentKind.swift
[39/57] Compiling SymbolKit FunctionParameter.swift
[40/57] Compiling SymbolKit FunctionSignature.swift
[41/57] Compiling SymbolKit Relationship.swift
[42/57] Compiling SymbolKit RelationshipKind.swift
[43/57] Compiling SymbolKit SourceOrigin.swift
[44/57] Compiling SymbolKit GenericConstraints.swift
[45/57] Compiling SymbolKit Swift.swift
[46/57] Compiling SymbolKit Identifier.swift
[47/57] Compiling SymbolKit KindIdentifier.swift
[48/57] Compiling SymbolKit Location.swift
[49/57] Compiling SymbolKit Mutability.swift
[50/57] Emitting module SymbolKit
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract
[60/61] Applying snippet-extract
Build complete! (3.86s)
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Tests/Plus Night ModeTests/__Snapshots__/PlusNightModeTests/testSnapshot_iOS.Night-Mode.txt
/Users/admin/builder/spi-builder-workspace/Tests/Plus Night ModeTests/__Snapshots__/PlusNightModeTests/testSnapshot_iOS.Light-Mode.txt
/Users/admin/builder/spi-builder-workspace/Tests/Plus Night ModeTests/__Snapshots__/PlusNightModeTests/testSnapshot_iOS.Dark-Mode.txt
/Users/admin/builder/spi-builder-workspace/Tests/Plus Night ModeTests/__Snapshots__/PlusNightModeTests/testSnapshot_iOS.Auto-Mode.txt
Building for debugging...
[0/1] Write swift-version-33747A42983211AE.txt
Build complete! (0.16s)
2650
20 /Users/admin/builder/spi-builder-workspace/.docs/dandylyons/plusnightmode/main
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/dandylyons/plusnightmode/main
File count: 2650
Doc size: 20.0MB
Preparing doc bundle ...
Uploading prod-dandylyons-plusnightmode-main-50f3939c.zip to s3://spi-docs-inbox/prod-dandylyons-plusnightmode-main-50f3939c.zip
Copying... [12%]
Copying... [21%]
Copying... [31%]
Copying... [41%]
Copying... [50%]
Copying... [60%]
Copying... [72%]
Copying... [82%]
Copying... [91%]
Copying... [100%]
Done.