Hi, I added the package to a very basic project, created with Xcode 15.4, supporting macOS 13.0 or later. Zero references have been added to Factory in the project, and still, 2.4.2 release build fails:
Factory/Factory/Containers.swift:
/// Defines the default factory helpers for containers
extension ManagedContainer {
/// Syntactic sugar allows container to create a properly bound Factory.
@inlinable @inline(__always) public func callAsFunction<T>(
key: StaticString = #function,
_ factory: @escaping @Sendable @isolated(any) () -> T // error here: Attribute can only be applied to declarations, not types
) -> Factory<T> {
Factory(self, key: key, factory)
}
[...]
}
I thought Factory supported Swift 5, based on its Package.swift. 2.4.1 builds without any issue.
Hi, I added the package to a very basic project, created with Xcode 15.4, supporting macOS 13.0 or later. Zero references have been added to Factory in the project, and still, 2.4.2 release build fails:
Factory/Factory/Containers.swift:
I thought Factory supported Swift 5, based on its Package.swift. 2.4.1 builds without any issue.