The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftDI, reference 1.0.1 (9fc350), with Swift 6.2 (beta) for macOS (SPM) on 17 Jun 2025 23:16:00 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/litecode/swiftdi.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/litecode/swiftdi
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 9fc3502 Update to new Xcode 11 beta 3 API
Cloned https://github.com/litecode/swiftdi.git
Revision (git rev-parse @):
9fc3502b1d1a48dc2d96136911f6abe279853254
SUCCESS checkout https://github.com/litecode/swiftdi.git at 1.0.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/litecode/swiftdi.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/15] Compiling SwiftDI SwiftDI.swift
[4/15] Compiling SwiftDI Resolver.swift
[5/16] Compiling SwiftDI Utils.swift
[6/16] Compiling SwiftDI Injectable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/16] Compiling SwiftDI Extensions.swift
[8/16] Compiling SwiftDI DIObject.swift
[9/16] Compiling SwiftDI DIPart.swift
[10/16] Compiling SwiftDI DIComponentContext.swift
[11/16] Compiling SwiftDI DIComponentManager.swift
[12/16] Compiling SwiftDI DIContainer.swift
[13/16] Compiling SwiftDI DIContainerConvertible.swift
[14/16] Emitting module SwiftDI
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:15:107: error: cannot find type 'BindableObject' in scope
13 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
14 | @propertyWrapper
15 | public struct InjectableObjectBinding<BindableObjectType>: DynamicViewProperty where BindableObjectType : BindableObject {
   |                                                                                                           `- error: cannot find type 'BindableObject' in scope
16 |
17 |     var _bindingValue: ObjectBinding<BindableObjectType>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:30:29: warning: property wrapper's 'wrapperValue' property should be renamed to 'projectedValue'; use of 'wrapperValue' is deprecated [#deprecation]
28 |     }
29 |
30 |     public private(set) var wrapperValue: ObjectBinding<BindableObjectType>.Wrapper
   |                             `- warning: property wrapper's 'wrapperValue' property should be renamed to 'projectedValue'; use of 'wrapperValue' is deprecated [#deprecation]
31 | }
32 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:30:43: error: cannot find type 'ObjectBinding' in scope
28 |     }
29 |
30 |     public private(set) var wrapperValue: ObjectBinding<BindableObjectType>.Wrapper
   |                                           `- error: cannot find type 'ObjectBinding' in scope
31 | }
32 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:17:24: error: cannot find type 'ObjectBinding' in scope
15 | public struct InjectableObjectBinding<BindableObjectType>: DynamicViewProperty where BindableObjectType : BindableObject {
16 |
17 |     var _bindingValue: ObjectBinding<BindableObjectType>
   |                        `- error: cannot find type 'ObjectBinding' in scope
18 |
19 |     public init() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:15:60: error: cannot find type 'DynamicViewProperty' in scope
13 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
14 | @propertyWrapper
15 | public struct InjectableObjectBinding<BindableObjectType>: DynamicViewProperty where BindableObjectType : BindableObject {
   |                                                            `- error: cannot find type 'DynamicViewProperty' in scope
16 |
17 |     var _bindingValue: ObjectBinding<BindableObjectType>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/InjectableProperty.swift:28:11: error: 'InjectableObjectBinding' is only available in macOS 10.15 or newer
26 |
27 | @available(iOS 13.0, *)
28 | extension InjectableObjectBinding: InjectableProperty {
   | |         `- error: 'InjectableObjectBinding' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
29 |     var type: Any.Type {
30 |         return BindableObjectType.self
[15/16] Compiling SwiftDI InjectableObjectBinding.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:15:107: error: cannot find type 'BindableObject' in scope
13 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
14 | @propertyWrapper
15 | public struct InjectableObjectBinding<BindableObjectType>: DynamicViewProperty where BindableObjectType : BindableObject {
   |                                                                                                           `- error: cannot find type 'BindableObject' in scope
16 |
17 |     var _bindingValue: ObjectBinding<BindableObjectType>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:30:29: warning: property wrapper's 'wrapperValue' property should be renamed to 'projectedValue'; use of 'wrapperValue' is deprecated [#deprecation]
28 |     }
29 |
30 |     public private(set) var wrapperValue: ObjectBinding<BindableObjectType>.Wrapper
   |                             `- warning: property wrapper's 'wrapperValue' property should be renamed to 'projectedValue'; use of 'wrapperValue' is deprecated [#deprecation]
31 | }
32 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:30:43: error: cannot find type 'ObjectBinding' in scope
28 |     }
29 |
30 |     public private(set) var wrapperValue: ObjectBinding<BindableObjectType>.Wrapper
   |                                           `- error: cannot find type 'ObjectBinding' in scope
31 | }
32 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:17:24: error: cannot find type 'ObjectBinding' in scope
15 | public struct InjectableObjectBinding<BindableObjectType>: DynamicViewProperty where BindableObjectType : BindableObject {
16 |
17 |     var _bindingValue: ObjectBinding<BindableObjectType>
   |                        `- error: cannot find type 'ObjectBinding' in scope
18 |
19 |     public init() {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:15:60: error: cannot find type 'DynamicViewProperty' in scope
13 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
14 | @propertyWrapper
15 | public struct InjectableObjectBinding<BindableObjectType>: DynamicViewProperty where BindableObjectType : BindableObject {
   |                                                            `- error: cannot find type 'DynamicViewProperty' in scope
16 |
17 |     var _bindingValue: ObjectBinding<BindableObjectType>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:20:34: error: cannot convert value of type 'BindableObjectType.Type' to expected argument type 'AnyClass' (aka 'any AnyObject.Type')
18 |
19 |     public init() {
20 |         let bundle = Bundle(for: BindableObjectType.self)
   |                                  `- error: cannot convert value of type 'BindableObjectType.Type' to expected argument type 'AnyClass' (aka 'any AnyObject.Type')
21 |         let value: BindableObjectType = SwiftDI.sharedContainer.resolve(bundle: bundle)
22 |         _bindingValue = ObjectBinding<BindableObjectType>(initialValue: value)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:22:25: error: cannot find 'ObjectBinding' in scope
20 |         let bundle = Bundle(for: BindableObjectType.self)
21 |         let value: BindableObjectType = SwiftDI.sharedContainer.resolve(bundle: bundle)
22 |         _bindingValue = ObjectBinding<BindableObjectType>(initialValue: value)
   |                         `- error: cannot find 'ObjectBinding' in scope
23 |         self.wrapperValue = _bindingValue.wrapperValue
24 |     }
[16/16] Compiling SwiftDI InjectableProperty.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/InjectableObjectBinding.swift:15:107: error: cannot find type 'BindableObject' in scope
13 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
14 | @propertyWrapper
15 | public struct InjectableObjectBinding<BindableObjectType>: DynamicViewProperty where BindableObjectType : BindableObject {
   |                                                                                                           `- error: cannot find type 'BindableObject' in scope
16 |
17 |     var _bindingValue: ObjectBinding<BindableObjectType>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDI/InjectableProperty.swift:28:11: error: 'InjectableObjectBinding' is only available in macOS 10.15 or newer
26 |
27 | @available(iOS 13.0, *)
28 | extension InjectableObjectBinding: InjectableProperty {
   | |         `- error: 'InjectableObjectBinding' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
29 |     var type: Any.Type {
30 |         return BindableObjectType.self
BUILD FAILURE 6.2 macosSpm