The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ZPopupPresenter with Swift 5.7 for tvOS using Xcode 14.2 at 1.0.1.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-14.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/checkout/.dependencies -derivedDataPath $PWD/checkout/.derivedData build -scheme ZPopupPresenter -destination generic/platform=tvos

Build Log

========================================
RunAll
========================================
Builder version: 4.25.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Jnis/ZPopupPresenter.git
Reference: 1.0.1
Initialized empty Git repository in $PWD/checkout/.git/
From https://github.com/Jnis/ZPopupPresenter
 * tag               1.0.1      -> FETCH_HEAD
Cloned https://github.com/Jnis/ZPopupPresenter.git
Revision (git rev-parse @):
SUCCESS checkout https://github.com/Jnis/ZPopupPresenter.git at 1.0.1
ff1af91fe39ae31bea6f09f82e6abe54cd19fa3c
========================================
Build
========================================
Selected platform:         tvOS
Swift version:             5.7
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.2.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/checkout/.dependencies -derivedDataPath $PWD/checkout/.derivedData build -scheme ZPopupPresenter -destination generic/platform=tvos
** BUILD FAILED **
The following build commands failed:
	SwiftEmitModule normal arm64 Emitting\ module\ for\ ZPopupPresenter (in target 'ZPopupPresenter' from project 'ZPopupPresenter')
	CompileSwift normal arm64 $PWD/checkout/Sources/ZPopupPresenterView.swift (in target 'ZPopupPresenter' from project 'ZPopupPresenter')
	SwiftCompile normal arm64 Compiling\ ZPopupPresenterView.swift $PWD/checkout/Sources/ZPopupPresenterView.swift (in target 'ZPopupPresenter' from project 'ZPopupPresenter')
(3 failures)
Command line invocation:
    /Applications/Xcode-14.2.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/checkout/.dependencies -derivedDataPath $PWD/checkout/.derivedData build -scheme ZPopupPresenter -destination generic/platform=tvos
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = $PWD/checkout/.dependencies
    IDEDerivedDataPathOverride = $PWD/checkout/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
  ZPopupPresenter: $PWD/checkout
Prepare packages
Computing target dependency graph and provisioning inputs
Create build description
Build description signature: 55d9e80aff21a0f2a8e20d7bc43ca4b2
Build description path: $PWD/checkout/.derivedData/Build/Intermediates.noindex/XCBuildData/55d9e80aff21a0f2a8e20d7bc43ca4b2-desc.xcbuild
note: Building targets in dependency order
CreateBuildDirectory $PWD/checkout/.derivedData/Build/Intermediates.noindex
    cd $PWD/checkout/.swiftpm/xcode
    builtin-create-build-directory $PWD/checkout/.derivedData/Build/Intermediates.noindex
CreateBuildDirectory $PWD/checkout/.derivedData/Build/Products
    cd $PWD/checkout/.swiftpm/xcode
    builtin-create-build-directory $PWD/checkout/.derivedData/Build/Products
CreateBuildDirectory $PWD/checkout/.derivedData/Build/Products/Debug-appletvos
    cd $PWD/checkout/.swiftpm/xcode
    builtin-create-build-directory $PWD/checkout/.derivedData/Build/Products/Debug-appletvos
CreateBuildDirectory $PWD/checkout/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs
    cd $PWD/checkout/.swiftpm/xcode
    builtin-create-build-directory $PWD/checkout/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs
CreateBuildDirectory $PWD/checkout/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks
    cd $PWD/checkout/.swiftpm/xcode
    builtin-create-build-directory $PWD/checkout/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks
MkDir $PWD/checkout/.derivedData/Build/Products/Debug-appletvos/ZPopupPresenterTests.xctest (in target 'ZPopupPresenterTests' from project 'ZPopupPresenter')
    cd $PWD/checkout
    /bin/mkdir -p $PWD/checkout/.derivedData/Build/Products/Debug-appletvos/ZPopupPresenterTests.xctest
WriteAuxiliaryFile $PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/ZPopupPresenter.modulemap (in target 'ZPopupPresenter' from project 'ZPopupPresenter')
    cd $PWD/checkout
    write-file $PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/ZPopupPresenter.modulemap
