Build Information
Failed to build LNPreviewToContextMenu with Swift 6.0 for watchOS using Xcode 16.0.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme LNPreviewToContextMenu-Package -destination generic/platform=watchos OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LeoNatan/LNPreviewToContextMenu.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/LeoNatan/LNPreviewToContextMenu
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at afaac2f 1.3
Cloned https://github.com/LeoNatan/LNPreviewToContextMenu.git
Revision (git rev-parse @):
afaac2f725edc4270fd3256a00e64cb9de37b62b
SUCCESS checkout https://github.com/LeoNatan/LNPreviewToContextMenu.git at master
========================================
Build
========================================
Selected platform: watchOS
Swift version: 6.0
Building package at path: $workDir
https://github.com/LeoNatan/LNPreviewToContextMenu.git
Command line invocation:
/Applications/Xcode-15.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEPackageSupportToolchainOverrideForManifestLoading = org.swift.600202405261a
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
TOOLCHAINS = org.swift.600202405261a
Resolve Package Graph
Resolved source packages:
LNPreviewToContextMenu: /Users/admin/builder/spi-builder-workspace
resolved source packages: LNPreviewToContextMenu
{
"dependencies" : [
],
"manifest_display_name" : "LNPreviewToContextMenu",
"name" : "LNPreviewToContextMenu",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
}
],
"products" : [
{
"name" : "LNPreviewToContextMenu",
"targets" : [
"LNPreviewToContextMenu"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "LNPreviewToContextMenu-Static",
"targets" : [
"LNPreviewToContextMenu"
],
"type" : {
"library" : [
"static"
]
}
}
],
"targets" : [
{
"c99name" : "LNPreviewToContextMenu",
"module_type" : "ClangTarget",
"name" : "LNPreviewToContextMenu",
"path" : "LNPreviewToContextMenu",
"product_memberships" : [
"LNPreviewToContextMenu",
"LNPreviewToContextMenu-Static"
],
"sources" : [
"LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"LNPreviewToContextMenu",
"LNPreviewToContextMenu-Package",
"LNPreviewToContextMenu-Static"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a xcodebuild -IDEClonedSourcePackagesDirPathOverride=$workDir/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $workDir/.derivedData build -scheme LNPreviewToContextMenu-Package -destination generic/platform=watchos OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Command line invocation:
/Applications/Xcode-15.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme LNPreviewToContextMenu-Package -destination generic/platform=watchos "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
IDEPackageSupportToolchainOverrideForManifestLoading = org.swift.600202405261a
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
TOOLCHAINS = org.swift.600202405261a
Resolve Package Graph
Resolved source packages:
LNPreviewToContextMenu: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (3 targets)
Target 'LNPreviewToContextMenu-Static' in project 'LNPreviewToContextMenu'
➜ Explicit dependency on target 'LNPreviewToContextMenu' in project 'LNPreviewToContextMenu'
Target 'LNPreviewToContextMenu' in project 'LNPreviewToContextMenu'
➜ Explicit dependency on target 'LNPreviewToContextMenu' in project 'LNPreviewToContextMenu'
Target 'LNPreviewToContextMenu' in project 'LNPreviewToContextMenu' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -x objective-c -c /dev/null
ExecuteExternalTool /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -x c -c /dev/null
ExecuteExternalTool /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/ld -version_details
ExecuteExternalTool /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -x c -c /dev/null
ExecuteExternalTool /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -x objective-c -c /dev/null
ExecuteExternalTool /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -x c -c /dev/null
ExecuteExternalTool /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -x objective-c -c /dev/null
ExecuteExternalTool /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -x c -c /dev/null
Build description signature: 804c088da920f0d8ebc6080570860c22
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/804c088da920f0d8ebc6080570860c22.xcbuilddata
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'.
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
MkDir /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks/LNPreviewToContextMenu.framework (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace
/bin/mkdir -p /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks/LNPreviewToContextMenu.framework
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/LNPreviewToContextMenu.modulemap (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/LNPreviewToContextMenu.modulemap
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos/LNPreviewToContextMenu.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/LNPreviewToContextMenu.modulemap (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/LNPreviewToContextMenu.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/e6072d4f65d7061329687fe24e3d63a7-common-args.resp (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/e6072d4f65d7061329687fe24e3d63a7-common-args.resp
-target arm64-apple-watchos5.0 -fobjc-arc -fmodules -gmodules '-fmodules-cache-path=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex' '-fmodule-name=LNPreviewToContextMenu' -fpascal-strings -O0 -DSWIFT_PACKAGE '-DDEBUG=1' '-DOBJC_OLD_DISPATCH_PROTOTYPES=1' -isysroot /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -g -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -I/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/include -I/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/DerivedSources-normal/arm64 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/DerivedSources/arm64 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/DerivedSources -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -iframework /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -DXcode
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/LNPreviewToContextMenu.LinkFileList (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/LNPreviewToContextMenu.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/e6072d4f65d7061329687fe24e3d63a7-common-args.resp (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/e6072d4f65d7061329687fe24e3d63a7-common-args.resp
-target arm64_32-apple-watchos5.0 -fobjc-arc -fmodules -gmodules '-fmodules-cache-path=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex' '-fmodule-name=LNPreviewToContextMenu' -fpascal-strings -O0 -DSWIFT_PACKAGE '-DDEBUG=1' '-DOBJC_OLD_DISPATCH_PROTOTYPES=1' -isysroot /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -g -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -I/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/include -I/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/DerivedSources-normal/arm64_32 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/DerivedSources/arm64_32 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/DerivedSources -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -iframework /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -DXcode
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/e6072d4f65d7061329687fe24e3d63a7-common-args.resp (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/e6072d4f65d7061329687fe24e3d63a7-common-args.resp
-target armv7k-apple-watchos5.0 -fobjc-arc -fmodules -gmodules '-fmodules-cache-path=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex' '-fmodule-name=LNPreviewToContextMenu' -fpascal-strings -O0 -DSWIFT_PACKAGE '-DDEBUG=1' '-DOBJC_OLD_DISPATCH_PROTOTYPES=1' -isysroot /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk -g -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -I/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/include -I/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/DerivedSources-normal/armv7k -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/DerivedSources/armv7k -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/DerivedSources -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -iframework /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.4.sdk/Developer/Library/Frameworks -DXcode
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/LNPreviewToContextMenu.LinkFileList (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/LNPreviewToContextMenu.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/LNPreviewToContextMenu.LinkFileList (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/LNPreviewToContextMenu.LinkFileList
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace
/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/clang -x objective-c -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/e6072d4f65d7061329687fe24e3d63a7-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.dia -c /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o -index-unit-output-path /LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:21:55: error: no type or protocol named 'UIViewControllerPreviewing'
21 | @interface _LNPreviewContextCompatSupport : NSObject <UIViewControllerPreviewing>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:23:31: error: unknown type name 'UIGestureRecognizer'
23 | @property (nonatomic, strong) UIGestureRecognizer *previewingGestureRecognizerForFailureRelationship;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:23:1: error: property with 'retain (or strong)' attribute must be of object type
23 | @property (nonatomic, strong) UIGestureRecognizer *previewingGestureRecognizerForFailureRelationship;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:24:32: error: no type or protocol named 'UIViewControllerPreviewingDelegate'
24 | @property (nonatomic, weak) id<UIViewControllerPreviewingDelegate> delegate;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:43:86: error: no type or protocol named 'UIContextMenuInteractionDelegate'
43 | @interface _LNPreviewContextCompatContextMenuInteraction : UIContextMenuInteraction <UIContextMenuInteractionDelegate>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:43:60: error: cannot find interface declaration for 'UIContextMenuInteraction', superclass of '_LNPreviewContextCompatContextMenuInteraction'
43 | @interface _LNPreviewContextCompatContextMenuInteraction : UIContextMenuInteraction <UIContextMenuInteractionDelegate>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:47:31: error: unknown type name 'UIViewController'
47 | @property (nonatomic, strong) UIViewController* previewViewController;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:47:1: error: property with 'retain (or strong)' attribute must be of object type
47 | @property (nonatomic, strong) UIViewController* previewViewController;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:59:4: error: expected a type
59 | - (UIMenuElement*)_menuElementForPreviewActionItem:(NSObject<UIPreviewActionItem>*)previewActionItem
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:59:62: error: no type or protocol named 'UIPreviewActionItem'
59 | - (UIMenuElement*)_menuElementForPreviewActionItem:(NSObject<UIPreviewActionItem>*)previewActionItem
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:101:4: error: expected a type
101 | - (UIMenu*)_menuForPreviewViewController
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:13: error: expected a type
122 | - (nullable UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:66: error: expected a type
122 | - (nullable UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:13: error: expected a type
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:57: error: expected a type
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:141: error: expected a type
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:33: error: expected a type
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:122: error: expected a type
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:178: error: no type or protocol named 'UIContextMenuInteractionCommitAnimating'
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.o /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m normal arm64_32 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace
/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/clang -x objective-c -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/e6072d4f65d7061329687fe24e3d63a7-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.dia -c /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.o -index-unit-output-path /LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.o
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:21:55: error: no type or protocol named 'UIViewControllerPreviewing'
21 | @interface _LNPreviewContextCompatSupport : NSObject <UIViewControllerPreviewing>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:23:31: error: unknown type name 'UIGestureRecognizer'
23 | @property (nonatomic, strong) UIGestureRecognizer *previewingGestureRecognizerForFailureRelationship;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:23:1: error: property with 'retain (or strong)' attribute must be of object type
23 | @property (nonatomic, strong) UIGestureRecognizer *previewingGestureRecognizerForFailureRelationship;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:24:32: error: no type or protocol named 'UIViewControllerPreviewingDelegate'
24 | @property (nonatomic, weak) id<UIViewControllerPreviewingDelegate> delegate;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:43:86: error: no type or protocol named 'UIContextMenuInteractionDelegate'
43 | @interface _LNPreviewContextCompatContextMenuInteraction : UIContextMenuInteraction <UIContextMenuInteractionDelegate>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:43:60: error: cannot find interface declaration for 'UIContextMenuInteraction', superclass of '_LNPreviewContextCompatContextMenuInteraction'
43 | @interface _LNPreviewContextCompatContextMenuInteraction : UIContextMenuInteraction <UIContextMenuInteractionDelegate>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:47:31: error: unknown type name 'UIViewController'
47 | @property (nonatomic, strong) UIViewController* previewViewController;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:47:1: error: property with 'retain (or strong)' attribute must be of object type
47 | @property (nonatomic, strong) UIViewController* previewViewController;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:59:4: error: expected a type
59 | - (UIMenuElement*)_menuElementForPreviewActionItem:(NSObject<UIPreviewActionItem>*)previewActionItem
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:59:62: error: no type or protocol named 'UIPreviewActionItem'
59 | - (UIMenuElement*)_menuElementForPreviewActionItem:(NSObject<UIPreviewActionItem>*)previewActionItem
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:101:4: error: expected a type
101 | - (UIMenu*)_menuForPreviewViewController
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:13: error: expected a type
122 | - (nullable UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:66: error: expected a type
122 | - (nullable UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:13: error: expected a type
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:57: error: expected a type
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:141: error: expected a type
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:33: error: expected a type
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:122: error: expected a type
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:178: error: no type or protocol named 'UIContextMenuInteractionCommitAnimating'
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.o /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m normal armv7k objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace
/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/clang -x objective-c -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/e6072d4f65d7061329687fe24e3d63a7-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.dia -c /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.o -index-unit-output-path /LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.o
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:21:55: error: no type or protocol named 'UIViewControllerPreviewing'
21 | @interface _LNPreviewContextCompatSupport : NSObject <UIViewControllerPreviewing>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:23:31: error: unknown type name 'UIGestureRecognizer'
23 | @property (nonatomic, strong) UIGestureRecognizer *previewingGestureRecognizerForFailureRelationship;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:23:1: error: property with 'retain (or strong)' attribute must be of object type
23 | @property (nonatomic, strong) UIGestureRecognizer *previewingGestureRecognizerForFailureRelationship;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:24:32: error: no type or protocol named 'UIViewControllerPreviewingDelegate'
24 | @property (nonatomic, weak) id<UIViewControllerPreviewingDelegate> delegate;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:43:86: error: no type or protocol named 'UIContextMenuInteractionDelegate'
43 | @interface _LNPreviewContextCompatContextMenuInteraction : UIContextMenuInteraction <UIContextMenuInteractionDelegate>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:43:60: error: cannot find interface declaration for 'UIContextMenuInteraction', superclass of '_LNPreviewContextCompatContextMenuInteraction'
43 | @interface _LNPreviewContextCompatContextMenuInteraction : UIContextMenuInteraction <UIContextMenuInteractionDelegate>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:47:31: error: unknown type name 'UIViewController'
47 | @property (nonatomic, strong) UIViewController* previewViewController;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:47:1: error: property with 'retain (or strong)' attribute must be of object type
47 | @property (nonatomic, strong) UIViewController* previewViewController;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:59:4: error: expected a type
59 | - (UIMenuElement*)_menuElementForPreviewActionItem:(NSObject<UIPreviewActionItem>*)previewActionItem
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:59:62: error: no type or protocol named 'UIPreviewActionItem'
59 | - (UIMenuElement*)_menuElementForPreviewActionItem:(NSObject<UIPreviewActionItem>*)previewActionItem
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:101:4: error: expected a type
101 | - (UIMenu*)_menuForPreviewViewController
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:13: error: expected a type
122 | - (nullable UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:66: error: expected a type
122 | - (nullable UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:13: error: expected a type
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:57: error: expected a type
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:141: error: expected a type
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:33: error: expected a type
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:122: error: expected a type
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:178: error: no type or protocol named 'UIContextMenuInteractionCommitAnimating'
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'LNPreviewToContextMenu-Static' from project 'LNPreviewToContextMenu')
** BUILD FAILED **
The following build commands failed:
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.o /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m normal arm64_32 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.o /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m normal armv7k objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
(3 failures)
Command line invocation:
/Applications/Xcode-15.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme LNPreviewToContextMenu-Package -destination generic/platform=watchos "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
IDEPackageSupportToolchainOverrideForManifestLoading = org.swift.600202405261a
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
TOOLCHAINS = org.swift.600202405261a
Resolve Package Graph
Resolved source packages:
LNPreviewToContextMenu: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (3 targets)
Target 'LNPreviewToContextMenu-Static' in project 'LNPreviewToContextMenu'
➜ Explicit dependency on target 'LNPreviewToContextMenu' in project 'LNPreviewToContextMenu'
Target 'LNPreviewToContextMenu' in project 'LNPreviewToContextMenu'
➜ Explicit dependency on target 'LNPreviewToContextMenu' in project 'LNPreviewToContextMenu'
Target 'LNPreviewToContextMenu' in project 'LNPreviewToContextMenu' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'.
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.o /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m normal armv7k objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace
/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/clang -x objective-c -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/e6072d4f65d7061329687fe24e3d63a7-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.dia -c /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.o -index-unit-output-path /LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.o
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:21:55: error: no type or protocol named 'UIViewControllerPreviewing'
21 | @interface _LNPreviewContextCompatSupport : NSObject <UIViewControllerPreviewing>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:23:31: error: unknown type name 'UIGestureRecognizer'
23 | @property (nonatomic, strong) UIGestureRecognizer *previewingGestureRecognizerForFailureRelationship;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:23:1: error: property with 'retain (or strong)' attribute must be of object type
23 | @property (nonatomic, strong) UIGestureRecognizer *previewingGestureRecognizerForFailureRelationship;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:24:32: error: no type or protocol named 'UIViewControllerPreviewingDelegate'
24 | @property (nonatomic, weak) id<UIViewControllerPreviewingDelegate> delegate;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:43:86: error: no type or protocol named 'UIContextMenuInteractionDelegate'
43 | @interface _LNPreviewContextCompatContextMenuInteraction : UIContextMenuInteraction <UIContextMenuInteractionDelegate>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:43:60: error: cannot find interface declaration for 'UIContextMenuInteraction', superclass of '_LNPreviewContextCompatContextMenuInteraction'
43 | @interface _LNPreviewContextCompatContextMenuInteraction : UIContextMenuInteraction <UIContextMenuInteractionDelegate>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:47:31: error: unknown type name 'UIViewController'
47 | @property (nonatomic, strong) UIViewController* previewViewController;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:47:1: error: property with 'retain (or strong)' attribute must be of object type
47 | @property (nonatomic, strong) UIViewController* previewViewController;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:59:4: error: expected a type
59 | - (UIMenuElement*)_menuElementForPreviewActionItem:(NSObject<UIPreviewActionItem>*)previewActionItem
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:59:62: error: no type or protocol named 'UIPreviewActionItem'
59 | - (UIMenuElement*)_menuElementForPreviewActionItem:(NSObject<UIPreviewActionItem>*)previewActionItem
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:101:4: error: expected a type
101 | - (UIMenu*)_menuForPreviewViewController
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:13: error: expected a type
122 | - (nullable UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:66: error: expected a type
122 | - (nullable UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:13: error: expected a type
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:57: error: expected a type
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:141: error: expected a type
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:33: error: expected a type
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:122: error: expected a type
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:178: error: no type or protocol named 'UIContextMenuInteractionCommitAnimating'
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.o /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m normal arm64_32 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace
/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/clang -x objective-c -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/e6072d4f65d7061329687fe24e3d63a7-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.dia -c /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.o -index-unit-output-path /LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.o
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:21:55: error: no type or protocol named 'UIViewControllerPreviewing'
21 | @interface _LNPreviewContextCompatSupport : NSObject <UIViewControllerPreviewing>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:23:31: error: unknown type name 'UIGestureRecognizer'
23 | @property (nonatomic, strong) UIGestureRecognizer *previewingGestureRecognizerForFailureRelationship;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:23:1: error: property with 'retain (or strong)' attribute must be of object type
23 | @property (nonatomic, strong) UIGestureRecognizer *previewingGestureRecognizerForFailureRelationship;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:24:32: error: no type or protocol named 'UIViewControllerPreviewingDelegate'
24 | @property (nonatomic, weak) id<UIViewControllerPreviewingDelegate> delegate;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:43:86: error: no type or protocol named 'UIContextMenuInteractionDelegate'
43 | @interface _LNPreviewContextCompatContextMenuInteraction : UIContextMenuInteraction <UIContextMenuInteractionDelegate>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:43:60: error: cannot find interface declaration for 'UIContextMenuInteraction', superclass of '_LNPreviewContextCompatContextMenuInteraction'
43 | @interface _LNPreviewContextCompatContextMenuInteraction : UIContextMenuInteraction <UIContextMenuInteractionDelegate>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:47:31: error: unknown type name 'UIViewController'
47 | @property (nonatomic, strong) UIViewController* previewViewController;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:47:1: error: property with 'retain (or strong)' attribute must be of object type
47 | @property (nonatomic, strong) UIViewController* previewViewController;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:59:4: error: expected a type
59 | - (UIMenuElement*)_menuElementForPreviewActionItem:(NSObject<UIPreviewActionItem>*)previewActionItem
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:59:62: error: no type or protocol named 'UIPreviewActionItem'
59 | - (UIMenuElement*)_menuElementForPreviewActionItem:(NSObject<UIPreviewActionItem>*)previewActionItem
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:101:4: error: expected a type
101 | - (UIMenu*)_menuForPreviewViewController
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:13: error: expected a type
122 | - (nullable UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:66: error: expected a type
122 | - (nullable UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:13: error: expected a type
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:57: error: expected a type
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:141: error: expected a type
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:33: error: expected a type
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:122: error: expected a type
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:178: error: no type or protocol named 'UIContextMenuInteractionCommitAnimating'
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
cd /Users/admin/builder/spi-builder-workspace
/Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/clang -x objective-c -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/e6072d4f65d7061329687fe24e3d63a7-common-args.resp -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.d --serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.dia -c /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o -index-unit-output-path /LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:21:55: error: no type or protocol named 'UIViewControllerPreviewing'
21 | @interface _LNPreviewContextCompatSupport : NSObject <UIViewControllerPreviewing>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:23:31: error: unknown type name 'UIGestureRecognizer'
23 | @property (nonatomic, strong) UIGestureRecognizer *previewingGestureRecognizerForFailureRelationship;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:23:1: error: property with 'retain (or strong)' attribute must be of object type
23 | @property (nonatomic, strong) UIGestureRecognizer *previewingGestureRecognizerForFailureRelationship;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:24:32: error: no type or protocol named 'UIViewControllerPreviewingDelegate'
24 | @property (nonatomic, weak) id<UIViewControllerPreviewingDelegate> delegate;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:43:86: error: no type or protocol named 'UIContextMenuInteractionDelegate'
43 | @interface _LNPreviewContextCompatContextMenuInteraction : UIContextMenuInteraction <UIContextMenuInteractionDelegate>
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:43:60: error: cannot find interface declaration for 'UIContextMenuInteraction', superclass of '_LNPreviewContextCompatContextMenuInteraction'
43 | @interface _LNPreviewContextCompatContextMenuInteraction : UIContextMenuInteraction <UIContextMenuInteractionDelegate>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:47:31: error: unknown type name 'UIViewController'
47 | @property (nonatomic, strong) UIViewController* previewViewController;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:47:1: error: property with 'retain (or strong)' attribute must be of object type
47 | @property (nonatomic, strong) UIViewController* previewViewController;
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:59:4: error: expected a type
59 | - (UIMenuElement*)_menuElementForPreviewActionItem:(NSObject<UIPreviewActionItem>*)previewActionItem
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:59:62: error: no type or protocol named 'UIPreviewActionItem'
59 | - (UIMenuElement*)_menuElementForPreviewActionItem:(NSObject<UIPreviewActionItem>*)previewActionItem
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:101:4: error: expected a type
101 | - (UIMenu*)_menuForPreviewViewController
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:13: error: expected a type
122 | - (nullable UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:122:66: error: expected a type
122 | - (nullable UIContextMenuConfiguration *)contextMenuInteraction:(UIContextMenuInteraction *)interaction configurationForMenuAtLocation:(CGPoint)location
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:13: error: expected a type
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:57: error: expected a type
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:139:141: error: expected a type
139 | - (nullable UITargetedPreview *)contextMenuInteraction:(UIContextMenuInteraction *)interaction previewForHighlightingMenuWithConfiguration:(UIContextMenuConfiguration *)configuration
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:33: error: expected a type
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:122: error: expected a type
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
/Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m:178:178: error: no type or protocol named 'UIContextMenuInteractionCommitAnimating'
178 | - (void)contextMenuInteraction:(UIContextMenuInteraction *)interaction willPerformPreviewActionForMenuWithConfiguration:(UIContextMenuConfiguration *)configuration animator:(id<UIContextMenuInteractionCommitAnimating>)animator
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
note: Using global toolchain override 'Swift 6.0 Development Snapshot 2024-05-26 (a)'. (in target 'LNPreviewToContextMenu-Static' from project 'LNPreviewToContextMenu')
** BUILD FAILED **
The following build commands failed:
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/armv7k/UIViewController+UIPreviewContextCompat.o /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m normal armv7k objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64_32/UIViewController+UIPreviewContextCompat.o /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m normal arm64_32 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
CompileC /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LNPreviewToContextMenu.build/Debug-watchos/LNPreviewToContextMenu.build/Objects-normal/arm64/UIViewController+UIPreviewContextCompat.o /Users/admin/builder/spi-builder-workspace/LNPreviewToContextMenu/LNPreviewToContextMenu/UIViewController+UIPreviewContextCompat.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'LNPreviewToContextMenu' from project 'LNPreviewToContextMenu')
(3 failures)
BUILD FAILURE 6.0 watchOS