Build Information
Failed to build LPMapView, reference main (f600c5), with Swift 6.4 for macOS (Xcode) using Xcode 27.0 on 18 Sep 2026 22:23:01 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme LPMapView -destination platform=macOS,arch=arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lukepistrol/LPMapView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/lukepistrol/LPMapView
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f600c5b Update FUNDING.yml
Cloned https://github.com/lukepistrol/LPMapView.git
Revision (git rev-parse @):
f600c5bbd8b24f26002344917d2e30abea667b61
SUCCESS checkout https://github.com/lukepistrol/LPMapView.git at main
========================================
Build
========================================
Selected platform: macosXcodebuild
Swift version: 6.4
Building package at path: $PWD
https://github.com/lukepistrol/LPMapView.git
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
LPMapView: /Users/admin/builder/spi-builder-workspace
resolved source packages: LPMapView
2026-09-18 18:22:06.094 xcodebuild[525:3001] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "LPMapView",
"name" : "LPMapView",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
}
],
"products" : [
{
"name" : "LPMapView",
"targets" : [
"LPMapView"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LPMapView",
"module_type" : "SwiftTarget",
"name" : "LPMapView",
"path" : "Sources/LPMapView",
"product_memberships" : [
"LPMapView"
],
"sources" : [
"MapCoordinator.swift",
"MapView+Compatibility.swift",
"MapView.swift",
"MapViewAnnotation.swift",
"MapViewOptions/EnvironmentKeys.swift",
"MapViewOptions/EnvironmentValues.swift",
"MapViewOptions/MapRouteStyle/DashedMapRouteStyle.swift",
"MapViewOptions/MapRouteStyle/MapRouteStyle.swift",
"MapViewOptions/MapRouteStyle/SolidMapRouteStyle.swift",
"MapViewOptions/MapViewConfiguration.swift",
"MapViewOptions/MapViewVisibility.swift",
"MapViewOptions/View+MapModifiers.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
{
"workspace" : {
"name" : "LPMapView",
"schemes" : [
"LPMapView"
]
}
}
2026-09-18 18:22:47.194 xcodebuild[644:4105] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme LPMapView -destination platform=macOS,arch=arm64
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.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 LPMapView -destination platform=macOS,arch=arm64
Resolve Package Graph
Resolved source packages:
LPMapView: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'LPMapView-product' in project 'LPMapView'
➜ Explicit dependency on target 'LPMapView' in project 'LPMapView'
Target 'LPMapView' in project 'LPMapView' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ReadFileContents /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
Build description signature: e38c246f5b0444155b80172c226e0c13
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/e38c246f5b0444155b80172c226e0c13.xcbuilddata
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/CompilationCache.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/CompilationCache.noindex
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
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PrecompiledHeaders
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/PrecompiledHeaders
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug
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
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/LPMapView.DependencyMetadataFileList (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/LPMapView.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/LPMapView.DependencyStaticMetadataFileList (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/LPMapView.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/LPMapView.modulemap (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/LPMapView.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView.SwiftFileList (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView.SwiftConstValuesFileList (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView-OutputFileMap.json (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView_const_extract_protocols.json (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView.LinkFileList (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView.LinkFileList
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps/LPMapView.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/LPMapView.modulemap (in target 'LPMapView' from project 'LPMapView')
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/LPMapView.build/Debug/LPMapView-t.build/LPMapView.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps
SwiftDriver LPMapView normal arm64 com.apple.xcode.tools.swift.compiler (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name LPMapView -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -target arm64-apple-macos12.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-7CFWA9OSW5N24E7PG4ZOCF1VH.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-3GI9GOKXSW3QCTFOI1USFLDZO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-KYV2HKP8IKLKMKQS9DGA2GUQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-C4V0DQ62WSTCYBYGILXXGQNO3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_float-105CRCDRP90FQCQO5ZX1LHV7H.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DeveloperToolsSupport-13SNQ6N57G3DOS3KQA7V91OE7.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_SwiftConcurrencyShims-BLUUWKI6AGMD7TJ4RGYS7DP6T.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-DHLCBWKPNUZOYTPJ1J3QVTCXK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-2W92ZJRLNJU99RJUQGGJG3OC3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-CJTV5E7EL3MWRA437DUFPBVN2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-7PRJIG163YE9KSKYA3BS35ZZP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-AXGUGXBFPC0I7QDLJFB0K341Y.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-94WUUGE4H5R03OWXE0QFZX1DN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-F4RNCN6UR5R5OWTLTOUM7TN3E.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-10WPXBF3YFYMX5HUAW06LSABR.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_tgmath-52XE6HC8DWOG6S7B5QAI046D1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-22CBBOK8BNSF0UELDCAXSHGB.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_intrinsics-4O6R03GTH5FLWSHEUBP0Z3GZ2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdatomic-8LN7S35C6I48KJOCW7VPXX04X.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-32PO5Q4RCB6WXH5VFO3HA3AVS.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/libDER-5RCYOD0PCUUY2UGMBNE9LI8N9.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-1U6AP9A8AJ4G9WD98E9RHLGTJ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-1RAAWNGKQM8YGHV0YJNNN5YDY.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/simd-A9TKR8OE9APRJ1RNS7F0OBY4Q.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/libkern-22MDXN9G35RPO3OLKX9B2PN16.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CUPS-45MNISAOHSEBD6VQA5G0MXN9H.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/launch-2XAORMJNLLVS0OVKC1M0752GY.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MachO-AWTJ65TFR7TMST2NUE6ZCC1SL.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-B89IQP2TC4CFSWOUMTUZRI1VZ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Spatial-2JNOU2HNJ0Q174XCFCD0GCOUQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-3KLCCI03OX6OQTLJ92KQH2KIO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-10SJ5M8R2OB4BG1TPFL9SZMKV.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-NAMWF9KN29KC7Z5OS3TTTAE8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-E1MSAZG4ZNL24S2WK6K6Y7GWW.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-4ZIITQ30SOGUQE8KJAB99ZV0Q.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os-BYOEVK2GEMB4Q8WWHGZGREA00.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudioTypes-EEH2XZ47XX4YM3FOOISUYVRQE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ColorSync-BBCIZDDQ6O3QECFAWJQ6RU4ZJ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/IOKit-6H3X691EDBH124EYTC2PEOP5T.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-ESPJ7FP0YAY1EL3VXBGY9MCZ8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CFNetwork-CVHS5CT20191MFYXQIEDWSRGJ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DiskArbitration-ZNZZU7T0SYELB0DAR56WQF0R.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreGraphics-5TRMNDB7ZP6FFMRNSZCWEOZMD.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreServices-CGCGY0FOMEQGSNMO3HQSC09XU.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ImageIO-88YNP2EU498GB5YXIFJ9ANNYW.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreText-C1WSF2HWGIKVJ2XHWBKXQBSEY.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-44WR0NU86C67CV5BW8W1MGKNG.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Symbols-2NFSQR6R0R96WH1KKGBXW1J.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreTransferable-2HJ1Z8HJBPECRD89AVJ0X7S63.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_LocationEssentials-CV55KC6C4HGASVU6279M2TPYS.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreAudio-8XPVZMQXZVBU162UQPW77JTL1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ApplicationServices-ALXSS633FQY42UMJSLR6MNLSK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Accessibility-6F38G4T85MOHD9AA2EH4U2PJS.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/IOSurface-1TUG4NQVIPJF59WSUNATZ447F.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OSLog-1GSRGGGEESVJH9OULZA91RAA3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreData-4EPJ39F9L3QQ9486B5AMG5G6J.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-5LG8RE3Q01MBLZVRR3FFHHL5H.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/DataDetection-5GDUUWT6YIA10PE5D9A8SXWZ9.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreLocation-6PHJES15W7TUABDNQ1VHCJETV.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OpenGL-FXV81CD8YS42YTVJKJH1VLGA.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Metal-KM8CI04R5X5OUWMGRMNZE4KP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreVideo-11TKSDKW0L2K02H4B9ZHWLM3B.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreImage-AKYY8VSFWQ6KIIXG3EQJ7PW5T.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/QuartzCore-AP21NXF3BYPWOG416U3DI6QME.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreMedia-699WGYGEEF2LGFEEGSCM9Y1UF.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUICore-ESLJM4CVIQEQNCRTK6KPAF1I7.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/AppKit-C2WRQ26QXORUMMNQB0M8H4QYD.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/MapKit-3SVMET0UOYQNZVO8EVM4ZT9DM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftUI-5IEOINZEJ69OCDVRMHPS5W4XI.pcm
SwiftEmitModule normal arm64 Emitting\ module\ for\ LPMapView (in target 'LPMapView' from project 'LPMapView')
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:14:29: error: cannot find type 'UIColor' in scope
12 |
13 | struct Configuration {
14 | var annotationTint: UIColor
| `- error: cannot find type 'UIColor' in scope
15 | var showCallout: Bool
16 | var routeStyle: MapRouteStyle
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:18:28: error: cannot find type 'UIGestureRecognizer' in scope
16 | var routeStyle: MapRouteStyle
17 | var onSelection: ((MKAnnotation) -> Void)?
18 | var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
| `- error: cannot find type 'UIGestureRecognizer' in scope
19 | var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/MapRouteStyle.swift:13:15: error: cannot find type 'UIColor' in scope
11 | public protocol MapRouteStyle {
12 | /// The line's tint color.
13 | var tint: UIColor { get set }
| `- error: cannot find type 'UIColor' in scope
14 |
15 | /// The line's width in points.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:48:17: error: cannot override 'mapView' which has been marked unavailable
46 | }
47 |
48 | public func mapView(_ mapView: MKMapView, didSelect annotation: MKAnnotation) {
| `- error: cannot override 'mapView' which has been marked unavailable
49 | configuration.onSelection?(annotation)
50 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:293:1: note: 'mapView(_:didSelect:)' has been explicitly marked unavailable here
291 | - (void)mapView:(MKMapView *)mapView didDeselectAnnotationView:(MKAnnotationView *)view API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
292 |
293 | - (void)mapView:(MKMapView *)mapView didSelectAnnotation:(id<MKAnnotation>)annotation API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos, watchos);
| `- note: 'mapView(_:didSelect:)' has been explicitly marked unavailable here
294 | - (void)mapView:(MKMapView *)mapView didDeselectAnnotation:(id<MKAnnotation>)annotation API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos, watchos);
295 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift:32:28: error: cannot find type 'UIColor' in scope
30 | }
31 |
32 | var mapAnnotationTint: UIColor {
| `- error: cannot find type 'UIColor' in scope
33 | get { self[MapAnnotationTintKey.self] }
34 | set { self[MapAnnotationTintKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:22:18: error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
20 | // MARK: Annotation
21 | @Environment(\.mapAnnotationVisibility) private var annotationVisibility
22 | @Environment(\.mapAnnotationTint) private var annotationTint
| `- error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
23 | @Environment(\.mapShowCallout) private var showCallout
24 | @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:22:6: error: generic parameter 'Value' could not be inferred
20 | // MARK: Annotation
21 | @Environment(\.mapAnnotationVisibility) private var annotationVisibility
22 | @Environment(\.mapAnnotationTint) private var annotationTint
| `- error: generic parameter 'Value' could not be inferred
23 | @Environment(\.mapShowCallout) private var showCallout
24 | @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:22:18: error: cannot infer key path type from context; consider explicitly specifying a root type
20 | // MARK: Annotation
21 | @Environment(\.mapAnnotationVisibility) private var annotationVisibility
22 | @Environment(\.mapAnnotationTint) private var annotationTint
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
23 | @Environment(\.mapShowCallout) private var showCallout
24 | @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:44:32: error: cannot find type 'UIGestureRecognizer' in scope
42 |
43 | private var onSelection: ((MKAnnotation) -> Void)?
44 | private var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
| `- error: cannot find type 'UIGestureRecognizer' in scope
45 | private var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
46 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:75:24: error: cannot find type 'UIGestureRecognizer' in scope
73 | annotations: Binding<[MapViewAnnotation]>,
74 | onSelection: ((MKAnnotation) -> Void)? = nil,
75 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)? = nil,
| `- error: cannot find type 'UIGestureRecognizer' in scope
76 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
77 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:108:24: error: cannot find type 'UIGestureRecognizer' in scope
106 | userTrackingMode: MKUserTrackingMode = .none,
107 | annotations: Binding<[MapViewAnnotation]>,
108 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?,
| `- error: cannot find type 'UIGestureRecognizer' in scope
109 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
110 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:152:37: error: cannot find type 'Context' in scope
150 | }
151 |
152 | public func makeUIView(context: Context) -> MKMapView {
| `- error: cannot find type 'Context' in scope
153 | let mapView = MKMapView()
154 | mapView.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:169:61: error: cannot find type 'Context' in scope
167 | }
168 |
169 | public func updateUIView(_ mapView: MKMapView, context: Context) {
| `- error: cannot find type 'Context' in scope
170 | mapView.removeOverlays(mapView.overlays)
171 | mapView.removeAnnotations(mapView.annotations)
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:226:59: error: cannot find type 'UILongPressGestureRecognizer' in scope
224 | }
225 |
226 | private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
| `- error: cannot find type 'UILongPressGestureRecognizer' in scope
227 | UILongPressGestureRecognizer(
228 | target: context.coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:226:47: error: cannot find type 'Context' in scope
224 | }
225 |
226 | private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
| `- error: cannot find type 'Context' in scope
227 | UILongPressGestureRecognizer(
228 | target: context.coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:12:25: error: cannot find type 'UIViewRepresentable' in scope
10 |
11 | @available(iOS, deprecated: 16, renamed: "MapView")
12 | public struct LMapView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
13 | public typealias UIViewType = MKMapView
14 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:22:18: error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
20 | // MARK: Annotation
21 | @Environment(\.mapAnnotationVisibility) private var annotationVisibility
22 | @Environment(\.mapAnnotationTint) private var annotationTint
| `- error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
23 | @Environment(\.mapShowCallout) private var showCallout
24 | @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:22:6: error: generic parameter 'Value' could not be inferred
20 | // MARK: Annotation
21 | @Environment(\.mapAnnotationVisibility) private var annotationVisibility
22 | @Environment(\.mapAnnotationTint) private var annotationTint
| `- error: generic parameter 'Value' could not be inferred
23 | @Environment(\.mapShowCallout) private var showCallout
24 | @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:22:18: error: cannot infer key path type from context; consider explicitly specifying a root type
20 | // MARK: Annotation
21 | @Environment(\.mapAnnotationVisibility) private var annotationVisibility
22 | @Environment(\.mapAnnotationTint) private var annotationTint
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
23 | @Environment(\.mapShowCallout) private var showCallout
24 | @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift:71:32: error: cannot find type 'MKMapFeatureOptions' in scope
69 |
70 | @available(iOS 16.0, *)
71 | var mapSelectableFeatures: MKMapFeatureOptions {
| `- error: cannot find type 'MKMapFeatureOptions' in scope
72 | get { self[MapSelectableFeaturesKey.self] }
73 | set { self[MapSelectableFeaturesKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:30:6: error: generic parameter 'Value' could not be inferred
28 | @Environment(\.mapElevationStyle) private var elevationStyle
29 | @Environment(\.mapPOIFilter) private var poiFilter
30 | @Environment(\.mapSelectableFeatures) private var selectableFeatures
| `- error: generic parameter 'Value' could not be inferred
31 | // MARK: UserInteraction
32 | @Environment(\.mapInteractionZoom) private var zoomEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:30:18: error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
28 | @Environment(\.mapElevationStyle) private var elevationStyle
29 | @Environment(\.mapPOIFilter) private var poiFilter
30 | @Environment(\.mapSelectableFeatures) private var selectableFeatures
| `- error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
31 | // MARK: UserInteraction
32 | @Environment(\.mapInteractionZoom) private var zoomEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:30:18: error: cannot infer key path type from context; consider explicitly specifying a root type
28 | @Environment(\.mapElevationStyle) private var elevationStyle
29 | @Environment(\.mapPOIFilter) private var poiFilter
30 | @Environment(\.mapSelectableFeatures) private var selectableFeatures
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
31 | // MARK: UserInteraction
32 | @Environment(\.mapInteractionZoom) private var zoomEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:49:32: error: cannot find type 'UIGestureRecognizer' in scope
47 |
48 | private var onSelection: ((MKAnnotation) -> Void)?
49 | private var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
| `- error: cannot find type 'UIGestureRecognizer' in scope
50 | private var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
51 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:80:24: error: cannot find type 'UIGestureRecognizer' in scope
78 | annotations: Binding<[MapViewAnnotation]>,
79 | onSelection: ((MKAnnotation) -> Void)? = nil,
80 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)? = nil,
| `- error: cannot find type 'UIGestureRecognizer' in scope
81 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
82 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:113:24: error: cannot find type 'UIGestureRecognizer' in scope
111 | userTrackingMode: MKUserTrackingMode = .none,
112 | annotations: Binding<[MapViewAnnotation]>,
113 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?,
| `- error: cannot find type 'UIGestureRecognizer' in scope
114 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
115 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:159:37: error: cannot find type 'Context' in scope
157 | // MARK: - UIViewRepresentable
158 |
159 | public func makeUIView(context: Context) -> MKMapView {
| `- error: cannot find type 'Context' in scope
160 | let mapView = MKMapView()
161 | mapView.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:176:61: error: cannot find type 'Context' in scope
174 | }
175 |
176 | public func updateUIView(_ mapView: MKMapView, context: Context) {
| `- error: cannot find type 'Context' in scope
177 | mapView.removeOverlays(mapView.overlays)
178 | mapView.removeAnnotations(mapView.annotations)
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:222:46: error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 16.0, *)
12 | public struct MapView: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing struct
13 | public typealias UIViewType = MKMapView
14 |
:
220 | // MARK: - Methods
221 |
222 | private func preferredConfiguration() -> MKMapConfiguration {
| | `- error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
| `- note: add '@available' attribute to enclosing instance method
223 | let preferredConfig: MKMapConfiguration
224 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:242:59: error: cannot find type 'UILongPressGestureRecognizer' in scope
240 | }
241 |
242 | private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
| `- error: cannot find type 'UILongPressGestureRecognizer' in scope
243 | UILongPressGestureRecognizer(
244 | target: context.coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:242:47: error: cannot find type 'Context' in scope
240 | }
241 |
242 | private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
| `- error: cannot find type 'Context' in scope
243 | UILongPressGestureRecognizer(
244 | target: context.coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:12:24: error: cannot find type 'UIViewRepresentable' in scope
10 |
11 | @available(iOS 16.0, *)
12 | public struct MapView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
13 | public typealias UIViewType = MKMapView
14 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewAnnotation.swift:48:15: error: cannot find type 'UIColor' in scope
46 | subtitle: String? = nil,
47 | systemImage: String? = nil,
48 | tint: UIColor? = nil,
| `- error: cannot find type 'UIColor' in scope
49 | displayPriotity: MKFeatureDisplayPriority = .required
50 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewAnnotation.swift:27:22: error: cannot find type 'UIColor' in scope
25 |
26 | /// The color which will be used to tint the annotation marker.
27 | public var tint: UIColor?
| `- error: cannot find type 'UIColor' in scope
28 |
29 | /// The display priority of the annotation view.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:28:31: error: cannot find 'UIColor' in scope
26 |
27 | struct MapAnnotationTintKey: EnvironmentKey {
28 | static let defaultValue = UIColor.systemRed
| `- error: cannot find 'UIColor' in scope
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:27:8: error: type 'MapAnnotationTintKey' does not conform to protocol 'EnvironmentKey'
25 | }
26 |
27 | struct MapAnnotationTintKey: EnvironmentKey {
| |- error: type 'MapAnnotationTintKey' does not conform to protocol 'EnvironmentKey'
| `- note: add stubs for conformance
28 | static let defaultValue = UIColor.systemRed
29 | }
SwiftUI.EnvironmentKey.Value:2:16: note: protocol requires nested type 'Value'
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: protocol requires nested type 'Value'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:51:31: error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
48 |
49 | @available(iOS 16.0, *)
50 | struct MapElevationStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
51 | static let defaultValue = MKMapConfiguration.ElevationStyle.flat
| | `- error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
| `- note: add '@available' attribute to enclosing static property
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:60:30: error: cannot find type 'MKMapFeatureOptions' in scope
58 | @available(iOS 16.0, *)
59 | struct MapSelectableFeaturesKey: EnvironmentKey {
60 | static let defaultValue: MKMapFeatureOptions = []
| `- error: cannot find type 'MKMapFeatureOptions' in scope
61 | }
62 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:59:8: error: type 'MapSelectableFeaturesKey' does not conform to protocol 'EnvironmentKey'
57 |
58 | @available(iOS 16.0, *)
59 | struct MapSelectableFeaturesKey: EnvironmentKey {
| |- error: type 'MapSelectableFeaturesKey' does not conform to protocol 'EnvironmentKey'
| `- note: add stubs for conformance
60 | static let defaultValue: MKMapFeatureOptions = []
61 | }
SwiftUI.EnvironmentKey.Value:2:16: note: protocol requires nested type 'Value'
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: protocol requires nested type 'Value'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift:60:28: error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
9 | import SwiftUI
10 |
11 | extension EnvironmentValues {
| `- note: add '@available' attribute to enclosing extension
12 |
13 | // MARK: Route
:
58 |
59 | @available(iOS 16.0, *)
60 | var mapElevationStyle: MKMapConfiguration.ElevationStyle {
| | `- error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
| `- note: add '@available' attribute to enclosing property
61 | get { self[MapElevationStyleKey.self] }
62 | set { self[MapElevationStyleKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/DashedMapRouteStyle.swift:12:22: error: cannot find type 'UIColor' in scope
10 | /// A ``MapRouteStyle`` defining a dashed line with the given width and tint color.
11 | public struct DashedMapRouteStyle: MapRouteStyle {
12 | public var tint: UIColor
| `- error: cannot find type 'UIColor' in scope
13 |
14 | public var lineWidth: Double
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/SolidMapRouteStyle.swift:12:22: error: cannot find type 'UIColor' in scope
10 | /// A ``MapRouteStyle`` defining a solid line with the given width and tint color.
11 | public struct SolidMapRouteStyle: MapRouteStyle {
12 | public var tint: UIColor
| `- error: cannot find type 'UIColor' in scope
13 |
14 | public var lineWidth: Double
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/View+MapModifiers.swift:81:29: error: cannot find type 'MKMapFeatureOptions' in scope
79 | elevationStyle: MKMapConfiguration.ElevationStyle = .flat,
80 | poiFilter: MKPointOfInterestFilter = .includingAll,
81 | selectableFeatures: MKMapFeatureOptions = []
| `- error: cannot find type 'MKMapFeatureOptions' in scope
82 | ) -> some View {
83 | self
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/View+MapModifiers.swift:79:25: error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
9 | import SwiftUI
10 |
11 | public extension View {
| `- note: add '@available' attribute to enclosing extension
12 |
13 | /// Setup options for displaying a route between annotations.
:
75 | /// the map responds to.
76 | @available(iOS 16.0, *)
77 | func mapConfiguration(
| `- note: add '@available' attribute to enclosing instance method
78 | _ configuration: MapViewConfiguration,
79 | elevationStyle: MKMapConfiguration.ElevationStyle = .flat,
| `- error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
80 | poiFilter: MKPointOfInterestFilter = .includingAll,
81 | selectableFeatures: MKMapFeatureOptions = []
Failed frontend command:
SwiftCompile normal arm64 (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewAnnotation.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/DashedMapRouteStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/MapRouteStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/SolidMapRouteStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapViewConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapViewVisibility.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/View+MapModifiers.swift -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -swift-module-cross-import MapKit /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MapKit.framework/Modules/MapKit.swiftcrossimport/SwiftUI.swiftoverlay -swift-module-cross-import MapKit /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/MapKit.framework/Modules/MapKit.swiftcrossimport/SwiftUI.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name LPMapView -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView.abi.json
SwiftCompile normal arm64 Compiling\ MapViewConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapViewConfiguration.swift (in target 'LPMapView' from project 'LPMapView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapViewConfiguration.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapViewConfiguration.swift
SwiftCompile normal arm64 Compiling\ MapViewVisibility.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapViewVisibility.swift (in target 'LPMapView' from project 'LPMapView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapViewVisibility.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapViewVisibility.swift
SwiftCompile normal arm64 Compiling\ View+MapModifiers.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/View+MapModifiers.swift (in target 'LPMapView' from project 'LPMapView')
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/MapRouteStyle.swift:13:15: error: cannot find type 'UIColor' in scope
11 | public protocol MapRouteStyle {
12 | /// The line's tint color.
13 | var tint: UIColor { get set }
| `- error: cannot find type 'UIColor' in scope
14 |
15 | /// The line's width in points.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/View+MapModifiers.swift:81:29: error: cannot find type 'MKMapFeatureOptions' in scope
79 | elevationStyle: MKMapConfiguration.ElevationStyle = .flat,
80 | poiFilter: MKPointOfInterestFilter = .includingAll,
81 | selectableFeatures: MKMapFeatureOptions = []
| `- error: cannot find type 'MKMapFeatureOptions' in scope
82 | ) -> some View {
83 | self
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/View+MapModifiers.swift:79:25: error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
9 | import SwiftUI
10 |
11 | public extension View {
| `- note: add '@available' attribute to enclosing extension
12 |
13 | /// Setup options for displaying a route between annotations.
:
75 | /// the map responds to.
76 | @available(iOS 16.0, *)
77 | func mapConfiguration(
| `- note: add '@available' attribute to enclosing instance method
78 | _ configuration: MapViewConfiguration,
79 | elevationStyle: MKMapConfiguration.ElevationStyle = .flat,
| `- error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
80 | poiFilter: MKPointOfInterestFilter = .includingAll,
81 | selectableFeatures: MKMapFeatureOptions = []
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/View+MapModifiers.swift:58:47: error: cannot find 'UIColor' in scope
56 | self
57 | .environment(\.mapAnnotationVisibility, visibility)
58 | .environment(\.mapAnnotationTint, UIColor(tint))
| `- error: cannot find 'UIColor' in scope
59 | .environment(\.mapShowCallout, calloutEnabled)
60 | .environment(\.mapFitAnnotations, fitInVisibleRect)
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift:32:28: error: cannot find type 'UIColor' in scope
30 | }
31 |
32 | var mapAnnotationTint: UIColor {
| `- error: cannot find type 'UIColor' in scope
33 | get { self[MapAnnotationTintKey.self] }
34 | set { self[MapAnnotationTintKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/View+MapModifiers.swift:58:26: error: cannot convert value of type 'KeyPath<EnvironmentValues, V>' to expected argument type 'WritableKeyPath<EnvironmentValues, V>'
56 | self
57 | .environment(\.mapAnnotationVisibility, visibility)
58 | .environment(\.mapAnnotationTint, UIColor(tint))
| `- error: cannot convert value of type 'KeyPath<EnvironmentValues, V>' to expected argument type 'WritableKeyPath<EnvironmentValues, V>'
59 | .environment(\.mapShowCallout, calloutEnabled)
60 | .environment(\.mapFitAnnotations, fitInVisibleRect)
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift:71:32: error: cannot find type 'MKMapFeatureOptions' in scope
69 |
70 | @available(iOS 16.0, *)
71 | var mapSelectableFeatures: MKMapFeatureOptions {
| `- error: cannot find type 'MKMapFeatureOptions' in scope
72 | get { self[MapSelectableFeaturesKey.self] }
73 | set { self[MapSelectableFeaturesKey.self] = newValue }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/View+MapModifiers.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile View+MapModifiers.swift
SwiftCompile normal arm64 Compiling\ EnvironmentValues.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift (in target 'LPMapView' from project 'LPMapView')
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/MapRouteStyle.swift:13:15: error: cannot find type 'UIColor' in scope
11 | public protocol MapRouteStyle {
12 | /// The line's tint color.
13 | var tint: UIColor { get set }
| `- error: cannot find type 'UIColor' in scope
14 |
15 | /// The line's width in points.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift:32:28: error: cannot find type 'UIColor' in scope
30 | }
31 |
32 | var mapAnnotationTint: UIColor {
| `- error: cannot find type 'UIColor' in scope
33 | get { self[MapAnnotationTintKey.self] }
34 | set { self[MapAnnotationTintKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift:60:28: error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
9 | import SwiftUI
10 |
11 | extension EnvironmentValues {
| `- note: add '@available' attribute to enclosing extension
12 |
13 | // MARK: Route
:
58 |
59 | @available(iOS 16.0, *)
60 | var mapElevationStyle: MKMapConfiguration.ElevationStyle {
| | `- error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
| `- note: add '@available' attribute to enclosing property
61 | get { self[MapElevationStyleKey.self] }
62 | set { self[MapElevationStyleKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift:71:32: error: cannot find type 'MKMapFeatureOptions' in scope
69 |
70 | @available(iOS 16.0, *)
71 | var mapSelectableFeatures: MKMapFeatureOptions {
| `- error: cannot find type 'MKMapFeatureOptions' in scope
72 | get { self[MapSelectableFeaturesKey.self] }
73 | set { self[MapSelectableFeaturesKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:28:31: error: cannot find 'UIColor' in scope
26 |
27 | struct MapAnnotationTintKey: EnvironmentKey {
28 | static let defaultValue = UIColor.systemRed
| `- error: cannot find 'UIColor' in scope
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift:33:9: error: type 'MapAnnotationTintKey' does not conform to protocol 'EnvironmentKey'
31 |
32 | var mapAnnotationTint: UIColor {
33 | get { self[MapAnnotationTintKey.self] }
| `- error: type 'MapAnnotationTintKey' does not conform to protocol 'EnvironmentKey'
34 | set { self[MapAnnotationTintKey.self] = newValue }
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:51:31: error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
48 |
49 | @available(iOS 16.0, *)
50 | struct MapElevationStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
51 | static let defaultValue = MKMapConfiguration.ElevationStyle.flat
| | `- error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
| `- note: add '@available' attribute to enclosing static property
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:60:30: error: cannot find type 'MKMapFeatureOptions' in scope
58 | @available(iOS 16.0, *)
59 | struct MapSelectableFeaturesKey: EnvironmentKey {
60 | static let defaultValue: MKMapFeatureOptions = []
| `- error: cannot find type 'MKMapFeatureOptions' in scope
61 | }
62 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EnvironmentValues.swift
SwiftCompile normal arm64 Compiling\ EnvironmentKeys.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift (in target 'LPMapView' from project 'LPMapView')
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/MapRouteStyle.swift:13:15: error: cannot find type 'UIColor' in scope
11 | public protocol MapRouteStyle {
12 | /// The line's tint color.
13 | var tint: UIColor { get set }
| `- error: cannot find type 'UIColor' in scope
14 |
15 | /// The line's width in points.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:28:31: error: cannot find 'UIColor' in scope
26 |
27 | struct MapAnnotationTintKey: EnvironmentKey {
28 | static let defaultValue = UIColor.systemRed
| `- error: cannot find 'UIColor' in scope
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:27:8: error: type 'MapAnnotationTintKey' does not conform to protocol 'EnvironmentKey'
25 | }
26 |
27 | struct MapAnnotationTintKey: EnvironmentKey {
| |- error: type 'MapAnnotationTintKey' does not conform to protocol 'EnvironmentKey'
| `- note: add stubs for conformance
28 | static let defaultValue = UIColor.systemRed
29 | }
SwiftUI.EnvironmentKey.Value:2:16: note: protocol requires nested type 'Value'
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: protocol requires nested type 'Value'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:51:31: error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
48 |
49 | @available(iOS 16.0, *)
50 | struct MapElevationStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
51 | static let defaultValue = MKMapConfiguration.ElevationStyle.flat
| | `- error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
| `- note: add '@available' attribute to enclosing static property
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:60:30: error: cannot find type 'MKMapFeatureOptions' in scope
58 | @available(iOS 16.0, *)
59 | struct MapSelectableFeaturesKey: EnvironmentKey {
60 | static let defaultValue: MKMapFeatureOptions = []
| `- error: cannot find type 'MKMapFeatureOptions' in scope
61 | }
62 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EnvironmentKeys.swift
SwiftCompile normal arm64 Compiling\ SolidMapRouteStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/SolidMapRouteStyle.swift (in target 'LPMapView' from project 'LPMapView')
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/SolidMapRouteStyle.swift:12:22: error: cannot find type 'UIColor' in scope
10 | /// A ``MapRouteStyle`` defining a solid line with the given width and tint color.
11 | public struct SolidMapRouteStyle: MapRouteStyle {
12 | public var tint: UIColor
| `- error: cannot find type 'UIColor' in scope
13 |
14 | public var lineWidth: Double
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/MapRouteStyle.swift:13:15: error: cannot find type 'UIColor' in scope
11 | public protocol MapRouteStyle {
12 | /// The line's tint color.
13 | var tint: UIColor { get set }
| `- error: cannot find type 'UIColor' in scope
14 |
15 | /// The line's width in points.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/SolidMapRouteStyle.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SolidMapRouteStyle.swift
SwiftCompile normal arm64 Compiling\ MapCoordinator.swift,\ MapView+Compatibility.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift (in target 'LPMapView' from project 'LPMapView')
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:14:29: error: cannot find type 'UIColor' in scope
12 |
13 | struct Configuration {
14 | var annotationTint: UIColor
| `- error: cannot find type 'UIColor' in scope
15 | var showCallout: Bool
16 | var routeStyle: MapRouteStyle
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:18:28: error: cannot find type 'UIGestureRecognizer' in scope
16 | var routeStyle: MapRouteStyle
17 | var onSelection: ((MKAnnotation) -> Void)?
18 | var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
| `- error: cannot find type 'UIGestureRecognizer' in scope
19 | var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/MapRouteStyle.swift:13:15: error: cannot find type 'UIColor' in scope
11 | public protocol MapRouteStyle {
12 | /// The line's tint color.
13 | var tint: UIColor { get set }
| `- error: cannot find type 'UIColor' in scope
14 |
15 | /// The line's width in points.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:48:17: error: cannot override 'mapView' which has been marked unavailable
46 | }
47 |
48 | public func mapView(_ mapView: MKMapView, didSelect annotation: MKAnnotation) {
| `- error: cannot override 'mapView' which has been marked unavailable
49 | configuration.onSelection?(annotation)
50 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:293:1: note: 'mapView(_:didSelect:)' has been explicitly marked unavailable here
291 | - (void)mapView:(MKMapView *)mapView didDeselectAnnotationView:(MKAnnotationView *)view API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
292 |
293 | - (void)mapView:(MKMapView *)mapView didSelectAnnotation:(id<MKAnnotation>)annotation API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos, watchos);
| `- note: 'mapView(_:didSelect:)' has been explicitly marked unavailable here
294 | - (void)mapView:(MKMapView *)mapView didDeselectAnnotation:(id<MKAnnotation>)annotation API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos, watchos);
295 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewAnnotation.swift:27:22: error: cannot find type 'UIColor' in scope
25 |
26 | /// The color which will be used to tint the annotation marker.
27 | public var tint: UIColor?
| `- error: cannot find type 'UIColor' in scope
28 |
29 | /// The display priority of the annotation view.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:66:41: error: cannot find 'UIImage' in scope
64 | annotationView.displayPriority = annotation.displayPriority
65 | if let systemImage = annotation.systemImage {
66 | annotationView.glyphImage = UIImage(systemName: systemImage)
| `- error: cannot find 'UIImage' in scope
67 | annotationView.leftCalloutAccessoryView = UIImageView(image: .init(systemName: systemImage))
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:67:55: error: cannot find 'UIImageView' in scope
65 | if let systemImage = annotation.systemImage {
66 | annotationView.glyphImage = UIImage(systemName: systemImage)
67 | annotationView.leftCalloutAccessoryView = UIImageView(image: .init(systemName: systemImage))
| `- error: cannot find 'UIImageView' in scope
68 | }
69 | if annotation.title != nil {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:71:56: error: cannot find 'UIView' in scope
69 | if annotation.title != nil {
70 | annotationView.canShowCallout = configuration.showCallout
71 | annotationView.rightCalloutAccessoryView = UIView(frame: .zero)
| `- error: cannot find 'UIView' in scope
72 | }
73 | return annotationView
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:77:39: error: cannot find type 'UILongPressGestureRecognizer' in scope
75 |
76 | @objc func action(sender: Any?) {
77 | if let longPress = sender as? UILongPressGestureRecognizer,
| `- error: cannot find type 'UILongPressGestureRecognizer' in scope
78 | let mapView = longPress.view as? MKMapView {
79 | let location = longPress.location(in: mapView)
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift:32:28: error: cannot find type 'UIColor' in scope
30 | }
31 |
32 | var mapAnnotationTint: UIColor {
| `- error: cannot find type 'UIColor' in scope
33 | get { self[MapAnnotationTintKey.self] }
34 | set { self[MapAnnotationTintKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:22:18: error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
20 | // MARK: Annotation
21 | @Environment(\.mapAnnotationVisibility) private var annotationVisibility
22 | @Environment(\.mapAnnotationTint) private var annotationTint
| `- error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
23 | @Environment(\.mapShowCallout) private var showCallout
24 | @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:22:6: error: generic parameter 'Value' could not be inferred
20 | // MARK: Annotation
21 | @Environment(\.mapAnnotationVisibility) private var annotationVisibility
22 | @Environment(\.mapAnnotationTint) private var annotationTint
| `- error: generic parameter 'Value' could not be inferred
23 | @Environment(\.mapShowCallout) private var showCallout
24 | @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:22:18: error: cannot infer key path type from context; consider explicitly specifying a root type
20 | // MARK: Annotation
21 | @Environment(\.mapAnnotationVisibility) private var annotationVisibility
22 | @Environment(\.mapAnnotationTint) private var annotationTint
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
23 | @Environment(\.mapShowCallout) private var showCallout
24 | @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:44:32: error: cannot find type 'UIGestureRecognizer' in scope
42 |
43 | private var onSelection: ((MKAnnotation) -> Void)?
44 | private var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
| `- error: cannot find type 'UIGestureRecognizer' in scope
45 | private var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
46 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:75:24: error: cannot find type 'UIGestureRecognizer' in scope
73 | annotations: Binding<[MapViewAnnotation]>,
74 | onSelection: ((MKAnnotation) -> Void)? = nil,
75 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)? = nil,
| `- error: cannot find type 'UIGestureRecognizer' in scope
76 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
77 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:108:24: error: cannot find type 'UIGestureRecognizer' in scope
106 | userTrackingMode: MKUserTrackingMode = .none,
107 | annotations: Binding<[MapViewAnnotation]>,
108 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?,
| `- error: cannot find type 'UIGestureRecognizer' in scope
109 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
110 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:152:37: error: cannot find type 'Context' in scope
150 | }
151 |
152 | public func makeUIView(context: Context) -> MKMapView {
| `- error: cannot find type 'Context' in scope
153 | let mapView = MKMapView()
154 | mapView.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:169:61: error: cannot find type 'Context' in scope
167 | }
168 |
169 | public func updateUIView(_ mapView: MKMapView, context: Context) {
| `- error: cannot find type 'Context' in scope
170 | mapView.removeOverlays(mapView.overlays)
171 | mapView.removeAnnotations(mapView.annotations)
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:226:59: error: cannot find type 'UILongPressGestureRecognizer' in scope
224 | }
225 |
226 | private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
| `- error: cannot find type 'UILongPressGestureRecognizer' in scope
227 | UILongPressGestureRecognizer(
228 | target: context.coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:226:47: error: cannot find type 'Context' in scope
224 | }
225 |
226 | private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
| `- error: cannot find type 'Context' in scope
227 | UILongPressGestureRecognizer(
228 | target: context.coordinator,
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapCoordinator.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapView+Compatibility.swift
SwiftCompile normal arm64 Compiling\ DashedMapRouteStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/DashedMapRouteStyle.swift (in target 'LPMapView' from project 'LPMapView')
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/DashedMapRouteStyle.swift:12:22: error: cannot find type 'UIColor' in scope
10 | /// A ``MapRouteStyle`` defining a dashed line with the given width and tint color.
11 | public struct DashedMapRouteStyle: MapRouteStyle {
12 | public var tint: UIColor
| `- error: cannot find type 'UIColor' in scope
13 |
14 | public var lineWidth: Double
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/MapRouteStyle.swift:13:15: error: cannot find type 'UIColor' in scope
11 | public protocol MapRouteStyle {
12 | /// The line's tint color.
13 | var tint: UIColor { get set }
| `- error: cannot find type 'UIColor' in scope
14 |
15 | /// The line's width in points.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/DashedMapRouteStyle.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DashedMapRouteStyle.swift
SwiftCompile normal arm64 Compiling\ MapView.swift,\ MapViewAnnotation.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewAnnotation.swift (in target 'LPMapView' from project 'LPMapView')
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift:32:28: error: cannot find type 'UIColor' in scope
30 | }
31 |
32 | var mapAnnotationTint: UIColor {
| `- error: cannot find type 'UIColor' in scope
33 | get { self[MapAnnotationTintKey.self] }
34 | set { self[MapAnnotationTintKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:22:6: error: generic parameter 'Value' could not be inferred
20 | // MARK: Annotation
21 | @Environment(\.mapAnnotationVisibility) private var annotationVisibility
22 | @Environment(\.mapAnnotationTint) private var annotationTint
| `- error: generic parameter 'Value' could not be inferred
23 | @Environment(\.mapShowCallout) private var showCallout
24 | @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:22:18: error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
20 | // MARK: Annotation
21 | @Environment(\.mapAnnotationVisibility) private var annotationVisibility
22 | @Environment(\.mapAnnotationTint) private var annotationTint
| `- error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
23 | @Environment(\.mapShowCallout) private var showCallout
24 | @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:22:18: error: cannot infer key path type from context; consider explicitly specifying a root type
20 | // MARK: Annotation
21 | @Environment(\.mapAnnotationVisibility) private var annotationVisibility
22 | @Environment(\.mapAnnotationTint) private var annotationTint
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
23 | @Environment(\.mapShowCallout) private var showCallout
24 | @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift:71:32: error: cannot find type 'MKMapFeatureOptions' in scope
69 |
70 | @available(iOS 16.0, *)
71 | var mapSelectableFeatures: MKMapFeatureOptions {
| `- error: cannot find type 'MKMapFeatureOptions' in scope
72 | get { self[MapSelectableFeaturesKey.self] }
73 | set { self[MapSelectableFeaturesKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:30:18: error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
28 | @Environment(\.mapElevationStyle) private var elevationStyle
29 | @Environment(\.mapPOIFilter) private var poiFilter
30 | @Environment(\.mapSelectableFeatures) private var selectableFeatures
| `- error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
31 | // MARK: UserInteraction
32 | @Environment(\.mapInteractionZoom) private var zoomEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:30:6: error: generic parameter 'Value' could not be inferred
28 | @Environment(\.mapElevationStyle) private var elevationStyle
29 | @Environment(\.mapPOIFilter) private var poiFilter
30 | @Environment(\.mapSelectableFeatures) private var selectableFeatures
| `- error: generic parameter 'Value' could not be inferred
31 | // MARK: UserInteraction
32 | @Environment(\.mapInteractionZoom) private var zoomEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:30:18: error: cannot infer key path type from context; consider explicitly specifying a root type
28 | @Environment(\.mapElevationStyle) private var elevationStyle
29 | @Environment(\.mapPOIFilter) private var poiFilter
30 | @Environment(\.mapSelectableFeatures) private var selectableFeatures
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
31 | // MARK: UserInteraction
32 | @Environment(\.mapInteractionZoom) private var zoomEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:49:32: error: cannot find type 'UIGestureRecognizer' in scope
47 |
48 | private var onSelection: ((MKAnnotation) -> Void)?
49 | private var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
| `- error: cannot find type 'UIGestureRecognizer' in scope
50 | private var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
51 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:80:24: error: cannot find type 'UIGestureRecognizer' in scope
78 | annotations: Binding<[MapViewAnnotation]>,
79 | onSelection: ((MKAnnotation) -> Void)? = nil,
80 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)? = nil,
| `- error: cannot find type 'UIGestureRecognizer' in scope
81 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
82 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:113:24: error: cannot find type 'UIGestureRecognizer' in scope
111 | userTrackingMode: MKUserTrackingMode = .none,
112 | annotations: Binding<[MapViewAnnotation]>,
113 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?,
| `- error: cannot find type 'UIGestureRecognizer' in scope
114 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
115 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:159:37: error: cannot find type 'Context' in scope
157 | // MARK: - UIViewRepresentable
158 |
159 | public func makeUIView(context: Context) -> MKMapView {
| `- error: cannot find type 'Context' in scope
160 | let mapView = MKMapView()
161 | mapView.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:176:61: error: cannot find type 'Context' in scope
174 | }
175 |
176 | public func updateUIView(_ mapView: MKMapView, context: Context) {
| `- error: cannot find type 'Context' in scope
177 | mapView.removeOverlays(mapView.overlays)
178 | mapView.removeAnnotations(mapView.annotations)
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:222:46: error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 16.0, *)
12 | public struct MapView: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing struct
13 | public typealias UIViewType = MKMapView
14 |
:
220 | // MARK: - Methods
221 |
222 | private func preferredConfiguration() -> MKMapConfiguration {
| | `- error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
| `- note: add '@available' attribute to enclosing instance method
223 | let preferredConfig: MKMapConfiguration
224 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:242:59: error: cannot find type 'UILongPressGestureRecognizer' in scope
240 | }
241 |
242 | private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
| `- error: cannot find type 'UILongPressGestureRecognizer' in scope
243 | UILongPressGestureRecognizer(
244 | target: context.coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:242:47: error: cannot find type 'Context' in scope
240 | }
241 |
242 | private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
| `- error: cannot find type 'Context' in scope
243 | UILongPressGestureRecognizer(
244 | target: context.coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:12:24: error: cannot find type 'UIViewRepresentable' in scope
10 |
11 | @available(iOS 16.0, *)
12 | public struct MapView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
13 | public typealias UIViewType = MKMapView
14 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:165:17: error: value of type 'MKMapView' has no member 'selectableMapFeatures'
163 | mapView.showsUserLocation = showsUserLocation
164 | mapView.userTrackingMode = userTrackingMode
165 | mapView.selectableMapFeatures = selectableFeatures
| `- error: value of type 'MKMapView' has no member 'selectableMapFeatures'
166 | mapView.isZoomEnabled = zoomEnabled
167 | mapView.isScrollEnabled = scrollEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:171:17: error: 'preferredConfiguration' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 16.0, *)
12 | public struct MapView: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing struct
13 | public typealias UIViewType = MKMapView
14 |
:
157 | // MARK: - UIViewRepresentable
158 |
159 | public func makeUIView(context: Context) -> MKMapView {
| `- note: add '@available' attribute to enclosing instance method
160 | let mapView = MKMapView()
161 | mapView.delegate = context.coordinator
:
169 | mapView.isRotateEnabled = rotateEnabled
170 |
171 | mapView.preferredConfiguration = preferredConfiguration()
| |- error: 'preferredConfiguration' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
172 | mapView.addGestureRecognizer(longPressGesture(in: context))
173 | return mapView
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:182:17: error: value of type 'MKMapView' has no member 'selectableMapFeatures'
180 | mapView.showsUserLocation = showsUserLocation
181 | mapView.userTrackingMode = userTrackingMode
182 | mapView.selectableMapFeatures = selectableFeatures
| `- error: value of type 'MKMapView' has no member 'selectableMapFeatures'
183 | mapView.isZoomEnabled = zoomEnabled
184 | mapView.isScrollEnabled = scrollEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:187:17: error: 'preferredConfiguration' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 16.0, *)
12 | public struct MapView: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing struct
13 | public typealias UIViewType = MKMapView
14 |
:
174 | }
175 |
176 | public func updateUIView(_ mapView: MKMapView, context: Context) {
| `- note: add '@available' attribute to enclosing instance method
177 | mapView.removeOverlays(mapView.overlays)
178 | mapView.removeAnnotations(mapView.annotations)
:
185 | mapView.isPitchEnabled = pitchEnabled
186 | mapView.isRotateEnabled = rotateEnabled
187 | mapView.preferredConfiguration = preferredConfiguration()
| |- error: 'preferredConfiguration' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
188 |
189 | if routeVisibility == .visible {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:14:29: error: cannot find type 'UIColor' in scope
12 |
13 | struct Configuration {
14 | var annotationTint: UIColor
| `- error: cannot find type 'UIColor' in scope
15 | var showCallout: Bool
16 | var routeStyle: MapRouteStyle
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:18:28: error: cannot find type 'UIGestureRecognizer' in scope
16 | var routeStyle: MapRouteStyle
17 | var onSelection: ((MKAnnotation) -> Void)?
18 | var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
| `- error: cannot find type 'UIGestureRecognizer' in scope
19 | var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:223:30: error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 16.0, *)
12 | public struct MapView: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing struct
13 | public typealias UIViewType = MKMapView
14 |
:
220 | // MARK: - Methods
221 |
222 | private func preferredConfiguration() -> MKMapConfiguration {
| `- note: add '@available' attribute to enclosing instance method
223 | let preferredConfig: MKMapConfiguration
| |- error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
224 |
225 | switch mapConfiguration {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:227:26: error: 'MKStandardMapConfiguration' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 16.0, *)
12 | public struct MapView: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing struct
13 | public typealias UIViewType = MKMapView
14 |
:
220 | // MARK: - Methods
221 |
222 | private func preferredConfiguration() -> MKMapConfiguration {
| `- note: add '@available' attribute to enclosing instance method
223 | let preferredConfig: MKMapConfiguration
224 |
225 | switch mapConfiguration {
226 | case .standard:
227 | let config = MKStandardMapConfiguration(elevationStyle: elevationStyle)
| |- error: 'MKStandardMapConfiguration' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
228 | config.pointOfInterestFilter = poiFilter
229 | preferredConfig = config
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:231:26: error: 'MKHybridMapConfiguration' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 16.0, *)
12 | public struct MapView: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing struct
13 | public typealias UIViewType = MKMapView
14 |
:
220 | // MARK: - Methods
221 |
222 | private func preferredConfiguration() -> MKMapConfiguration {
| `- note: add '@available' attribute to enclosing instance method
223 | let preferredConfig: MKMapConfiguration
224 |
:
229 | preferredConfig = config
230 | case .hybrid:
231 | let config = MKHybridMapConfiguration(elevationStyle: elevationStyle)
| |- error: 'MKHybridMapConfiguration' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
232 | config.pointOfInterestFilter = poiFilter
233 | preferredConfig = config
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:235:26: error: 'MKImageryMapConfiguration' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 16.0, *)
12 | public struct MapView: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing struct
13 | public typealias UIViewType = MKMapView
14 |
:
220 | // MARK: - Methods
221 |
222 | private func preferredConfiguration() -> MKMapConfiguration {
| `- note: add '@available' attribute to enclosing instance method
223 | let preferredConfig: MKMapConfiguration
224 |
:
233 | preferredConfig = config
234 | case .satellite:
235 | let config = MKImageryMapConfiguration(elevationStyle: elevationStyle)
| |- error: 'MKImageryMapConfiguration' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
236 | preferredConfig = config
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:243:9: error: cannot find 'UILongPressGestureRecognizer' in scope
241 |
242 | private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
243 | UILongPressGestureRecognizer(
| `- error: cannot find 'UILongPressGestureRecognizer' in scope
244 | target: context.coordinator,
245 | action: #selector(Coordinator.action(sender:))
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:245:31: error: cannot find 'Coordinator' in scope
243 | UILongPressGestureRecognizer(
244 | target: context.coordinator,
245 | action: #selector(Coordinator.action(sender:))
| `- error: cannot find 'Coordinator' in scope
246 | )
247 | }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewAnnotation.swift:48:15: error: cannot find type 'UIColor' in scope
46 | subtitle: String? = nil,
47 | systemImage: String? = nil,
48 | tint: UIColor? = nil,
| `- error: cannot find type 'UIColor' in scope
49 | displayPriotity: MKFeatureDisplayPriority = .required
50 | ) {
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapView.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewAnnotation.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapViewAnnotation.swift
SwiftCompile normal arm64 Compiling\ MapRouteStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/MapRouteStyle.swift (in target 'LPMapView' from project 'LPMapView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/MapRouteStyle.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapRouteStyle.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-18 18:22:48.802 xcodebuild[645:4146] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:0e6374b407ad4a05369f298cc09f533dfbe2a582, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:0e6374b407ad4a05369f298cc09f533dfbe2a582, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:0e6374b407ad4a05369f298cc09f533dfbe2a582, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0e6374b407ad4a05369f298cc09f533dfbe2a582, name:My Mac }
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'LPMapView' from project 'LPMapView')
SwiftEmitModule normal arm64 Emitting\ module\ for\ LPMapView (in target 'LPMapView' from project 'LPMapView')
Building workspace LPMapView with scheme LPMapView
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
LPMapView: /Users/admin/builder/spi-builder-workspace
resolved source packages: LPMapView
2026-09-18 18:22:57.674 xcodebuild[739:4544] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "LPMapView",
"name" : "LPMapView",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
}
],
"products" : [
{
"name" : "LPMapView",
"targets" : [
"LPMapView"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LPMapView",
"module_type" : "SwiftTarget",
"name" : "LPMapView",
"path" : "Sources/LPMapView",
"product_memberships" : [
"LPMapView"
],
"sources" : [
"MapCoordinator.swift",
"MapView+Compatibility.swift",
"MapView.swift",
"MapViewAnnotation.swift",
"MapViewOptions/EnvironmentKeys.swift",
"MapViewOptions/EnvironmentValues.swift",
"MapViewOptions/MapRouteStyle/DashedMapRouteStyle.swift",
"MapViewOptions/MapRouteStyle/MapRouteStyle.swift",
"MapViewOptions/MapRouteStyle/SolidMapRouteStyle.swift",
"MapViewOptions/MapViewConfiguration.swift",
"MapViewOptions/MapViewVisibility.swift",
"MapViewOptions/View+MapModifiers.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
{
"workspace" : {
"name" : "LPMapView",
"schemes" : [
"LPMapView"
]
}
}
2026-09-18 18:22:58.913 xcodebuild[747:4618] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme LPMapView -destination platform=macOS,arch=arm64
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.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 LPMapView -destination platform=macOS,arch=arm64
Resolve Package Graph
Resolved source packages:
LPMapView: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'LPMapView-product' in project 'LPMapView'
➜ Explicit dependency on target 'LPMapView' in project 'LPMapView'
Target 'LPMapView' in project 'LPMapView' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache
SwiftDriver LPMapView normal arm64 com.apple.xcode.tools.swift.compiler (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name LPMapView -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -target arm64-apple-macos12.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ DashedMapRouteStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/DashedMapRouteStyle.swift (in target 'LPMapView' from project 'LPMapView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/DashedMapRouteStyle.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DashedMapRouteStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/DashedMapRouteStyle.swift:12:22: error: cannot find type 'UIColor' in scope
10 | /// A ``MapRouteStyle`` defining a dashed line with the given width and tint color.
11 | public struct DashedMapRouteStyle: MapRouteStyle {
12 | public var tint: UIColor
| `- error: cannot find type 'UIColor' in scope
13 |
14 | public var lineWidth: Double
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/MapRouteStyle.swift:13:15: error: cannot find type 'UIColor' in scope
11 | public protocol MapRouteStyle {
12 | /// The line's tint color.
13 | var tint: UIColor { get set }
| `- error: cannot find type 'UIColor' in scope
14 |
15 | /// The line's width in points.
SwiftCompile normal arm64 Compiling\ SolidMapRouteStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/SolidMapRouteStyle.swift (in target 'LPMapView' from project 'LPMapView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/SolidMapRouteStyle.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SolidMapRouteStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/SolidMapRouteStyle.swift:12:22: error: cannot find type 'UIColor' in scope
10 | /// A ``MapRouteStyle`` defining a solid line with the given width and tint color.
11 | public struct SolidMapRouteStyle: MapRouteStyle {
12 | public var tint: UIColor
| `- error: cannot find type 'UIColor' in scope
13 |
14 | public var lineWidth: Double
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/MapRouteStyle.swift:13:15: error: cannot find type 'UIColor' in scope
11 | public protocol MapRouteStyle {
12 | /// The line's tint color.
13 | var tint: UIColor { get set }
| `- error: cannot find type 'UIColor' in scope
14 |
15 | /// The line's width in points.
SwiftCompile normal arm64 Compiling\ MapCoordinator.swift,\ MapView+Compatibility.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift (in target 'LPMapView' from project 'LPMapView')
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:14:29: error: cannot find type 'UIColor' in scope
12 |
13 | struct Configuration {
14 | var annotationTint: UIColor
| `- error: cannot find type 'UIColor' in scope
15 | var showCallout: Bool
16 | var routeStyle: MapRouteStyle
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:18:28: error: cannot find type 'UIGestureRecognizer' in scope
16 | var routeStyle: MapRouteStyle
17 | var onSelection: ((MKAnnotation) -> Void)?
18 | var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
| `- error: cannot find type 'UIGestureRecognizer' in scope
19 | var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/MapRouteStyle.swift:13:15: error: cannot find type 'UIColor' in scope
11 | public protocol MapRouteStyle {
12 | /// The line's tint color.
13 | var tint: UIColor { get set }
| `- error: cannot find type 'UIColor' in scope
14 |
15 | /// The line's width in points.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:48:17: error: cannot override 'mapView' which has been marked unavailable
46 | }
47 |
48 | public func mapView(_ mapView: MKMapView, didSelect annotation: MKAnnotation) {
| `- error: cannot override 'mapView' which has been marked unavailable
49 | configuration.onSelection?(annotation)
50 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:293:1: note: 'mapView(_:didSelect:)' has been explicitly marked unavailable here
291 | - (void)mapView:(MKMapView *)mapView didDeselectAnnotationView:(MKAnnotationView *)view API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
292 |
293 | - (void)mapView:(MKMapView *)mapView didSelectAnnotation:(id<MKAnnotation>)annotation API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos, watchos);
| `- note: 'mapView(_:didSelect:)' has been explicitly marked unavailable here
294 | - (void)mapView:(MKMapView *)mapView didDeselectAnnotation:(id<MKAnnotation>)annotation API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos, watchos);
295 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewAnnotation.swift:27:22: error: cannot find type 'UIColor' in scope
25 |
26 | /// The color which will be used to tint the annotation marker.
27 | public var tint: UIColor?
| `- error: cannot find type 'UIColor' in scope
28 |
29 | /// The display priority of the annotation view.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:66:41: error: cannot find 'UIImage' in scope
64 | annotationView.displayPriority = annotation.displayPriority
65 | if let systemImage = annotation.systemImage {
66 | annotationView.glyphImage = UIImage(systemName: systemImage)
| `- error: cannot find 'UIImage' in scope
67 | annotationView.leftCalloutAccessoryView = UIImageView(image: .init(systemName: systemImage))
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:67:55: error: cannot find 'UIImageView' in scope
65 | if let systemImage = annotation.systemImage {
66 | annotationView.glyphImage = UIImage(systemName: systemImage)
67 | annotationView.leftCalloutAccessoryView = UIImageView(image: .init(systemName: systemImage))
| `- error: cannot find 'UIImageView' in scope
68 | }
69 | if annotation.title != nil {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:71:56: error: cannot find 'UIView' in scope
69 | if annotation.title != nil {
70 | annotationView.canShowCallout = configuration.showCallout
71 | annotationView.rightCalloutAccessoryView = UIView(frame: .zero)
| `- error: cannot find 'UIView' in scope
72 | }
73 | return annotationView
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:77:39: error: cannot find type 'UILongPressGestureRecognizer' in scope
75 |
76 | @objc func action(sender: Any?) {
77 | if let longPress = sender as? UILongPressGestureRecognizer,
| `- error: cannot find type 'UILongPressGestureRecognizer' in scope
78 | let mapView = longPress.view as? MKMapView {
79 | let location = longPress.location(in: mapView)
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift:32:28: error: cannot find type 'UIColor' in scope
30 | }
31 |
32 | var mapAnnotationTint: UIColor {
| `- error: cannot find type 'UIColor' in scope
33 | get { self[MapAnnotationTintKey.self] }
34 | set { self[MapAnnotationTintKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:22:18: error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
20 | // MARK: Annotation
21 | @Environment(\.mapAnnotationVisibility) private var annotationVisibility
22 | @Environment(\.mapAnnotationTint) private var annotationTint
| `- error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
23 | @Environment(\.mapShowCallout) private var showCallout
24 | @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:22:6: error: generic parameter 'Value' could not be inferred
20 | // MARK: Annotation
21 | @Environment(\.mapAnnotationVisibility) private var annotationVisibility
22 | @Environment(\.mapAnnotationTint) private var annotationTint
| `- error: generic parameter 'Value' could not be inferred
23 | @Environment(\.mapShowCallout) private var showCallout
24 | @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:22:18: error: cannot infer key path type from context; consider explicitly specifying a root type
20 | // MARK: Annotation
21 | @Environment(\.mapAnnotationVisibility) private var annotationVisibility
22 | @Environment(\.mapAnnotationTint) private var annotationTint
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
23 | @Environment(\.mapShowCallout) private var showCallout
24 | @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:44:32: error: cannot find type 'UIGestureRecognizer' in scope
42 |
43 | private var onSelection: ((MKAnnotation) -> Void)?
44 | private var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
| `- error: cannot find type 'UIGestureRecognizer' in scope
45 | private var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
46 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:75:24: error: cannot find type 'UIGestureRecognizer' in scope
73 | annotations: Binding<[MapViewAnnotation]>,
74 | onSelection: ((MKAnnotation) -> Void)? = nil,
75 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)? = nil,
| `- error: cannot find type 'UIGestureRecognizer' in scope
76 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
77 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:108:24: error: cannot find type 'UIGestureRecognizer' in scope
106 | userTrackingMode: MKUserTrackingMode = .none,
107 | annotations: Binding<[MapViewAnnotation]>,
108 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?,
| `- error: cannot find type 'UIGestureRecognizer' in scope
109 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
110 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:152:37: error: cannot find type 'Context' in scope
150 | }
151 |
152 | public func makeUIView(context: Context) -> MKMapView {
| `- error: cannot find type 'Context' in scope
153 | let mapView = MKMapView()
154 | mapView.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:169:61: error: cannot find type 'Context' in scope
167 | }
168 |
169 | public func updateUIView(_ mapView: MKMapView, context: Context) {
| `- error: cannot find type 'Context' in scope
170 | mapView.removeOverlays(mapView.overlays)
171 | mapView.removeAnnotations(mapView.annotations)
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:226:59: error: cannot find type 'UILongPressGestureRecognizer' in scope
224 | }
225 |
226 | private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
| `- error: cannot find type 'UILongPressGestureRecognizer' in scope
227 | UILongPressGestureRecognizer(
228 | target: context.coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:226:47: error: cannot find type 'Context' in scope
224 | }
225 |
226 | private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
| `- error: cannot find type 'Context' in scope
227 | UILongPressGestureRecognizer(
228 | target: context.coordinator,
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapCoordinator.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapView+Compatibility.swift
SwiftCompile normal arm64 Compiling\ MapRouteStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/MapRouteStyle.swift (in target 'LPMapView' from project 'LPMapView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/MapRouteStyle.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapRouteStyle.swift
SwiftCompile normal arm64 Compiling\ MapViewConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapViewConfiguration.swift (in target 'LPMapView' from project 'LPMapView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapViewConfiguration.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapViewConfiguration.swift
SwiftCompile normal arm64 Compiling\ MapViewVisibility.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapViewVisibility.swift (in target 'LPMapView' from project 'LPMapView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapViewVisibility.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapViewVisibility.swift
SwiftCompile normal arm64 Compiling\ EnvironmentKeys.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift (in target 'LPMapView' from project 'LPMapView')
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/MapRouteStyle.swift:13:15: error: cannot find type 'UIColor' in scope
11 | public protocol MapRouteStyle {
12 | /// The line's tint color.
13 | var tint: UIColor { get set }
| `- error: cannot find type 'UIColor' in scope
14 |
15 | /// The line's width in points.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:28:31: error: cannot find 'UIColor' in scope
26 |
27 | struct MapAnnotationTintKey: EnvironmentKey {
28 | static let defaultValue = UIColor.systemRed
| `- error: cannot find 'UIColor' in scope
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:27:8: error: type 'MapAnnotationTintKey' does not conform to protocol 'EnvironmentKey'
25 | }
26 |
27 | struct MapAnnotationTintKey: EnvironmentKey {
| |- error: type 'MapAnnotationTintKey' does not conform to protocol 'EnvironmentKey'
| `- note: add stubs for conformance
28 | static let defaultValue = UIColor.systemRed
29 | }
SwiftUI.EnvironmentKey.Value:2:16: note: protocol requires nested type 'Value'
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: protocol requires nested type 'Value'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:51:31: error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
48 |
49 | @available(iOS 16.0, *)
50 | struct MapElevationStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
51 | static let defaultValue = MKMapConfiguration.ElevationStyle.flat
| | `- error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
| `- note: add '@available' attribute to enclosing static property
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:60:30: error: cannot find type 'MKMapFeatureOptions' in scope
58 | @available(iOS 16.0, *)
59 | struct MapSelectableFeaturesKey: EnvironmentKey {
60 | static let defaultValue: MKMapFeatureOptions = []
| `- error: cannot find type 'MKMapFeatureOptions' in scope
61 | }
62 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EnvironmentKeys.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ LPMapView (in target 'LPMapView' from project 'LPMapView')
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:14:29: error: cannot find type 'UIColor' in scope
12 |
13 | struct Configuration {
14 | var annotationTint: UIColor
| `- error: cannot find type 'UIColor' in scope
15 | var showCallout: Bool
16 | var routeStyle: MapRouteStyle
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:18:28: error: cannot find type 'UIGestureRecognizer' in scope
16 | var routeStyle: MapRouteStyle
17 | var onSelection: ((MKAnnotation) -> Void)?
18 | var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
| `- error: cannot find type 'UIGestureRecognizer' in scope
19 | var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/MapRouteStyle.swift:13:15: error: cannot find type 'UIColor' in scope
11 | public protocol MapRouteStyle {
12 | /// The line's tint color.
13 | var tint: UIColor { get set }
| `- error: cannot find type 'UIColor' in scope
14 |
15 | /// The line's width in points.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:48:17: error: cannot override 'mapView' which has been marked unavailable
46 | }
47 |
48 | public func mapView(_ mapView: MKMapView, didSelect annotation: MKAnnotation) {
| `- error: cannot override 'mapView' which has been marked unavailable
49 | configuration.onSelection?(annotation)
50 | }
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h:293:1: note: 'mapView(_:didSelect:)' has been explicitly marked unavailable here
291 | - (void)mapView:(MKMapView *)mapView didDeselectAnnotationView:(MKAnnotationView *)view API_AVAILABLE(macos(10.9), ios(4.0), tvos(9.2)) API_UNAVAILABLE(watchos);
292 |
293 | - (void)mapView:(MKMapView *)mapView didSelectAnnotation:(id<MKAnnotation>)annotation API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos, watchos);
| `- note: 'mapView(_:didSelect:)' has been explicitly marked unavailable here
294 | - (void)mapView:(MKMapView *)mapView didDeselectAnnotation:(id<MKAnnotation>)annotation API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos, watchos);
295 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift:32:28: error: cannot find type 'UIColor' in scope
30 | }
31 |
32 | var mapAnnotationTint: UIColor {
| `- error: cannot find type 'UIColor' in scope
33 | get { self[MapAnnotationTintKey.self] }
34 | set { self[MapAnnotationTintKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:22:18: error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
20 | // MARK: Annotation
21 | @Environment(\.mapAnnotationVisibility) private var annotationVisibility
22 | @Environment(\.mapAnnotationTint) private var annotationTint
| `- error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
23 | @Environment(\.mapShowCallout) private var showCallout
24 | @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:22:6: error: generic parameter 'Value' could not be inferred
20 | // MARK: Annotation
21 | @Environment(\.mapAnnotationVisibility) private var annotationVisibility
22 | @Environment(\.mapAnnotationTint) private var annotationTint
| `- error: generic parameter 'Value' could not be inferred
23 | @Environment(\.mapShowCallout) private var showCallout
24 | @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:22:18: error: cannot infer key path type from context; consider explicitly specifying a root type
20 | // MARK: Annotation
21 | @Environment(\.mapAnnotationVisibility) private var annotationVisibility
22 | @Environment(\.mapAnnotationTint) private var annotationTint
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
23 | @Environment(\.mapShowCallout) private var showCallout
24 | @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:44:32: error: cannot find type 'UIGestureRecognizer' in scope
42 |
43 | private var onSelection: ((MKAnnotation) -> Void)?
44 | private var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
| `- error: cannot find type 'UIGestureRecognizer' in scope
45 | private var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
46 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:75:24: error: cannot find type 'UIGestureRecognizer' in scope
73 | annotations: Binding<[MapViewAnnotation]>,
74 | onSelection: ((MKAnnotation) -> Void)? = nil,
75 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)? = nil,
| `- error: cannot find type 'UIGestureRecognizer' in scope
76 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
77 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:108:24: error: cannot find type 'UIGestureRecognizer' in scope
106 | userTrackingMode: MKUserTrackingMode = .none,
107 | annotations: Binding<[MapViewAnnotation]>,
108 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?,
| `- error: cannot find type 'UIGestureRecognizer' in scope
109 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
110 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:152:37: error: cannot find type 'Context' in scope
150 | }
151 |
152 | public func makeUIView(context: Context) -> MKMapView {
| `- error: cannot find type 'Context' in scope
153 | let mapView = MKMapView()
154 | mapView.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:169:61: error: cannot find type 'Context' in scope
167 | }
168 |
169 | public func updateUIView(_ mapView: MKMapView, context: Context) {
| `- error: cannot find type 'Context' in scope
170 | mapView.removeOverlays(mapView.overlays)
171 | mapView.removeAnnotations(mapView.annotations)
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:226:59: error: cannot find type 'UILongPressGestureRecognizer' in scope
224 | }
225 |
226 | private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
| `- error: cannot find type 'UILongPressGestureRecognizer' in scope
227 | UILongPressGestureRecognizer(
228 | target: context.coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:226:47: error: cannot find type 'Context' in scope
224 | }
225 |
226 | private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
| `- error: cannot find type 'Context' in scope
227 | UILongPressGestureRecognizer(
228 | target: context.coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift:12:25: error: cannot find type 'UIViewRepresentable' in scope
10 |
11 | @available(iOS, deprecated: 16, renamed: "MapView")
12 | public struct LMapView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
13 | public typealias UIViewType = MKMapView
14 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:22:18: error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
20 | // MARK: Annotation
21 | @Environment(\.mapAnnotationVisibility) private var annotationVisibility
22 | @Environment(\.mapAnnotationTint) private var annotationTint
| `- error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
23 | @Environment(\.mapShowCallout) private var showCallout
24 | @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:22:6: error: generic parameter 'Value' could not be inferred
20 | // MARK: Annotation
21 | @Environment(\.mapAnnotationVisibility) private var annotationVisibility
22 | @Environment(\.mapAnnotationTint) private var annotationTint
| `- error: generic parameter 'Value' could not be inferred
23 | @Environment(\.mapShowCallout) private var showCallout
24 | @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:22:18: error: cannot infer key path type from context; consider explicitly specifying a root type
20 | // MARK: Annotation
21 | @Environment(\.mapAnnotationVisibility) private var annotationVisibility
22 | @Environment(\.mapAnnotationTint) private var annotationTint
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
23 | @Environment(\.mapShowCallout) private var showCallout
24 | @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift:71:32: error: cannot find type 'MKMapFeatureOptions' in scope
69 |
70 | @available(iOS 16.0, *)
71 | var mapSelectableFeatures: MKMapFeatureOptions {
| `- error: cannot find type 'MKMapFeatureOptions' in scope
72 | get { self[MapSelectableFeaturesKey.self] }
73 | set { self[MapSelectableFeaturesKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:30:18: error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
28 | @Environment(\.mapElevationStyle) private var elevationStyle
29 | @Environment(\.mapPOIFilter) private var poiFilter
30 | @Environment(\.mapSelectableFeatures) private var selectableFeatures
| `- error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
31 | // MARK: UserInteraction
32 | @Environment(\.mapInteractionZoom) private var zoomEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:30:6: error: generic parameter 'Value' could not be inferred
28 | @Environment(\.mapElevationStyle) private var elevationStyle
29 | @Environment(\.mapPOIFilter) private var poiFilter
30 | @Environment(\.mapSelectableFeatures) private var selectableFeatures
| `- error: generic parameter 'Value' could not be inferred
31 | // MARK: UserInteraction
32 | @Environment(\.mapInteractionZoom) private var zoomEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:30:18: error: cannot infer key path type from context; consider explicitly specifying a root type
28 | @Environment(\.mapElevationStyle) private var elevationStyle
29 | @Environment(\.mapPOIFilter) private var poiFilter
30 | @Environment(\.mapSelectableFeatures) private var selectableFeatures
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
31 | // MARK: UserInteraction
32 | @Environment(\.mapInteractionZoom) private var zoomEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:49:32: error: cannot find type 'UIGestureRecognizer' in scope
47 |
48 | private var onSelection: ((MKAnnotation) -> Void)?
49 | private var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
| `- error: cannot find type 'UIGestureRecognizer' in scope
50 | private var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
51 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:80:24: error: cannot find type 'UIGestureRecognizer' in scope
78 | annotations: Binding<[MapViewAnnotation]>,
79 | onSelection: ((MKAnnotation) -> Void)? = nil,
80 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)? = nil,
| `- error: cannot find type 'UIGestureRecognizer' in scope
81 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
82 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:113:24: error: cannot find type 'UIGestureRecognizer' in scope
111 | userTrackingMode: MKUserTrackingMode = .none,
112 | annotations: Binding<[MapViewAnnotation]>,
113 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?,
| `- error: cannot find type 'UIGestureRecognizer' in scope
114 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
115 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:159:37: error: cannot find type 'Context' in scope
157 | // MARK: - UIViewRepresentable
158 |
159 | public func makeUIView(context: Context) -> MKMapView {
| `- error: cannot find type 'Context' in scope
160 | let mapView = MKMapView()
161 | mapView.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:176:61: error: cannot find type 'Context' in scope
174 | }
175 |
176 | public func updateUIView(_ mapView: MKMapView, context: Context) {
| `- error: cannot find type 'Context' in scope
177 | mapView.removeOverlays(mapView.overlays)
178 | mapView.removeAnnotations(mapView.annotations)
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:222:46: error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 16.0, *)
12 | public struct MapView: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing struct
13 | public typealias UIViewType = MKMapView
14 |
:
220 | // MARK: - Methods
221 |
222 | private func preferredConfiguration() -> MKMapConfiguration {
| | `- error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
| `- note: add '@available' attribute to enclosing instance method
223 | let preferredConfig: MKMapConfiguration
224 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:242:59: error: cannot find type 'UILongPressGestureRecognizer' in scope
240 | }
241 |
242 | private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
| `- error: cannot find type 'UILongPressGestureRecognizer' in scope
243 | UILongPressGestureRecognizer(
244 | target: context.coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:242:47: error: cannot find type 'Context' in scope
240 | }
241 |
242 | private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
| `- error: cannot find type 'Context' in scope
243 | UILongPressGestureRecognizer(
244 | target: context.coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:12:24: error: cannot find type 'UIViewRepresentable' in scope
10 |
11 | @available(iOS 16.0, *)
12 | public struct MapView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
13 | public typealias UIViewType = MKMapView
14 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewAnnotation.swift:48:15: error: cannot find type 'UIColor' in scope
46 | subtitle: String? = nil,
47 | systemImage: String? = nil,
48 | tint: UIColor? = nil,
| `- error: cannot find type 'UIColor' in scope
49 | displayPriotity: MKFeatureDisplayPriority = .required
50 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewAnnotation.swift:27:22: error: cannot find type 'UIColor' in scope
25 |
26 | /// The color which will be used to tint the annotation marker.
27 | public var tint: UIColor?
| `- error: cannot find type 'UIColor' in scope
28 |
29 | /// The display priority of the annotation view.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:28:31: error: cannot find 'UIColor' in scope
26 |
27 | struct MapAnnotationTintKey: EnvironmentKey {
28 | static let defaultValue = UIColor.systemRed
| `- error: cannot find 'UIColor' in scope
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:27:8: error: type 'MapAnnotationTintKey' does not conform to protocol 'EnvironmentKey'
25 | }
26 |
27 | struct MapAnnotationTintKey: EnvironmentKey {
| |- error: type 'MapAnnotationTintKey' does not conform to protocol 'EnvironmentKey'
| `- note: add stubs for conformance
28 | static let defaultValue = UIColor.systemRed
29 | }
SwiftUI.EnvironmentKey.Value:2:16: note: protocol requires nested type 'Value'
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: protocol requires nested type 'Value'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:51:31: error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
48 |
49 | @available(iOS 16.0, *)
50 | struct MapElevationStyleKey: EnvironmentKey {
| `- note: add '@available' attribute to enclosing struct
51 | static let defaultValue = MKMapConfiguration.ElevationStyle.flat
| | `- error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
| `- note: add '@available' attribute to enclosing static property
52 | }
53 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:60:30: error: cannot find type 'MKMapFeatureOptions' in scope
58 | @available(iOS 16.0, *)
59 | struct MapSelectableFeaturesKey: EnvironmentKey {
60 | static let defaultValue: MKMapFeatureOptions = []
| `- error: cannot find type 'MKMapFeatureOptions' in scope
61 | }
62 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift:59:8: error: type 'MapSelectableFeaturesKey' does not conform to protocol 'EnvironmentKey'
57 |
58 | @available(iOS 16.0, *)
59 | struct MapSelectableFeaturesKey: EnvironmentKey {
| |- error: type 'MapSelectableFeaturesKey' does not conform to protocol 'EnvironmentKey'
| `- note: add stubs for conformance
60 | static let defaultValue: MKMapFeatureOptions = []
61 | }
SwiftUI.EnvironmentKey.Value:2:16: note: protocol requires nested type 'Value'
1 | protocol EnvironmentKey {
2 | associatedtype Value}
| `- note: protocol requires nested type 'Value'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift:60:28: error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
9 | import SwiftUI
10 |
11 | extension EnvironmentValues {
| `- note: add '@available' attribute to enclosing extension
12 |
13 | // MARK: Route
:
58 |
59 | @available(iOS 16.0, *)
60 | var mapElevationStyle: MKMapConfiguration.ElevationStyle {
| | `- error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
| `- note: add '@available' attribute to enclosing property
61 | get { self[MapElevationStyleKey.self] }
62 | set { self[MapElevationStyleKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/DashedMapRouteStyle.swift:12:22: error: cannot find type 'UIColor' in scope
10 | /// A ``MapRouteStyle`` defining a dashed line with the given width and tint color.
11 | public struct DashedMapRouteStyle: MapRouteStyle {
12 | public var tint: UIColor
| `- error: cannot find type 'UIColor' in scope
13 |
14 | public var lineWidth: Double
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/SolidMapRouteStyle.swift:12:22: error: cannot find type 'UIColor' in scope
10 | /// A ``MapRouteStyle`` defining a solid line with the given width and tint color.
11 | public struct SolidMapRouteStyle: MapRouteStyle {
12 | public var tint: UIColor
| `- error: cannot find type 'UIColor' in scope
13 |
14 | public var lineWidth: Double
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/View+MapModifiers.swift:81:29: error: cannot find type 'MKMapFeatureOptions' in scope
79 | elevationStyle: MKMapConfiguration.ElevationStyle = .flat,
80 | poiFilter: MKPointOfInterestFilter = .includingAll,
81 | selectableFeatures: MKMapFeatureOptions = []
| `- error: cannot find type 'MKMapFeatureOptions' in scope
82 | ) -> some View {
83 | self
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/View+MapModifiers.swift:79:25: error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
9 | import SwiftUI
10 |
11 | public extension View {
| `- note: add '@available' attribute to enclosing extension
12 |
13 | /// Setup options for displaying a route between annotations.
:
75 | /// the map responds to.
76 | @available(iOS 16.0, *)
77 | func mapConfiguration(
| `- note: add '@available' attribute to enclosing instance method
78 | _ configuration: MapViewConfiguration,
79 | elevationStyle: MKMapConfiguration.ElevationStyle = .flat,
| `- error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
80 | poiFilter: MKPointOfInterestFilter = .includingAll,
81 | selectableFeatures: MKMapFeatureOptions = []
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView+Compatibility.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewAnnotation.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentKeys.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/DashedMapRouteStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/MapRouteStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/SolidMapRouteStyle.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapViewConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapViewVisibility.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/View+MapModifiers.swift -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -swift-module-cross-import MapKit /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MapKit.framework/Modules/MapKit.swiftcrossimport/SwiftUI.swiftoverlay -swift-module-cross-import MapKit /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/MapKit.framework/Modules/MapKit.swiftcrossimport/SwiftUI.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name LPMapView -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/LPMapView.build/Debug/LPMapView-t.build/Objects-normal/arm64/LPMapView.abi.json
SwiftCompile normal arm64 (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ MapView.swift,\ MapViewAnnotation.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewAnnotation.swift (in target 'LPMapView' from project 'LPMapView')
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift:32:28: error: cannot find type 'UIColor' in scope
30 | }
31 |
32 | var mapAnnotationTint: UIColor {
| `- error: cannot find type 'UIColor' in scope
33 | get { self[MapAnnotationTintKey.self] }
34 | set { self[MapAnnotationTintKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:22:6: error: generic parameter 'Value' could not be inferred
20 | // MARK: Annotation
21 | @Environment(\.mapAnnotationVisibility) private var annotationVisibility
22 | @Environment(\.mapAnnotationTint) private var annotationTint
| `- error: generic parameter 'Value' could not be inferred
23 | @Environment(\.mapShowCallout) private var showCallout
24 | @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:22:18: error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
20 | // MARK: Annotation
21 | @Environment(\.mapAnnotationVisibility) private var annotationVisibility
22 | @Environment(\.mapAnnotationTint) private var annotationTint
| `- error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
23 | @Environment(\.mapShowCallout) private var showCallout
24 | @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:22:18: error: cannot infer key path type from context; consider explicitly specifying a root type
20 | // MARK: Annotation
21 | @Environment(\.mapAnnotationVisibility) private var annotationVisibility
22 | @Environment(\.mapAnnotationTint) private var annotationTint
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
23 | @Environment(\.mapShowCallout) private var showCallout
24 | @Environment(\.mapFitAnnotations) private var fitAnnotations
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift:71:32: error: cannot find type 'MKMapFeatureOptions' in scope
69 |
70 | @available(iOS 16.0, *)
71 | var mapSelectableFeatures: MKMapFeatureOptions {
| `- error: cannot find type 'MKMapFeatureOptions' in scope
72 | get { self[MapSelectableFeaturesKey.self] }
73 | set { self[MapSelectableFeaturesKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:30:18: error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
28 | @Environment(\.mapElevationStyle) private var elevationStyle
29 | @Environment(\.mapPOIFilter) private var poiFilter
30 | @Environment(\.mapSelectableFeatures) private var selectableFeatures
| `- error: cannot convert value of type 'KeyPath<Root, Value>' to expected argument type 'Value.Type'
31 | // MARK: UserInteraction
32 | @Environment(\.mapInteractionZoom) private var zoomEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:30:6: error: generic parameter 'Value' could not be inferred
28 | @Environment(\.mapElevationStyle) private var elevationStyle
29 | @Environment(\.mapPOIFilter) private var poiFilter
30 | @Environment(\.mapSelectableFeatures) private var selectableFeatures
| `- error: generic parameter 'Value' could not be inferred
31 | // MARK: UserInteraction
32 | @Environment(\.mapInteractionZoom) private var zoomEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:30:18: error: cannot infer key path type from context; consider explicitly specifying a root type
28 | @Environment(\.mapElevationStyle) private var elevationStyle
29 | @Environment(\.mapPOIFilter) private var poiFilter
30 | @Environment(\.mapSelectableFeatures) private var selectableFeatures
| `- error: cannot infer key path type from context; consider explicitly specifying a root type
31 | // MARK: UserInteraction
32 | @Environment(\.mapInteractionZoom) private var zoomEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:49:32: error: cannot find type 'UIGestureRecognizer' in scope
47 |
48 | private var onSelection: ((MKAnnotation) -> Void)?
49 | private var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
| `- error: cannot find type 'UIGestureRecognizer' in scope
50 | private var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
51 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:80:24: error: cannot find type 'UIGestureRecognizer' in scope
78 | annotations: Binding<[MapViewAnnotation]>,
79 | onSelection: ((MKAnnotation) -> Void)? = nil,
80 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)? = nil,
| `- error: cannot find type 'UIGestureRecognizer' in scope
81 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
82 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:113:24: error: cannot find type 'UIGestureRecognizer' in scope
111 | userTrackingMode: MKUserTrackingMode = .none,
112 | annotations: Binding<[MapViewAnnotation]>,
113 | onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?,
| `- error: cannot find type 'UIGestureRecognizer' in scope
114 | userLocationChanged: ((MKUserLocation?, Error?) -> Void)? = nil
115 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:159:37: error: cannot find type 'Context' in scope
157 | // MARK: - UIViewRepresentable
158 |
159 | public func makeUIView(context: Context) -> MKMapView {
| `- error: cannot find type 'Context' in scope
160 | let mapView = MKMapView()
161 | mapView.delegate = context.coordinator
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:176:61: error: cannot find type 'Context' in scope
174 | }
175 |
176 | public func updateUIView(_ mapView: MKMapView, context: Context) {
| `- error: cannot find type 'Context' in scope
177 | mapView.removeOverlays(mapView.overlays)
178 | mapView.removeAnnotations(mapView.annotations)
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:222:46: error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 16.0, *)
12 | public struct MapView: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing struct
13 | public typealias UIViewType = MKMapView
14 |
:
220 | // MARK: - Methods
221 |
222 | private func preferredConfiguration() -> MKMapConfiguration {
| | `- error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
| `- note: add '@available' attribute to enclosing instance method
223 | let preferredConfig: MKMapConfiguration
224 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:242:59: error: cannot find type 'UILongPressGestureRecognizer' in scope
240 | }
241 |
242 | private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
| `- error: cannot find type 'UILongPressGestureRecognizer' in scope
243 | UILongPressGestureRecognizer(
244 | target: context.coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:242:47: error: cannot find type 'Context' in scope
240 | }
241 |
242 | private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
| `- error: cannot find type 'Context' in scope
243 | UILongPressGestureRecognizer(
244 | target: context.coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:12:24: error: cannot find type 'UIViewRepresentable' in scope
10 |
11 | @available(iOS 16.0, *)
12 | public struct MapView: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
13 | public typealias UIViewType = MKMapView
14 |
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:165:17: error: value of type 'MKMapView' has no member 'selectableMapFeatures'
163 | mapView.showsUserLocation = showsUserLocation
164 | mapView.userTrackingMode = userTrackingMode
165 | mapView.selectableMapFeatures = selectableFeatures
| `- error: value of type 'MKMapView' has no member 'selectableMapFeatures'
166 | mapView.isZoomEnabled = zoomEnabled
167 | mapView.isScrollEnabled = scrollEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:171:17: error: 'preferredConfiguration' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 16.0, *)
12 | public struct MapView: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing struct
13 | public typealias UIViewType = MKMapView
14 |
:
157 | // MARK: - UIViewRepresentable
158 |
159 | public func makeUIView(context: Context) -> MKMapView {
| `- note: add '@available' attribute to enclosing instance method
160 | let mapView = MKMapView()
161 | mapView.delegate = context.coordinator
:
169 | mapView.isRotateEnabled = rotateEnabled
170 |
171 | mapView.preferredConfiguration = preferredConfiguration()
| |- error: 'preferredConfiguration' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
172 | mapView.addGestureRecognizer(longPressGesture(in: context))
173 | return mapView
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:182:17: error: value of type 'MKMapView' has no member 'selectableMapFeatures'
180 | mapView.showsUserLocation = showsUserLocation
181 | mapView.userTrackingMode = userTrackingMode
182 | mapView.selectableMapFeatures = selectableFeatures
| `- error: value of type 'MKMapView' has no member 'selectableMapFeatures'
183 | mapView.isZoomEnabled = zoomEnabled
184 | mapView.isScrollEnabled = scrollEnabled
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:187:17: error: 'preferredConfiguration' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 16.0, *)
12 | public struct MapView: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing struct
13 | public typealias UIViewType = MKMapView
14 |
:
174 | }
175 |
176 | public func updateUIView(_ mapView: MKMapView, context: Context) {
| `- note: add '@available' attribute to enclosing instance method
177 | mapView.removeOverlays(mapView.overlays)
178 | mapView.removeAnnotations(mapView.annotations)
:
185 | mapView.isPitchEnabled = pitchEnabled
186 | mapView.isRotateEnabled = rotateEnabled
187 | mapView.preferredConfiguration = preferredConfiguration()
| |- error: 'preferredConfiguration' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
188 |
189 | if routeVisibility == .visible {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:14:29: error: cannot find type 'UIColor' in scope
12 |
13 | struct Configuration {
14 | var annotationTint: UIColor
| `- error: cannot find type 'UIColor' in scope
15 | var showCallout: Bool
16 | var routeStyle: MapRouteStyle
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapCoordinator.swift:18:28: error: cannot find type 'UIGestureRecognizer' in scope
16 | var routeStyle: MapRouteStyle
17 | var onSelection: ((MKAnnotation) -> Void)?
18 | var onLongPress: ((UIGestureRecognizer.State, CLLocationCoordinate2D) -> Void)?
| `- error: cannot find type 'UIGestureRecognizer' in scope
19 | var userLocationChanged: ((MKUserLocation?, Error?) -> Void)?
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:223:30: error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 16.0, *)
12 | public struct MapView: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing struct
13 | public typealias UIViewType = MKMapView
14 |
:
220 | // MARK: - Methods
221 |
222 | private func preferredConfiguration() -> MKMapConfiguration {
| `- note: add '@available' attribute to enclosing instance method
223 | let preferredConfig: MKMapConfiguration
| |- error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
224 |
225 | switch mapConfiguration {
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:227:26: error: 'MKStandardMapConfiguration' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 16.0, *)
12 | public struct MapView: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing struct
13 | public typealias UIViewType = MKMapView
14 |
:
220 | // MARK: - Methods
221 |
222 | private func preferredConfiguration() -> MKMapConfiguration {
| `- note: add '@available' attribute to enclosing instance method
223 | let preferredConfig: MKMapConfiguration
224 |
225 | switch mapConfiguration {
226 | case .standard:
227 | let config = MKStandardMapConfiguration(elevationStyle: elevationStyle)
| |- error: 'MKStandardMapConfiguration' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
228 | config.pointOfInterestFilter = poiFilter
229 | preferredConfig = config
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:231:26: error: 'MKHybridMapConfiguration' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 16.0, *)
12 | public struct MapView: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing struct
13 | public typealias UIViewType = MKMapView
14 |
:
220 | // MARK: - Methods
221 |
222 | private func preferredConfiguration() -> MKMapConfiguration {
| `- note: add '@available' attribute to enclosing instance method
223 | let preferredConfig: MKMapConfiguration
224 |
:
229 | preferredConfig = config
230 | case .hybrid:
231 | let config = MKHybridMapConfiguration(elevationStyle: elevationStyle)
| |- error: 'MKHybridMapConfiguration' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
232 | config.pointOfInterestFilter = poiFilter
233 | preferredConfig = config
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:235:26: error: 'MKImageryMapConfiguration' is only available in macOS 13.0 or newer
10 |
11 | @available(iOS 16.0, *)
12 | public struct MapView: UIViewRepresentable {
| `- note: add '@available' attribute to enclosing struct
13 | public typealias UIViewType = MKMapView
14 |
:
220 | // MARK: - Methods
221 |
222 | private func preferredConfiguration() -> MKMapConfiguration {
| `- note: add '@available' attribute to enclosing instance method
223 | let preferredConfig: MKMapConfiguration
224 |
:
233 | preferredConfig = config
234 | case .satellite:
235 | let config = MKImageryMapConfiguration(elevationStyle: elevationStyle)
| |- error: 'MKImageryMapConfiguration' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
236 | preferredConfig = config
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:243:9: error: cannot find 'UILongPressGestureRecognizer' in scope
241 |
242 | private func longPressGesture(in context: Context) -> UILongPressGestureRecognizer {
243 | UILongPressGestureRecognizer(
| `- error: cannot find 'UILongPressGestureRecognizer' in scope
244 | target: context.coordinator,
245 | action: #selector(Coordinator.action(sender:))
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift:245:31: error: cannot find 'Coordinator' in scope
243 | UILongPressGestureRecognizer(
244 | target: context.coordinator,
245 | action: #selector(Coordinator.action(sender:))
| `- error: cannot find 'Coordinator' in scope
246 | )
247 | }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewAnnotation.swift:48:15: error: cannot find type 'UIColor' in scope
46 | subtitle: String? = nil,
47 | systemImage: String? = nil,
48 | tint: UIColor? = nil,
| `- error: cannot find type 'UIColor' in scope
49 | displayPriotity: MKFeatureDisplayPriority = .required
50 | ) {
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapView.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapView.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewAnnotation.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MapViewAnnotation.swift
SwiftCompile normal arm64 Compiling\ View+MapModifiers.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/View+MapModifiers.swift (in target 'LPMapView' from project 'LPMapView')
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/MapRouteStyle/MapRouteStyle.swift:13:15: error: cannot find type 'UIColor' in scope
11 | public protocol MapRouteStyle {
12 | /// The line's tint color.
13 | var tint: UIColor { get set }
| `- error: cannot find type 'UIColor' in scope
14 |
15 | /// The line's width in points.
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/View+MapModifiers.swift:81:29: error: cannot find type 'MKMapFeatureOptions' in scope
79 | elevationStyle: MKMapConfiguration.ElevationStyle = .flat,
80 | poiFilter: MKPointOfInterestFilter = .includingAll,
81 | selectableFeatures: MKMapFeatureOptions = []
| `- error: cannot find type 'MKMapFeatureOptions' in scope
82 | ) -> some View {
83 | self
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/View+MapModifiers.swift:79:25: error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
9 | import SwiftUI
10 |
11 | public extension View {
| `- note: add '@available' attribute to enclosing extension
12 |
13 | /// Setup options for displaying a route between annotations.
:
75 | /// the map responds to.
76 | @available(iOS 16.0, *)
77 | func mapConfiguration(
| `- note: add '@available' attribute to enclosing instance method
78 | _ configuration: MapViewConfiguration,
79 | elevationStyle: MKMapConfiguration.ElevationStyle = .flat,
| `- error: 'MKMapConfiguration' is only available in macOS 13.0 or newer
80 | poiFilter: MKPointOfInterestFilter = .includingAll,
81 | selectableFeatures: MKMapFeatureOptions = []
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/View+MapModifiers.swift:58:47: error: cannot find 'UIColor' in scope
56 | self
57 | .environment(\.mapAnnotationVisibility, visibility)
58 | .environment(\.mapAnnotationTint, UIColor(tint))
| `- error: cannot find 'UIColor' in scope
59 | .environment(\.mapShowCallout, calloutEnabled)
60 | .environment(\.mapFitAnnotations, fitInVisibleRect)
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift:32:28: error: cannot find type 'UIColor' in scope
30 | }
31 |
32 | var mapAnnotationTint: UIColor {
| `- error: cannot find type 'UIColor' in scope
33 | get { self[MapAnnotationTintKey.self] }
34 | set { self[MapAnnotationTintKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/View+MapModifiers.swift:58:26: error: cannot convert value of type 'KeyPath<EnvironmentValues, V>' to expected argument type 'WritableKeyPath<EnvironmentValues, V>'
56 | self
57 | .environment(\.mapAnnotationVisibility, visibility)
58 | .environment(\.mapAnnotationTint, UIColor(tint))
| `- error: cannot convert value of type 'KeyPath<EnvironmentValues, V>' to expected argument type 'WritableKeyPath<EnvironmentValues, V>'
59 | .environment(\.mapShowCallout, calloutEnabled)
60 | .environment(\.mapFitAnnotations, fitInVisibleRect)
/Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift:71:32: error: cannot find type 'MKMapFeatureOptions' in scope
69 |
70 | @available(iOS 16.0, *)
71 | var mapSelectableFeatures: MKMapFeatureOptions {
| `- error: cannot find type 'MKMapFeatureOptions' in scope
72 | get { self[MapSelectableFeaturesKey.self] }
73 | set { self[MapSelectableFeaturesKey.self] = newValue }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/View+MapModifiers.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile View+MapModifiers.swift
SwiftCompile normal arm64 Compiling\ EnvironmentValues.swift /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift (in target 'LPMapView' from project 'LPMapView')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/LPMapView/MapViewOptions/EnvironmentValues.swift (in target 'LPMapView' from project 'LPMapView')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile EnvironmentValues.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-18 18:22:59.845 xcodebuild[748:4643] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:0e6374b407ad4a05369f298cc09f533dfbe2a582, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:0e6374b407ad4a05369f298cc09f533dfbe2a582, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:0e6374b407ad4a05369f298cc09f533dfbe2a582, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0e6374b407ad4a05369f298cc09f533dfbe2a582, name:My Mac }
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ LPMapView (in target 'LPMapView' from project 'LPMapView')
SwiftCompile normal arm64 (in target 'LPMapView' from project 'LPMapView')
Building workspace LPMapView with scheme LPMapView
(3 failures)
BUILD FAILURE 6.4 macosXcodebuild