Copy $PWD/checkout/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos/ZPopupPresenter.modulemap $PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/ZPopupPresenter.modulemap (in target 'ZPopupPresenter' from project 'ZPopupPresenter')
    cd $PWD/checkout
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks $PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/ZPopupPresenter.modulemap $PWD/checkout/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-appletvos
WriteAuxiliaryFile $PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/Objects-normal/arm64/ZPopupPresenter.LinkFileList (in target 'ZPopupPresenter' from project 'ZPopupPresenter')
    cd $PWD/checkout
    write-file $PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/Objects-normal/arm64/ZPopupPresenter.LinkFileList
WriteAuxiliaryFile $PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/Objects-normal/arm64/ZPopupPresenter.SwiftFileList (in target 'ZPopupPresenter' from project 'ZPopupPresenter')
    cd $PWD/checkout
    write-file $PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/Objects-normal/arm64/ZPopupPresenter.SwiftFileList
WriteAuxiliaryFile $PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/Objects-normal/arm64/ZPopupPresenter-OutputFileMap.json (in target 'ZPopupPresenter' from project 'ZPopupPresenter')
    cd $PWD/checkout
    write-file $PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/Objects-normal/arm64/ZPopupPresenter-OutputFileMap.json
SwiftDriver ZPopupPresenter normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ZPopupPresenter' from project 'ZPopupPresenter')
    cd $PWD/checkout
    builtin-SwiftDriver -- /Applications/Xcode-14.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name ZPopupPresenter -Onone -enforce-exclusivity\=checked @$PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/Objects-normal/arm64/ZPopupPresenter.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -sdk /Applications/Xcode-14.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS16.1.sdk -target arm64-apple-tvos12.0 -g -module-cache-path $PWD/checkout/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path $PWD/checkout/.derivedData/Index.noindex/DataStore -swift-version 5 -I $PWD/checkout/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-14.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F $PWD/checkout/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-14.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-14.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS16.1.sdk/Developer/Library/Frameworks -parse-as-library -c -j8 -enable-batch-mode -incremental -output-file-map $PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/Objects-normal/arm64/ZPopupPresenter-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path $PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/Objects-normal/arm64/ZPopupPresenter.swiftmodule -Xcc -I$PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/swift-overrides.hmap -Xcc -I$PWD/checkout/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I$PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/DerivedSources-normal/arm64 -Xcc -I$PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/DerivedSources/arm64 -Xcc -I$PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path $PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/Objects-normal/arm64/ZPopupPresenter-Swift.h -working-directory $PWD/checkout -experimental-emit-module-separately
SwiftEmitModule normal arm64 Emitting\ module\ for\ ZPopupPresenter (in target 'ZPopupPresenter' from project 'ZPopupPresenter')
    cd $PWD/checkout
    builtin-swiftTaskExecution -- /Applications/Xcode-14.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types $PWD/checkout/Sources/ZPopupPresenterView.swift -target arm64-apple-tvos12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-14.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS16.1.sdk -I $PWD/checkout/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-14.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F $PWD/checkout/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-14.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-14.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS16.1.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path $PWD/checkout/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -empty-abi-descriptor -Xcc -working-directory -Xcc $PWD/checkout -resource-dir /Applications/Xcode-14.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I$PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/swift-overrides.hmap -Xcc -I$PWD/checkout/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I$PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/DerivedSources-normal/arm64 -Xcc -I$PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/DerivedSources/arm64 -Xcc -I$PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name ZPopupPresenter -disable-clang-spi -target-sdk-version 16.1 -emit-module-doc-path $PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/Objects-normal/arm64/ZPopupPresenter.swiftdoc -emit-module-source-info-path $PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/Objects-normal/arm64/ZPopupPresenter.swiftsourceinfo -emit-objc-header-path $PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/Objects-normal/arm64/ZPopupPresenter-Swift.h -serialize-diagnostics-path $PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/Objects-normal/arm64/ZPopupPresenter-master-emit-module.dia -emit-dependencies-path $PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/Objects-normal/arm64/ZPopupPresenter-master-emit-module.d -parse-as-library -o $PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/Objects-normal/arm64/ZPopupPresenter.swiftmodule -emit-abi-descriptor-path $PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/Objects-normal/arm64/ZPopupPresenter.abi.json
$PWD/checkout/Sources/ZPopupPresenterView.swift:11:6: error: 'Published' is only available in tvOS 13.0 or newer
    @Published var popupModels: [PopupModel] = []
     ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:10:14: note: add @available attribute to enclosing class
public class ZPopupPresenterModel: ObservableObject {
             ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:15:81: error: 'AnyView' is only available in tvOS 13.0 or newer
    public func showPopup(_ makeViewClosure: (_ close: @escaping () -> Void) -> AnyView) {
                                                                                ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:15:17: note: add @available attribute to enclosing instance method
    public func showPopup(_ makeViewClosure: (_ close: @escaping () -> Void) -> AnyView) {
                ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:10:14: note: add @available attribute to enclosing class
public class ZPopupPresenterModel: ObservableObject {
             ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:10:36: error: 'ObservableObject' is only available in tvOS 13.0 or newer
public class ZPopupPresenterModel: ObservableObject {
                                   ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:10:14: note: add @available attribute to enclosing class
public class ZPopupPresenterModel: ObservableObject {
             ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:32:6: error: 'ObservedObject' is only available in tvOS 13.0 or newer
    @ObservedObject var model: ZPopupPresenterModel
     ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:31:15: note: add @available attribute to enclosing struct
public struct ZPopupPresenterView: View {
              ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:38:22: error: 'some' return types are only available in tvOS 13.0.0 or newer
    public var body: some View {
                     ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:38:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:31:15: note: add @available attribute to enclosing struct
public struct ZPopupPresenterView: View {
              ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:38:27: error: 'View' is only available in tvOS 13.0 or newer
    public var body: some View {
                          ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:38:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:31:15: note: add @available attribute to enclosing struct
public struct ZPopupPresenterView: View {
              ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:49:29: error: 'AnyView' is only available in tvOS 13.0 or newer
    @Published var content: AnyView?
                            ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:48:7: note: add @available attribute to enclosing class
class PopupModel: ObservableObject {
      ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:49:6: error: 'Published' is only available in tvOS 13.0 or newer
    @Published var content: AnyView?
     ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:48:7: note: add @available attribute to enclosing class
class PopupModel: ObservableObject {
      ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:48:19: error: 'ObservableObject' is only available in tvOS 13.0 or newer
class PopupModel: ObservableObject {
                  ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:48:7: note: add @available attribute to enclosing class
class PopupModel: ObservableObject {
      ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:53:6: error: 'ObservedObject' is only available in tvOS 13.0 or newer
    @ObservedObject var popupModel: PopupModel
     ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:52:8: note: add @available attribute to enclosing struct
struct PopupWrapperView: View {
       ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:55:15: error: 'some' return types are only available in tvOS 13.0.0 or newer
    var body: some View {
              ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:55:9: note: add @available attribute to enclosing property
    var body: some View {
        ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:52:8: note: add @available attribute to enclosing struct
struct PopupWrapperView: View {
       ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:55:20: error: 'View' is only available in tvOS 13.0 or newer
    var body: some View {
                   ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:55:9: note: add @available attribute to enclosing property
    var body: some View {
        ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:52:8: note: add @available attribute to enclosing struct
struct PopupWrapperView: View {
       ^
SwiftCompile normal arm64 Compiling\ ZPopupPresenterView.swift $PWD/checkout/Sources/ZPopupPresenterView.swift (in target 'ZPopupPresenter' from project 'ZPopupPresenter')
    cd $PWD/checkout
    builtin-swiftTaskExecution -- /Applications/Xcode-14.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file $PWD/checkout/Sources/ZPopupPresenterView.swift -emit-dependencies-path $PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/Objects-normal/arm64/ZPopupPresenterView.d -emit-reference-dependencies-path $PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/Objects-normal/arm64/ZPopupPresenterView.swiftdeps -serialize-diagnostics-path $PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/Objects-normal/arm64/ZPopupPresenterView.dia -target arm64-apple-tvos12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-14.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS16.1.sdk -I $PWD/checkout/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-14.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F $PWD/checkout/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-14.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-14.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS16.1.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path $PWD/checkout/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -empty-abi-descriptor -Xcc -working-directory -Xcc $PWD/checkout -resource-dir /Applications/Xcode-14.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I$PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/swift-overrides.hmap -Xcc -I$PWD/checkout/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I$PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/DerivedSources-normal/arm64 -Xcc -I$PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/DerivedSources/arm64 -Xcc -I$PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name ZPopupPresenter -frontend-parseable-output -disable-clang-spi -target-sdk-version 16.1 -parse-as-library -o $PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/Objects-normal/arm64/ZPopupPresenterView.o -index-unit-output-path /ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/Objects-normal/arm64/ZPopupPresenterView.o -index-store-path $PWD/checkout/.derivedData/Index.noindex/DataStore -index-system-modules
CompileSwift normal arm64 $PWD/checkout/Sources/ZPopupPresenterView.swift (in target 'ZPopupPresenter' from project 'ZPopupPresenter')
    cd $PWD/checkout
    /Applications/Xcode-14.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -c -primary-file $PWD/checkout/Sources/ZPopupPresenterView.swift -emit-dependencies-path $PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/Objects-normal/arm64/ZPopupPresenterView.d -emit-reference-dependencies-path $PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/Objects-normal/arm64/ZPopupPresenterView.swiftdeps -serialize-diagnostics-path $PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/Objects-normal/arm64/ZPopupPresenterView.dia -target arm64-apple-tvos12.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-14.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS16.1.sdk -I $PWD/checkout/.derivedData/Build/Products/Debug-appletvos -I /Applications/Xcode-14.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F $PWD/checkout/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-14.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-14.2.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS16.1.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path $PWD/checkout/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -empty-abi-descriptor -Xcc -working-directory -Xcc $PWD/checkout -resource-dir /Applications/Xcode-14.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -I$PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/swift-overrides.hmap -Xcc -I$PWD/checkout/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I$PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/DerivedSources-normal/arm64 -Xcc -I$PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/DerivedSources/arm64 -Xcc -I$PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name ZPopupPresenter -frontend-parseable-output -disable-clang-spi -target-sdk-version 16.1 -parse-as-library -o $PWD/checkout/.derivedData/Build/Intermediates.noindex/ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/Objects-normal/arm64/ZPopupPresenterView.o -index-unit-output-path /ZPopupPresenter.build/Debug-appletvos/ZPopupPresenter.build/Objects-normal/arm64/ZPopupPresenterView.o -index-store-path $PWD/checkout/.derivedData/Index.noindex/DataStore -index-system-modules
$PWD/checkout/Sources/ZPopupPresenterView.swift:11:6: error: 'Published' is only available in tvOS 13.0 or newer
    @Published var popupModels: [PopupModel] = []
     ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:10:14: note: add @available attribute to enclosing class
public class ZPopupPresenterModel: ObservableObject {
             ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:15:81: error: 'AnyView' is only available in tvOS 13.0 or newer
    public func showPopup(_ makeViewClosure: (_ close: @escaping () -> Void) -> AnyView) {
                                                                                ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:15:17: note: add @available attribute to enclosing instance method
    public func showPopup(_ makeViewClosure: (_ close: @escaping () -> Void) -> AnyView) {
                ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:10:14: note: add @available attribute to enclosing class
public class ZPopupPresenterModel: ObservableObject {
             ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:10:36: error: 'ObservableObject' is only available in tvOS 13.0 or newer
public class ZPopupPresenterModel: ObservableObject {
                                   ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:10:14: note: add @available attribute to enclosing class
public class ZPopupPresenterModel: ObservableObject {
             ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:32:6: error: 'ObservedObject' is only available in tvOS 13.0 or newer
    @ObservedObject var model: ZPopupPresenterModel
     ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:31:15: note: add @available attribute to enclosing struct
public struct ZPopupPresenterView: View {
              ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:38:22: error: 'some' return types are only available in tvOS 13.0.0 or newer
    public var body: some View {
                     ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:38:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:31:15: note: add @available attribute to enclosing struct
public struct ZPopupPresenterView: View {
              ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:38:27: error: 'View' is only available in tvOS 13.0 or newer
    public var body: some View {
                          ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:38:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:31:15: note: add @available attribute to enclosing struct
public struct ZPopupPresenterView: View {
              ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:49:29: error: 'AnyView' is only available in tvOS 13.0 or newer
    @Published var content: AnyView?
                            ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:48:7: note: add @available attribute to enclosing class
class PopupModel: ObservableObject {
      ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:49:6: error: 'Published' is only available in tvOS 13.0 or newer
    @Published var content: AnyView?
     ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:48:7: note: add @available attribute to enclosing class
class PopupModel: ObservableObject {
      ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:48:19: error: 'ObservableObject' is only available in tvOS 13.0 or newer
class PopupModel: ObservableObject {
                  ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:48:7: note: add @available attribute to enclosing class
class PopupModel: ObservableObject {
      ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:53:6: error: 'ObservedObject' is only available in tvOS 13.0 or newer
    @ObservedObject var popupModel: PopupModel
     ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:52:8: note: add @available attribute to enclosing struct
struct PopupWrapperView: View {
       ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:55:15: error: 'some' return types are only available in tvOS 13.0.0 or newer
    var body: some View {
              ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:55:9: note: add @available attribute to enclosing property
    var body: some View {
        ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:52:8: note: add @available attribute to enclosing struct
struct PopupWrapperView: View {
       ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:55:20: error: 'View' is only available in tvOS 13.0 or newer
    var body: some View {
                   ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:55:9: note: add @available attribute to enclosing property
    var body: some View {
        ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:52:8: note: add @available attribute to enclosing struct
struct PopupWrapperView: View {
       ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:35:23: error: 'ObservedObject' is only available in tvOS 13.0 or newer
        self._model = ObservedObject(wrappedValue: model)
                      ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:35:23: note: add 'if #available' version check
        self._model = ObservedObject(wrappedValue: model)
                      ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:34:12: note: add @available attribute to enclosing initializer
    public init(model: ZPopupPresenterModel) {
           ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:31:15: note: add @available attribute to enclosing struct
public struct ZPopupPresenterView: View {
              ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:39:9: error: 'ZStack' is only available in tvOS 13.0 or newer
        ZStack {
        ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:39:9: note: add 'if #available' version check
        ZStack {
        ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:38:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:31:15: note: add @available attribute to enclosing struct
public struct ZPopupPresenterView: View {
              ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:39:9: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in tvOS 13.0 or newer
        ZStack {
        ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:39:9: note: add 'if #available' version check
        ZStack {
        ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:38:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:31:15: note: add @available attribute to enclosing struct
public struct ZPopupPresenterView: View {
              ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:40:13: error: 'ForEach' is only available in tvOS 13.0 or newer
            ForEach(0..<model.popupModels.count, id: \.self) { index in
            ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:40:13: note: add 'if #available' version check
            ForEach(0..<model.popupModels.count, id: \.self) { index in
            ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:38:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:31:15: note: add @available attribute to enclosing struct
public struct ZPopupPresenterView: View {
              ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:40:13: error: 'init(_:id:content:)' is only available in tvOS 13.0 or newer
            ForEach(0..<model.popupModels.count, id: \.self) { index in
            ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:40:13: note: add 'if #available' version check
            ForEach(0..<model.popupModels.count, id: \.self) { index in
            ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:38:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:31:15: note: add @available attribute to enclosing struct
public struct ZPopupPresenterView: View {
              ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:42:22: error: 'zIndex' is only available in tvOS 13.0 or newer
                    .zIndex(CGFloat(index + 1))
                     ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:42:22: note: add 'if #available' version check
                    .zIndex(CGFloat(index + 1))
                     ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:38:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:31:15: note: add @available attribute to enclosing struct
public struct ZPopupPresenterView: View {
              ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:39:16: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in tvOS 13.0 or newer
        ZStack {
               ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:39:16: note: add 'if #available' version check
        ZStack {
               ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:38:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:31:15: note: add @available attribute to enclosing struct
public struct ZPopupPresenterView: View {
              ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:38:32: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in tvOS 13.0 or newer
    public var body: some View {
                               ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:38:16: note: add @available attribute to enclosing property
    public var body: some View {
               ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:31:15: note: add @available attribute to enclosing struct
public struct ZPopupPresenterView: View {
              ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:55:25: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in tvOS 13.0 or newer
    var body: some View {
                        ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:55:9: note: add @available attribute to enclosing property
    var body: some View {
        ^
$PWD/checkout/Sources/ZPopupPresenterView.swift:52:8: note: add @available attribute to enclosing struct
struct PopupWrapperView: View {
       ^
Resolve Package Graph
BUILD FAILURE 5.7 tvOS

Build Machine: Mac 5