Build Information
Failed to build SwiftSVG, reference master (88b9ee), with Swift 6.4 for watchOS using Xcode 27.0 on 17 Sep 2026 16:16:57 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 SwiftSVG -destination generic/platform=watchOSBuild Log
"TestShapeElement.swift",
"UIColorExtensionsTests.swift",
"VerticalLineToTests.swift"
],
"target_dependencies" : [
"SwiftSVG"
],
"type" : "test"
},
{
"c99name" : "SwiftSVG",
"module_type" : "SwiftTarget",
"name" : "SwiftSVG",
"path" : "SwiftSVG",
"product_memberships" : [
"SwiftSVG"
],
"sources" : [
"CrossPlatform.swift",
"NSBezierPath+CrossPlatform.swift",
"SVG Extensions/CALayer+SVG.swift",
"SVG Extensions/CAShapeLayer+SVG.swift",
"SVG Extensions/SVGLayer.swift",
"SVG Extensions/SVGView.swift",
"SVG Extensions/UIBezierPath+SVG.swift",
"SVG Extensions/UIView+SVG.swift",
"SVG/Attributes/DelaysApplyingAttributes.swift",
"SVG/Attributes/Fillable.swift",
"SVG/Attributes/Identifiable.swift",
"SVG/Attributes/Strokable.swift",
"SVG/Attributes/Stylable.swift",
"SVG/Attributes/Transformable.swift",
"SVG/Cache/SVGCache.swift",
"SVG/Elements/ParsesAsynchronously.swift",
"SVG/Elements/SVGCircle.swift",
"SVG/Elements/SVGContainerElement.swift",
"SVG/Elements/SVGElement.swift",
"SVG/Elements/SVGEllipse.swift",
"SVG/Elements/SVGGroup.swift",
"SVG/Elements/SVGLine.swift",
"SVG/Elements/SVGPath.swift",
"SVG/Elements/SVGPolygon.swift",
"SVG/Elements/SVGPolyline.swift",
"SVG/Elements/SVGRectangle.swift",
"SVG/Elements/SVGRootElement.swift",
"SVG/Elements/SVGShapeElement.swift",
"SVG/Helpers/BinaryFloatingPoint+ParseLengthString.swift",
"SVG/Helpers/CALayer+Sublayers.swift",
"SVG/Helpers/Data+CacheKey.swift",
"SVG/Helpers/Dictionary+Add.swift",
"SVG/Helpers/Dictionary+JSON.swift",
"SVG/Helpers/DispatchQueue+Extensions.swift",
"SVG/Helpers/FloatingPoint+DegreesRadians.swift",
"SVG/Helpers/Print.swift",
"SVG/Helpers/Scalar+FromByteArray.swift",
"SVG/Helpers/Stack.swift",
"SVG/Helpers/String+Subscript.swift",
"SVG/Helpers/String+Trim.swift",
"SVG/Helpers/UIColor+Extensions.swift",
"SVG/Helpers/Unown.swift",
"SVG/Iterators/CoordinateLexer.swift",
"SVG/Iterators/PathCommand.swift",
"SVG/Iterators/PathDLexer.swift",
"SVG/Parser/NSXMLSVGParser.swift",
"SVG/Parser/SVGParser.swift",
"SVG/Parser/SVGParserSupportedElements.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
{
"workspace" : {
"name" : "SwiftSVG",
"schemes" : [
"SwiftSVG"
]
}
}
2026-09-17 12:16:54.985 xcodebuild[795:4927] [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 SwiftSVG -destination generic/platform=watchOS
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 SwiftSVG -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
SwiftSVG: /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 'SwiftSVG-product' in project 'SwiftSVG'
➜ Explicit dependency on target 'SwiftSVG' in project 'SwiftSVG'
Target 'SwiftSVG' in project 'SwiftSVG' (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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
SwiftDriver SwiftSVG normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'SwiftSVG' from project 'SwiftSVG')
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 SwiftSVG -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftSVG.build/Debug-watchos/SwiftSVG-t.build/Objects-normal/arm64_32/SwiftSVG.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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -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-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftSVG.build/Debug-watchos/SwiftSVG-t.build/Objects-normal/arm64_32/SwiftSVG-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/SwiftSVG.build/Debug-watchos/SwiftSVG-t.build/Objects-normal/arm64_32/SwiftSVG.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftSVG.build/Debug-watchos/SwiftSVG-t.build/Objects-normal/arm64_32/SwiftSVG-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/SwiftSVG.build/Debug-watchos/SwiftSVG-t.build/Objects-normal/arm64_32/SwiftSVG_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftSVG.build/Debug-watchos/SwiftSVG-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftSVG.build/Debug-watchos/SwiftSVG-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftSVG.build/Debug-watchos/SwiftSVG-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/SwiftSVG.build/Debug-watchos/SwiftSVG-t.build/Objects-normal/arm64_32/SwiftSVG-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver SwiftSVG normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftSVG' from project 'SwiftSVG')
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 SwiftSVG -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftSVG.build/Debug-watchos/SwiftSVG-t.build/Objects-normal/arm64/SwiftSVG.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/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -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-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftSVG.build/Debug-watchos/SwiftSVG-t.build/Objects-normal/arm64/SwiftSVG-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/SwiftSVG.build/Debug-watchos/SwiftSVG-t.build/Objects-normal/arm64/SwiftSVG.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftSVG.build/Debug-watchos/SwiftSVG-t.build/Objects-normal/arm64/SwiftSVG-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/SwiftSVG.build/Debug-watchos/SwiftSVG-t.build/Objects-normal/arm64/SwiftSVG_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftSVG.build/Debug-watchos/SwiftSVG-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftSVG.build/Debug-watchos/SwiftSVG-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftSVG.build/Debug-watchos/SwiftSVG-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/SwiftSVG.build/Debug-watchos/SwiftSVG-t.build/Objects-normal/arm64/SwiftSVG-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftSVG (in target 'SwiftSVG' from project 'SwiftSVG')
/Users/admin/builder/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:42:11: error: cannot find type 'UIView' in scope
40 | #endif
41 |
42 | extension UIView {
| `- error: cannot find type 'UIView' in scope
43 | var nonOptionalLayer:CALayer {
44 | #if os(iOS) || os(tvOS)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:45:18: error: cannot find type 'CALayer' in scope
43 | If you choose to use these initializers, it is assumed that you would like to exercise a higher level of control. As such, you must provide a completion block and then add the passed `SVGLayer` to the layer of your choosing. Use the UIView extensions if you prefer the easier to use one-liner initializers.
44 | */
45 | public extension CALayer {
| `- error: cannot find type 'CALayer' in scope
46 |
47 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CAShapeLayer+SVG.swift:39:18: error: cannot find type 'CAShapeLayer' in scope
37 |
38 |
39 | public extension CAShapeLayer {
| `- error: cannot find type 'CAShapeLayer' in scope
40 |
41 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:41:22: error: cannot find type 'CGRect' in scope
39 | */
40 | public protocol SVGLayerType {
41 | var boundingBox: CGRect { get }
| `- error: cannot find type 'CGRect' in scope
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:44:43: error: cannot find type 'CALayer' in scope
42 | }
43 |
44 | public extension SVGLayerType where Self: CALayer {
| `- error: cannot find type 'CALayer' in scope
45 |
46 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:52:30: error: cannot find type 'CGRect' in scope
50 | */
51 | @discardableResult
52 | func resizeToFit(_ rect: CGRect) -> Self {
| `- error: cannot find type 'CGRect' in scope
53 |
54 | let boundingBoxAspectRatio = self.boundingBox.width / self.boundingBox.height
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:78:22: error: cannot find type 'CAShapeLayer' in scope
76 | */
77 |
78 | open class SVGLayer: CAShapeLayer, SVGLayerType {
| `- error: cannot find type 'CAShapeLayer' in scope
79 |
80 | /// The minimum CGRect that fits all subpaths
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:81:30: error: cannot find 'CGRect' in scope
79 |
80 | /// The minimum CGRect that fits all subpaths
81 | public var boundingBox = CGRect.null
| `- error: cannot find 'CGRect' in scope
82 | }
83 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:102:34: error: cannot find type 'CGColor' in scope
100 |
101 | /// Applies the given fill color to all sublayers
102 | override open var fillColor: CGColor? {
| `- error: cannot find type 'CGColor' in scope
103 | didSet {
104 | self.applyOnSublayers(ofType: CAShapeLayer.self) { (thisShapeLayer) in
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:102:14: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
100 |
101 | /// Applies the given fill color to all sublayers
102 | override open var fillColor: CGColor? {
| `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
103 | didSet {
104 | self.applyOnSublayers(ofType: CAShapeLayer.self) { (thisShapeLayer) in
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:104:43: error: cannot find 'CAShapeLayer' in scope
102 | override open var fillColor: CGColor? {
103 | didSet {
104 | self.applyOnSublayers(ofType: CAShapeLayer.self) { (thisShapeLayer) in
| `- error: cannot find 'CAShapeLayer' in scope
105 | thisShapeLayer.fillColor = fillColor
106 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:104:18: error: value of type 'SVGLayer' has no member 'applyOnSublayers'
102 | override open var fillColor: CGColor? {
103 | didSet {
104 | self.applyOnSublayers(ofType: CAShapeLayer.self) { (thisShapeLayer) in
| `- error: value of type 'SVGLayer' has no member 'applyOnSublayers'
105 | thisShapeLayer.fillColor = fillColor
106 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:116:34: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
114 |
115 | /// Applies the given line width to all `CAShapeLayer`s
116 | override open var lineWidth: CGFloat {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
117 | didSet {
118 | self.applyOnSublayers(ofType: CAShapeLayer.self) { (thisShapeLayer) in
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:116:14: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
114 |
115 | /// Applies the given line width to all `CAShapeLayer`s
116 | override open var lineWidth: CGFloat {
| `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
117 | didSet {
118 | self.applyOnSublayers(ofType: CAShapeLayer.self) { (thisShapeLayer) in
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:116:23: error: property does not override any property from its superclass
114 |
115 | /// Applies the given line width to all `CAShapeLayer`s
116 | override open var lineWidth: CGFloat {
| `- error: property does not override any property from its superclass
117 | didSet {
118 | self.applyOnSublayers(ofType: CAShapeLayer.self) { (thisShapeLayer) in
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:118:43: error: cannot find 'CAShapeLayer' in scope
116 | override open var lineWidth: CGFloat {
117 | didSet {
118 | self.applyOnSublayers(ofType: CAShapeLayer.self) { (thisShapeLayer) in
| `- error: cannot find 'CAShapeLayer' in scope
119 | thisShapeLayer.lineWidth = lineWidth
120 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:118:18: error: value of type 'SVGLayer' has no member 'applyOnSublayers'
116 | override open var lineWidth: CGFloat {
117 | didSet {
118 | self.applyOnSublayers(ofType: CAShapeLayer.self) { (thisShapeLayer) in
| `- error: value of type 'SVGLayer' has no member 'applyOnSublayers'
119 | thisShapeLayer.lineWidth = lineWidth
120 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:116:23: warning: cannot use struct 'CGFloat' in a property declaration marked public or in a '@frozen' or '@usableFromInline' context; 'CoreFoundation' was not imported by this file
114 |
115 | /// Applies the given line width to all `CAShapeLayer`s
116 | override open var lineWidth: CGFloat {
| `- warning: cannot use struct 'CGFloat' in a property declaration marked public or in a '@frozen' or '@usableFromInline' context; 'CoreFoundation' was not imported by this file
117 | didSet {
118 | self.applyOnSublayers(ofType: CAShapeLayer.self) { (thisShapeLayer) in
CoreFoundation.CGFloat:2:23: note: struct declared here
1 | @available(macOS 10.0, macCatalyst 13.0, iOS 2.0, watchOS 1.0, tvOS 9.0, *)
2 | @frozen public struct CGFloat : Sendable {
| `- note: struct declared here
3 | public typealias NativeType = Float
4 | public init()
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:125:36: error: cannot find type 'CGColor' in scope
123 |
124 | /// Applies the given stroke color to all `CAShapeLayer`s
125 | override open var strokeColor: CGColor? {
| `- error: cannot find type 'CGColor' in scope
126 | didSet {
127 | self.applyOnSublayers(ofType: CAShapeLayer.self) { (thisShapeLayer) in
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:125:14: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
123 |
124 | /// Applies the given stroke color to all `CAShapeLayer`s
125 | override open var strokeColor: CGColor? {
| `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
126 | didSet {
127 | self.applyOnSublayers(ofType: CAShapeLayer.self) { (thisShapeLayer) in
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:127:43: error: cannot find 'CAShapeLayer' in scope
125 | override open var strokeColor: CGColor? {
126 | didSet {
127 | self.applyOnSublayers(ofType: CAShapeLayer.self) { (thisShapeLayer) in
| `- error: cannot find 'CAShapeLayer' in scope
128 | thisShapeLayer.strokeColor = strokeColor
129 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:127:18: error: value of type 'SVGLayer' has no member 'applyOnSublayers'
125 | override open var strokeColor: CGColor? {
126 | didSet {
127 | self.applyOnSublayers(ofType: CAShapeLayer.self) { (thisShapeLayer) in
| `- error: value of type 'SVGLayer' has no member 'applyOnSublayers'
128 | thisShapeLayer.strokeColor = strokeColor
129 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGView.swift:52:22: error: cannot find type 'UIView' in scope
50 | A `UIView` subclass that can be used in Interface Builder where you can set the @IBInspectable propert `SVGName` in the side panel. Use the UIView extensions if you want to creates SVG views programmatically.
51 | */
52 | open class SVGView : UIView {
| `- error: cannot find type 'UIView' in scope
53 |
54 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGView.swift:67:30: error: cannot find 'Bundle' in scope
65 | let bundle = Bundle(for: type(of: self))
66 | #else
67 | let bundle = Bundle.main
| `- error: cannot find 'Bundle' in scope
68 | #endif
69 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGView.swift:71:17: error: cannot find 'CALayer' in scope
69 |
70 | if let url = bundle.url(forResource: thisName, withExtension: "svg") {
71 | CALayer(svgURL: url) { [weak self] (svgLayer) in
| `- error: cannot find 'CALayer' in scope
72 | self?.nonOptionalLayer.addSublayer(svgLayer)
73 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGView.swift:84:28: error: cannot find 'asset' in scope
82 | }
83 | #endif
84 | let data = asset.data
| `- error: cannot find 'asset' in scope
85 | CALayer(svgData: data) { [weak self] (svgLayer) in
86 | self?.nonOptionalLayer.addSublayer(svgLayer)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGView.swift:85:17: error: cannot find 'CALayer' in scope
83 | #endif
84 | let data = asset.data
85 | CALayer(svgData: data) { [weak self] (svgLayer) in
| `- error: cannot find 'CALayer' in scope
86 | self?.nonOptionalLayer.addSublayer(svgLayer)
87 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/UIBezierPath+SVG.swift:41:18: error: cannot find type 'UIBezierPath' in scope
39 | */
40 |
41 | public extension UIBezierPath {
| `- error: cannot find type 'UIBezierPath' in scope
42 |
43 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/UIView+SVG.swift:42:18: error: cannot find type 'UIView' in scope
40 | A set of convenience initializers that create new `UIView` instances from SVG data
41 | */
42 | public extension UIView {
| `- error: cannot find type 'UIView' in scope
43 |
44 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:44:26: error: cannot find type 'CGAffineTransform' in scope
42 | struct Transform {
43 |
44 | let affineTransform: CGAffineTransform
| `- error: cannot find type 'CGAffineTransform' in scope
45 |
46 | init?(rawValue: String, coordinatesString: String) {
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:129:27: error: cannot find type 'CALayer' in scope
127 | */
128 | public protocol Transformable {
129 | var layerToTransform: CALayer { get }
| `- error: cannot find type 'CALayer' in scope
130 | }
131 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:137:27: error: cannot find type 'CALayer' in scope
135 | Default implementation for a `SVGContainerElement` that transforms the `containerLayer`
136 | */
137 | var layerToTransform: CALayer {
| `- error: cannot find type 'CALayer' in scope
138 | return self.containerLayer
139 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:147:27: error: cannot find type 'CALayer' in scope
145 | Default implementation for a `SVGShapeElement` that transforms the `svgLayer`
146 | */
147 | var layerToTransform: CALayer {
| `- error: cannot find type 'CALayer' in scope
148 | return self.svgLayer
149 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Cache/SVGCache.swift:45:30: error: cannot find 'NSCache' in scope
43 |
44 | /// :nodoc:
45 | public let memoryCache = NSCache<NSString, SVGLayer>()
| `- error: cannot find 'NSCache' in scope
46 |
47 | /// Subscript to get or set the `SVGLayer` in this cache
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Cache/SVGCache.swift:45:38: error: cannot find type 'NSString' in scope
43 |
44 | /// :nodoc:
45 | public let memoryCache = NSCache<NSString, SVGLayer>()
| |`- error: cannot find type 'NSString' in scope
| `- note: while parsing this '<' as a type parameter bracket
46 |
47 | /// Subscript to get or set the `SVGLayer` in this cache
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/ParsesAsynchronously.swift:46:43: error: cannot find type 'CAShapeLayer' in scope
44 | - Parameter shapeLayer: The completed layer
45 | */
46 | func finishedProcessing(_ shapeLayer: CAShapeLayer)
| `- error: cannot find type 'CAShapeLayer' in scope
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGCircle.swift:50:33: error: cannot find 'CGPoint' in scope
48 | The circle's center point. Defaults to `CGRect.zero`
49 | */
50 | internal var circleCenter = CGPoint.zero
| `- error: cannot find 'CGPoint' in scope
51 |
52 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGCircle.swift:55:32: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
53 | The circle's radius. Defaults to `0`
54 | */
55 | internal var circleRadius: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
56 |
57 | /// :nodoc:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGCircle.swift:58:29: error: cannot find 'CAShapeLayer' in scope
56 |
57 | /// :nodoc:
58 | internal var svgLayer = CAShapeLayer()
| `- error: cannot find 'CAShapeLayer' in scope
59 |
60 | /// :nodoc:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGContainerElement.swift:47:25: error: cannot find type 'CALayer' in scope
45 | The layer that stores all the SVG sublayers
46 | */
47 | var containerLayer: CALayer { get set }
| `- error: cannot find type 'CALayer' in scope
48 | }
49 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGShapeElement.swift:46:19: error: cannot find type 'CAShapeLayer' in scope
44 | The `CAShapeLayer` that can draw the path data.
45 | */
46 | var svgLayer: CAShapeLayer { get set }
| `- error: cannot find type 'CAShapeLayer' in scope
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGEllipse.swift:48:34: error: cannot find 'CGPoint' in scope
46 | The ellipse's center point. Defaults to `CGRect.zero`
47 | */
48 | internal var ellipseCenter = CGPoint.zero
| `- error: cannot find 'CGPoint' in scope
49 |
50 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGEllipse.swift:53:27: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
51 | The ellipse's x radius. Defaults to `CGRect.zero`
52 | */
53 | internal var xRadius: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
54 |
55 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGEllipse.swift:58:27: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
56 | The ellipse's x radius. Defaults to `CGRect.zero`
57 | */
58 | internal var yRadius: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
59 |
60 | /// :nodoc:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGEllipse.swift:61:29: error: cannot find 'CAShapeLayer' in scope
59 |
60 | /// :nodoc:
61 | internal var svgLayer = CAShapeLayer()
| `- error: cannot find 'CAShapeLayer' in scope
62 |
63 | /// :nodoc:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:44:78: error: cannot find type 'CAShapeLayer' in scope
42 |
43 | /// :nodoc:
44 | fileprivate static let groupAttributes: [String : (SVGGroup) -> (String, CAShapeLayer) -> ()] = [
| `- error: cannot find type 'CAShapeLayer' in scope
45 | "fill": SVGGroup.fillGroup,
46 | "fill-rule": SVGGroup.fillRuleGroup,
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:103:51: error: cannot find type 'CAShapeLayer' in scope
101 | Function that applies the fill color on all of this group's subelements
102 | */
103 | func fillGroup(_ fillColor: String, on layer: CAShapeLayer) {
| `- error: cannot find type 'CAShapeLayer' in scope
104 | guard let fillColor = UIColor(svgString: fillColor) else {
105 | return
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:113:54: error: cannot find type 'CAShapeLayer' in scope
111 | Function that applies the fill rule on all of this group's subelements
112 | */
113 | func fillRuleGroup(_ fillRule: String, on layer: CAShapeLayer) {
| `- error: cannot find type 'CAShapeLayer' in scope
114 | guard fillRule == "evenodd" else {
115 | return
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:123:56: error: cannot find type 'CAShapeLayer' in scope
121 | Function that applies the fill opacity on all of this group's subelements
122 | */
123 | func fillOpacityGroup(_ opacity: String, on layer: CAShapeLayer) {
| `- error: cannot find type 'CAShapeLayer' in scope
124 | guard let opacity = Float(opacity) else {
125 | return
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:144:58: error: cannot find type 'CAShapeLayer' in scope
142 | Function that applies the stroke color on all of this group's subelements
143 | */
144 | func strokeColorGroup(strokeColor: String, on layer: CAShapeLayer) {
| `- error: cannot find type 'CAShapeLayer' in scope
145 | guard let strokeColor = UIColor(svgString: strokeColor) else {
146 | return
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:137:56: error: cannot find type 'CAShapeLayer' in scope
135 | Function that applies the stroke line cap on all of this group's subelements
136 | */
137 | func strokeLineCapGroup(lineCap: String, on layer: CAShapeLayer) {
| `- error: cannot find type 'CAShapeLayer' in scope
138 | layer.lineCap = CAShapeLayerLineCap(rawValue: lineCap)
139 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:154:58: error: cannot find type 'CAShapeLayer' in scope
152 | Function that applies the stroke line join on all of this group's subelements
153 | */
154 | func strokeLineJoinGroup(lineJoin: String, on layer: CAShapeLayer) {
| `- error: cannot find type 'CAShapeLayer' in scope
155 | layer.lineJoin = CAShapeLayerLineJoin(rawValue: lineJoin)
156 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:161:62: error: cannot find type 'CAShapeLayer' in scope
159 | Function that applies the miter limit on all of this group's subelements
160 | */
161 | func strokeMiterLimitGroup(miterLimit: String, on layer: CAShapeLayer) {
| `- error: cannot find type 'CAShapeLayer' in scope
162 | guard let miterLimit = CGFloat(miterLimit) else {
163 | return
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:171:58: error: cannot find type 'CAShapeLayer' in scope
169 | Function that applies the streoke width on all of this group's subelements
170 | */
171 | func strokeWidthGroup(strokeWidth: String, on layer: CAShapeLayer) {
| `- error: cannot find type 'CAShapeLayer' in scope
172 | guard let strokeWidth = CGFloat(strokeWidth) else {
173 | return
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:62:35: error: cannot find 'CALayer' in scope
60 |
61 | /// A `CALayer` that will hold all sublayers of the `SVGGroup`
62 | internal var containerLayer = CALayer()
| `- error: cannot find 'CALayer' in scope
63 |
64 | /// :nodoc:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:90:83: error: cannot find type 'CAShapeLayer' in scope
88 | Function that will apply the String attribute and value on the passed sublayer
89 | */
90 | fileprivate func applyAttribute(_ attribute: String, value: String, on layer: CAShapeLayer) {
| `- error: cannot find type 'CAShapeLayer' in scope
91 | if let thisMethod = SVGGroup.groupAttributes[attribute] {
92 | thisMethod(self)(value, layer)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGLine.swift:50:24: error: cannot find 'CGPoint' in scope
48 | The line's end point. Defaults to `CGPoint.zero`
49 | */
50 | internal var end = CGPoint.zero
| `- error: cannot find 'CGPoint' in scope
51 |
52 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGLine.swift:55:26: error: cannot find 'CGPoint' in scope
53 | The line's end point. Defaults to `CGPoint.zero`
54 | */
55 | internal var start = CGPoint.zero
| `- error: cannot find 'CGPoint' in scope
56 |
57 | /// :nodoc:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGLine.swift:58:29: error: cannot find 'CAShapeLayer' in scope
56 |
57 | /// :nodoc:
58 | internal var svgLayer = CAShapeLayer()
| `- error: cannot find 'CAShapeLayer' in scope
59 |
60 | /// :nodoc:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPath.swift:62:29: error: cannot find 'CAShapeLayer' in scope
60 |
61 | /// :nodoc:
62 | internal var svgLayer = CAShapeLayer()
| `- error: cannot find 'CAShapeLayer' in scope
63 |
64 | /// :nodoc:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPolygon.swift:50:29: error: cannot find 'CAShapeLayer' in scope
48 |
49 | /// :nodoc:
50 | internal var svgLayer = CAShapeLayer()
| `- error: cannot find 'CAShapeLayer' in scope
51 |
52 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPolyline.swift:50:29: error: cannot find 'CAShapeLayer' in scope
48 |
49 | /// :nodoc:
50 | internal var svgLayer = CAShapeLayer()
| `- error: cannot find 'CAShapeLayer' in scope
51 |
52 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRectangle.swift:49:34: error: cannot find 'CGRect' in scope
47 | The CGRect for the rectangle
48 | */
49 | internal var rectangleRect = CGRect()
| `- error: cannot find 'CGRect' in scope
50 |
51 | /// :nodoc:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRectangle.swift:52:29: error: cannot find 'CAShapeLayer' in scope
50 |
51 | /// :nodoc:
52 | internal var svgLayer = CAShapeLayer()
| `- error: cannot find 'CAShapeLayer' in scope
53 |
54 | /// :nodoc:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRectangle.swift:60:34: error: cannot find 'CGFloat' in scope
58 | The x radius of the corner oval. Defaults to `0`
59 | */
60 | internal var xCornerRadius = CGFloat(0.0)
| `- error: cannot find 'CGFloat' in scope
61 |
62 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRectangle.swift:65:34: error: cannot find 'CGFloat' in scope
63 | The y radius of the corner oval. Defaults to `0`
64 | */
65 | internal var yCornerRadius = CGFloat(0.0)
| `- error: cannot find 'CGFloat' in scope
66 |
67 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRootElement.swift:50:35: error: cannot find 'CALayer' in scope
48 |
49 | // :nodoc:
50 | internal var containerLayer = CALayer()
| `- error: cannot find 'CALayer' in scope
51 |
52 | // :nodoc:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGShapeElement.swift:54:22: error: cannot find type 'CGRect' in scope
52 | The minimum rect that encompasses all of the subpaths
53 | */
54 | var boundingBox: CGRect? {
| `- error: cannot find type 'CGRect' in scope
55 | return self.svgLayer.path?.boundingBox
56 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/CALayer+Sublayers.swift:41:11: error: cannot find type 'CALayer' in scope
39 | Helper functions that make it easier to find and work with sublayers
40 | */
41 | extension CALayer {
| `- error: cannot find type 'CALayer' in scope
42 |
43 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/UIColor+Extensions.swift:43:37: error: cannot find type 'CGColor' in scope
41 |
42 | /// Dictionary of named colors
43 | private let fromJSON: [String : CGColor] = {
| `- error: cannot find type 'CGColor' in scope
44 | guard let colorDictionary: [String : String] = Dictionary(jsonFile: "cssColorNames") else {
45 | return [:]
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/UIColor+Extensions.swift:49:37: error: cannot find 'UIColor' in scope
47 | return colorDictionary
48 | .compactMapValues({ (hexString) -> CGColor? in
49 | guard let asColor = UIColor(hexString: hexString)?.cgColor else {
| `- error: cannot find 'UIColor' in scope
50 | return nil
51 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/UIColor+Extensions.swift:48:48: error: cannot find type 'CGColor' in scope
46 | }
47 | return colorDictionary
48 | .compactMapValues({ (hexString) -> CGColor? in
| `- error: cannot find type 'CGColor' in scope
49 | guard let asColor = UIColor(hexString: hexString)?.cgColor else {
50 | return nil
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/UIColor+Extensions.swift:57:33: error: cannot find type 'CGColor' in scope
55 |
56 | /// Subscript to access the named color. Must be one of the officially supported values listed [here](https://www.w3.org/TR/SVGColor12/#icccolor)
57 | subscript(index: String) -> CGColor? {
| `- error: cannot find type 'CGColor' in scope
58 | return self.fromJSON[index]
59 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/UIColor+Extensions.swift:63:18: error: cannot find type 'CGColor' in scope
61 |
62 |
63 | public extension CGColor {
| `- error: cannot find type 'CGColor' in scope
64 |
65 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/UIColor+Extensions.swift:73:18: error: cannot find type 'UIColor' in scope
71 | }
72 |
73 | public extension UIColor {
| `- error: cannot find type 'UIColor' in scope
74 |
75 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:72:27: error: cannot find type 'UIBezierPath' in scope
70 | - Parameter previousCommand: An optional previous command. Used primarily with the shortcut cubic and quadratic Bezier types
71 | */
72 | func execute(on path: UIBezierPath, previousCommand: PreviousCommand?)
| `- error: cannot find type 'UIBezierPath' in scope
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:126:69: error: cannot find type 'CGPoint' in scope
124 | Based on the `PathType` of this PathCommand, this function returns the relative or absolute point
125 | */
126 | func pointForPathType(_ point: CGPoint, relativeTo: CGPoint) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
127 | switch self.pathType {
128 | case .absolute:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:126:36: error: cannot find type 'CGPoint' in scope
124 | Based on the `PathType` of this PathCommand, this function returns the relative or absolute point
125 | */
126 | func pointForPathType(_ point: CGPoint, relativeTo: CGPoint) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
127 | switch self.pathType {
128 | case .absolute:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:126:57: error: cannot find type 'CGPoint' in scope
124 | Based on the `PathType` of this PathCommand, this function returns the relative or absolute point
125 | */
126 | func pointForPathType(_ point: CGPoint, relativeTo: CGPoint) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
127 | switch self.pathType {
128 | case .absolute:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:173:36: error: cannot find type 'UIBezierPath' in scope
171 | ```
172 | */
173 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
| `- error: cannot find type 'UIBezierPath' in scope
174 |
175 | if previousCommand is MoveTo {
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:209:36: error: cannot find type 'UIBezierPath' in scope
207 | Closes the current path
208 | */
209 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
| `- error: cannot find type 'UIBezierPath' in scope
210 | path.close()
211 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:237:36: error: cannot find type 'UIBezierPath' in scope
235 | Creates a line from the `path.currentPoint` to point `CGPoint(self.coordinateBuffer[0], coordinateBuffer[1])`
236 | */
237 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
| `- error: cannot find type 'UIBezierPath' in scope
238 | let point = self.pointForPathType(CGPoint(x: self.coordinateBuffer[0], y: self.coordinateBuffer[1]), relativeTo: path.currentPoint)
239 | path.addLine(to: point)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:265:36: error: cannot find type 'UIBezierPath' in scope
263 | Adds a horizontal line from the currentPoint to `CGPoint(self.coordinateBuffer[0], path.currentPoint.y)`
264 | */
265 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
| `- error: cannot find type 'UIBezierPath' in scope
266 | let x = self.coordinateBuffer[0]
267 | let point = (self.pathType == .absolute ? CGPoint(x: CGFloat(x), y: path.currentPoint.y) : CGPoint(x: path.currentPoint.x + CGFloat(x), y: path.currentPoint.y))
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:294:36: error: cannot find type 'UIBezierPath' in scope
292 | Adds a vertical line from the currentPoint to `CGPoint(path.currentPoint.y, self.coordinateBuffer[0])`
293 | */
294 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
| `- error: cannot find type 'UIBezierPath' in scope
295 | let y = self.coordinateBuffer[0]
296 | let point = (self.pathType == .absolute ? CGPoint(x: path.currentPoint.x, y: CGFloat(y)) : CGPoint(x: path.currentPoint.x, y: path.currentPoint.y + CGFloat(y)))
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:323:36: error: cannot find type 'UIBezierPath' in scope
321 | Adds a cubic Bezier curve to `path`. The path will end up at `CGPoint(self.coordinateBuffer[4], self.coordinateBuffer[5])`. The control point for `path.currentPoint` will be `CGPoint(self.coordinateBuffer[0], self.coordinateBuffer[1])`. Then controle point for the end point will be CGPoint(self.coordinateBuffer[2], self.coordinateBuffer[3])
322 | */
323 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
| `- error: cannot find type 'UIBezierPath' in scope
324 | let startControl = self.pointForPathType(CGPoint(x: self.coordinateBuffer[0], y: self.coordinateBuffer[1]), relativeTo: path.currentPoint)
325 | let endControl = self.pointForPathType(CGPoint(x: self.coordinateBuffer[2], y: self.coordinateBuffer[3]), relativeTo: path.currentPoint)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:353:36: error: cannot find type 'UIBezierPath' in scope
351 | Shortcut cubic Bezier curve to that add a new path ending up at `CGPoint(self.coordinateBuffer[0], self.coordinateBuffer[1])` with a single control point in the middle.
352 | */
353 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
| `- error: cannot find type 'UIBezierPath' in scope
354 |
355 | let point = self.pointForPathType(CGPoint(x: self.coordinateBuffer[2], y: self.coordinateBuffer[3]), relativeTo: path.currentPoint)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:419:36: error: cannot find type 'UIBezierPath' in scope
417 | }
418 |
419 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
| `- error: cannot find type 'UIBezierPath' in scope
420 | let controlPoint = self.pointForPathType(CGPoint(x: self.coordinateBuffer[0], y: self.coordinateBuffer[1]), relativeTo: path.currentPoint)
421 | let point = self.pointForPathType(CGPoint(x: self.coordinateBuffer[2], y: self.coordinateBuffer[3]), relativeTo: path.currentPoint)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:441:40: error: cannot find type 'CGPoint' in scope
439 |
440 | /// :nodoc:
441 | internal var previousControlPoint: CGPoint? = nil
| `- error: cannot find type 'CGPoint' in scope
442 |
443 | /// :nodoc:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:448:36: error: cannot find type 'UIBezierPath' in scope
446 | }
447 |
448 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
| `- error: cannot find type 'UIBezierPath' in scope
449 |
450 | let point = self.pointForPathType(CGPoint(x: self.coordinateBuffer[0], y: self.coordinateBuffer[1]), relativeTo: path.currentPoint)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:498:36: error: cannot find type 'UIBezierPath' in scope
496 |
497 | /// :nodoc:
498 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
| `- error: cannot find type 'UIBezierPath' in scope
499 | assert(false, "Needs Implementation")
500 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:48:28: error: cannot find type 'XMLParser' in scope
46 | */
47 |
48 | open class NSXMLSVGParser: XMLParser, XMLParserDelegate {
| `- error: cannot find type 'XMLParser' in scope
49 |
50 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:48:39: error: cannot find type 'XMLParserDelegate' in scope
46 | */
47 |
48 | open class NSXMLSVGParser: XMLParser, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
49 |
50 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/SVGParser.swift:60:19: error: cannot find type 'Data' in scope
58 | - completion: A closure to execute after the parser has completed parsing and processing the SVG
59 | */
60 | init(svgData: Data, supportedElements: SVGParserSupportedElements?, completion: ((SVGLayer) -> ())?)
| `- error: cannot find type 'Data' in scope
61 |
62 | /// A closure that is executed after all elements have been processed. Should be guaranteed to be executed after all elements have been processed, even if parsing asynchronously.
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:77:27: error: cannot find 'DispatchQueue' in scope
75 |
76 | /// :nodoc:
77 | let asyncCountQueue = DispatchQueue(label: "com.straussmade.swiftsvg.asyncCountQueue.serial", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
78 |
79 | /// :nodoc:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:90:37: error: cannot find type 'URL' in scope
88 | - parameter completion: Optional completion block that will be executed after all elements and attribites have been parsed.
89 | */
90 | public convenience init(svgURL: URL, supportedElements: SVGParserSupportedElements? = nil, completion: ((SVGLayer) -> ())? = nil) {
| `- error: cannot find type 'URL' in scope
91 |
92 | do {
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:103:37: error: cannot find type 'URL' in scope
101 | /// :nodoc:
102 | @available(*, deprecated, renamed: "init(svgURL:supportedElements:completion:)")
103 | public convenience init(SVGURL: URL, supportedElements: SVGParserSupportedElements? = nil, completion: ((SVGLayer) -> ())? = nil) {
| `- error: cannot find type 'URL' in scope
104 | self.init(svgURL: SVGURL, supportedElements: supportedElements, completion: completion)
105 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:113:35: error: cannot find type 'Data' in scope
111 | - parameter completion: Optional completion block that will be executed after all elements and attribites have been parsed.
112 | */
113 | public required init(svgData: Data, supportedElements: SVGParserSupportedElements? = SVGParserSupportedElements.allSupportedElements, completion: ((SVGLayer) -> ())? = nil) {
| `- error: cannot find type 'Data' in scope
114 | super.init(data: svgData)
115 | self.delegate = self
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:122:38: error: cannot find type 'Data' in scope
120 | /// :nodoc:
121 | @available(*, deprecated, renamed: "init(svgData:supportedElements:completion:)")
122 | public convenience init(SVGData: Data, supportedElements: SVGParserSupportedElements? = SVGParserSupportedElements.allSupportedElements, completion: ((SVGLayer) -> ())? = nil) {
| `- error: cannot find type 'Data' in scope
123 | self.init(svgData: SVGData, supportedElements: supportedElements, completion: completion)
124 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:139:32: error: cannot find type 'XMLParser' in scope
137 | The `XMLParserDelegate` method called when the parser has started parsing an SVG element. This implementation will loop through all supported attributes and dispatch the attribiute value to the given curried function.
138 | */
139 | open func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String]) {
| `- error: cannot find type 'XMLParser' in scope
140 |
141 | guard let elementType = self.supportedElements?.tags[elementName] else {
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:171:32: error: cannot find type 'XMLParser' in scope
169 | If the parser has finished parsing a `<svg>` element, that `SVGRootElement`'s container layer is added to this parser's `containerLayer`.
170 | */
171 | open func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
| `- error: cannot find type 'XMLParser' in scope
172 |
173 | guard let last = self.elementStack.last else {
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:209:48: error: cannot find type 'XMLParser' in scope
207 | - SeeAlso: `XMLParserDelegate` (`parserDidEndDocument(_:)`)[https://developer.apple.com/documentation/foundation/xmlparserdelegate/1418172-parserdidenddocument]
208 | */
209 | public func parserDidEndDocument(_ parser: XMLParser) {
| `- error: cannot find type 'XMLParser' in scope
210 |
211 | self.asyncCountQueue.sync {
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:227:34: error: cannot find type 'XMLParser' in scope
225 | - SeeAlso: (SVG Validator)[https://validator.w3.org/]
226 | */
227 | public func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
| `- error: cannot find type 'XMLParser' in scope
228 | print("Parse Error: \(parseError)")
229 | let code = (parseError as NSError).code
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:246:52: error: cannot find type 'CGRect' in scope
244 | Method that resizes the container bounding box that fits all the subpaths.
245 | */
246 | func resizeContainerBoundingBox(_ boundingBox: CGRect?) {
| `- error: cannot find type 'CGRect' in scope
247 | guard let thisBoundingBox = boundingBox else {
248 | return
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:262:43: error: cannot find type 'CAShapeLayer' in scope
260 | The `CanManageAsychronousParsing` callback called when an `ParsesAsynchronously` element has finished parsing
261 | */
262 | func finishedProcessing(_ shapeLayer: CAShapeLayer) {
| `- error: cannot find type 'CAShapeLayer' in scope
263 |
264 | self.asyncCountQueue.sync {
Failed frontend command:
SwiftCompile normal arm64_32 (in target 'SwiftSVG' from project 'SwiftSVG')
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/SwiftSVG/CrossPlatform.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/NSBezierPath+CrossPlatform.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG\ Extensions/CALayer+SVG.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG\ Extensions/CAShapeLayer+SVG.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG\ Extensions/SVGLayer.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG\ Extensions/SVGView.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG\ Extensions/UIBezierPath+SVG.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG\ Extensions/UIView+SVG.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/DelaysApplyingAttributes.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Fillable.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Identifiable.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Strokable.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Stylable.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Cache/SVGCache.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/ParsesAsynchronously.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGCircle.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGContainerElement.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGElement.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGEllipse.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGLine.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPath.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPolygon.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPolyline.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRectangle.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRootElement.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGShapeElement.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/BinaryFloatingPoint+ParseLengthString.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/CALayer+Sublayers.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/Data+CacheKey.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/Dictionary+Add.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/Dictionary+JSON.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/DispatchQueue+Extensions.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/FloatingPoint+DegreesRadians.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/Print.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/Scalar+FromByteArray.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/Stack.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/String+Subscript.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/String+Trim.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/UIColor+Extensions.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/Unown.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/CoordinateLexer.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathDLexer.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/SVGParser.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/SVGParserSupportedElements.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -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/SwiftSVG.build/Debug-watchos/SwiftSVG-t.build/Objects-normal/arm64_32/SwiftSVG-dependencies-2.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/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 -profile-generate -profile-coverage-mapping -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/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftSVG.build/Debug-watchos/SwiftSVG-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftSVG.build/Debug-watchos/SwiftSVG-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftSVG.build/Debug-watchos/SwiftSVG-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftSVG -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftSVG.build/Debug-watchos/SwiftSVG-t.build/Objects-normal/arm64_32/SwiftSVG_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.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/SwiftSVG.build/Debug-watchos/SwiftSVG-t.build/Objects-normal/arm64_32/SwiftSVG.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftSVG.build/Debug-watchos/SwiftSVG-t.build/Objects-normal/arm64_32/SwiftSVG.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftSVG.build/Debug-watchos/SwiftSVG-t.build/Objects-normal/arm64_32/SwiftSVG-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftSVG.build/Debug-watchos/SwiftSVG-t.build/Objects-normal/arm64_32/SwiftSVG-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftSVG.build/Debug-watchos/SwiftSVG-t.build/Objects-normal/arm64_32/SwiftSVG-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftSVG.build/Debug-watchos/SwiftSVG-t.build/Objects-normal/arm64_32/SwiftSVG.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftSVG.build/Debug-watchos/SwiftSVG-t.build/Objects-normal/arm64_32/SwiftSVG.abi.json
SwiftCompile normal arm64_32 Compiling\ CrossPlatform.swift,\ NSBezierPath+CrossPlatform.swift,\ CALayer+SVG.swift,\ CAShapeLayer+SVG.swift,\ SVGLayer.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/CrossPlatform.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/NSBezierPath+CrossPlatform.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG\ Extensions/CALayer+SVG.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG\ Extensions/CAShapeLayer+SVG.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG\ Extensions/SVGLayer.swift (in target 'SwiftSVG' from project 'SwiftSVG')
/Users/admin/builder/spi-builder-workspace/SwiftSVG/CrossPlatform.swift:42:11: error: cannot find type 'UIView' in scope
40 | #endif
41 |
42 | extension UIView {
| `- error: cannot find type 'UIView' in scope
43 | var nonOptionalLayer:CALayer {
44 | #if os(iOS) || os(tvOS)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CALayer+SVG.swift:45:18: error: cannot find type 'CALayer' in scope
43 | If you choose to use these initializers, it is assumed that you would like to exercise a higher level of control. As such, you must provide a completion block and then add the passed `SVGLayer` to the layer of your choosing. Use the UIView extensions if you prefer the easier to use one-liner initializers.
44 | */
45 | public extension CALayer {
| `- error: cannot find type 'CALayer' in scope
46 |
47 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/CAShapeLayer+SVG.swift:39:18: error: cannot find type 'CAShapeLayer' in scope
37 |
38 |
39 | public extension CAShapeLayer {
| `- error: cannot find type 'CAShapeLayer' in scope
40 |
41 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:41:22: error: cannot find type 'CGRect' in scope
39 | */
40 | public protocol SVGLayerType {
41 | var boundingBox: CGRect { get }
| `- error: cannot find type 'CGRect' in scope
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:44:43: error: cannot find type 'CALayer' in scope
42 | }
43 |
44 | public extension SVGLayerType where Self: CALayer {
| `- error: cannot find type 'CALayer' in scope
45 |
46 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:52:30: error: cannot find type 'CGRect' in scope
50 | */
51 | @discardableResult
52 | func resizeToFit(_ rect: CGRect) -> Self {
| `- error: cannot find type 'CGRect' in scope
53 |
54 | let boundingBoxAspectRatio = self.boundingBox.width / self.boundingBox.height
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:78:22: error: cannot find type 'CAShapeLayer' in scope
76 | */
77 |
78 | open class SVGLayer: CAShapeLayer, SVGLayerType {
| `- error: cannot find type 'CAShapeLayer' in scope
79 |
80 | /// The minimum CGRect that fits all subpaths
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:81:30: error: cannot find 'CGRect' in scope
79 |
80 | /// The minimum CGRect that fits all subpaths
81 | public var boundingBox = CGRect.null
| `- error: cannot find 'CGRect' in scope
82 | }
83 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:102:34: error: cannot find type 'CGColor' in scope
100 |
101 | /// Applies the given fill color to all sublayers
102 | override open var fillColor: CGColor? {
| `- error: cannot find type 'CGColor' in scope
103 | didSet {
104 | self.applyOnSublayers(ofType: CAShapeLayer.self) { (thisShapeLayer) in
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:102:14: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
100 |
101 | /// Applies the given fill color to all sublayers
102 | override open var fillColor: CGColor? {
| `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
103 | didSet {
104 | self.applyOnSublayers(ofType: CAShapeLayer.self) { (thisShapeLayer) in
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:104:43: error: cannot find 'CAShapeLayer' in scope
102 | override open var fillColor: CGColor? {
103 | didSet {
104 | self.applyOnSublayers(ofType: CAShapeLayer.self) { (thisShapeLayer) in
| `- error: cannot find 'CAShapeLayer' in scope
105 | thisShapeLayer.fillColor = fillColor
106 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:104:18: error: value of type 'SVGLayer' has no member 'applyOnSublayers'
102 | override open var fillColor: CGColor? {
103 | didSet {
104 | self.applyOnSublayers(ofType: CAShapeLayer.self) { (thisShapeLayer) in
| `- error: value of type 'SVGLayer' has no member 'applyOnSublayers'
105 | thisShapeLayer.fillColor = fillColor
106 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:116:34: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
114 |
115 | /// Applies the given line width to all `CAShapeLayer`s
116 | override open var lineWidth: CGFloat {
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
117 | didSet {
118 | self.applyOnSublayers(ofType: CAShapeLayer.self) { (thisShapeLayer) in
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:116:14: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
114 |
115 | /// Applies the given line width to all `CAShapeLayer`s
116 | override open var lineWidth: CGFloat {
| `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
117 | didSet {
118 | self.applyOnSublayers(ofType: CAShapeLayer.self) { (thisShapeLayer) in
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:116:23: error: property does not override any property from its superclass
114 |
115 | /// Applies the given line width to all `CAShapeLayer`s
116 | override open var lineWidth: CGFloat {
| `- error: property does not override any property from its superclass
117 | didSet {
118 | self.applyOnSublayers(ofType: CAShapeLayer.self) { (thisShapeLayer) in
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:118:43: error: cannot find 'CAShapeLayer' in scope
116 | override open var lineWidth: CGFloat {
117 | didSet {
118 | self.applyOnSublayers(ofType: CAShapeLayer.self) { (thisShapeLayer) in
| `- error: cannot find 'CAShapeLayer' in scope
119 | thisShapeLayer.lineWidth = lineWidth
120 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:118:18: error: value of type 'SVGLayer' has no member 'applyOnSublayers'
116 | override open var lineWidth: CGFloat {
117 | didSet {
118 | self.applyOnSublayers(ofType: CAShapeLayer.self) { (thisShapeLayer) in
| `- error: value of type 'SVGLayer' has no member 'applyOnSublayers'
119 | thisShapeLayer.lineWidth = lineWidth
120 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:116:23: warning: cannot use struct 'CGFloat' in a property declaration marked public or in a '@frozen' or '@usableFromInline' context; 'CoreFoundation' was not imported by this file
114 |
115 | /// Applies the given line width to all `CAShapeLayer`s
116 | override open var lineWidth: CGFloat {
| `- warning: cannot use struct 'CGFloat' in a property declaration marked public or in a '@frozen' or '@usableFromInline' context; 'CoreFoundation' was not imported by this file
117 | didSet {
118 | self.applyOnSublayers(ofType: CAShapeLayer.self) { (thisShapeLayer) in
CoreFoundation.CGFloat:2:23: note: struct declared here
1 | @available(macOS 10.0, macCatalyst 13.0, iOS 2.0, watchOS 1.0, tvOS 9.0, *)
2 | @frozen public struct CGFloat : Sendable {
| `- note: struct declared here
3 | public typealias NativeType = Float
4 | public init()
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:125:36: error: cannot find type 'CGColor' in scope
123 |
124 | /// Applies the given stroke color to all `CAShapeLayer`s
125 | override open var strokeColor: CGColor? {
| `- error: cannot find type 'CGColor' in scope
126 | didSet {
127 | self.applyOnSublayers(ofType: CAShapeLayer.self) { (thisShapeLayer) in
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:125:14: warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
123 |
124 | /// Applies the given stroke color to all `CAShapeLayer`s
125 | override open var strokeColor: CGColor? {
| `- warning: non-'@objc' property declared in extension cannot be overridden; use 'public' instead; this will be an error in a future Swift language mode
126 | didSet {
127 | self.applyOnSublayers(ofType: CAShapeLayer.self) { (thisShapeLayer) in
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:127:43: error: cannot find 'CAShapeLayer' in scope
125 | override open var strokeColor: CGColor? {
126 | didSet {
127 | self.applyOnSublayers(ofType: CAShapeLayer.self) { (thisShapeLayer) in
| `- error: cannot find 'CAShapeLayer' in scope
128 | thisShapeLayer.strokeColor = strokeColor
129 | }
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/CrossPlatform.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CrossPlatform.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/NSBezierPath+CrossPlatform.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NSBezierPath+CrossPlatform.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG\ Extensions/CALayer+SVG.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CALayer+SVG.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG\ Extensions/CAShapeLayer+SVG.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CAShapeLayer+SVG.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG\ Extensions/SVGLayer.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SVGLayer.swift
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:127:18: error: value of type 'SVGLayer' has no member 'applyOnSublayers'
125 | override open var strokeColor: CGColor? {
126 | didSet {
127 | self.applyOnSublayers(ofType: CAShapeLayer.self) { (thisShapeLayer) in
| `- error: value of type 'SVGLayer' has no member 'applyOnSublayers'
128 | thisShapeLayer.strokeColor = strokeColor
129 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:57:26: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
55 | let viewAspectRatio = rect.width / rect.height
56 |
57 | let scaleFactor: CGFloat
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
58 | if (boundingBoxAspectRatio > viewAspectRatio) {
59 | // Width is limiting factor
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:65:30: error: cannot find 'CGAffineTransform' in scope
63 | scaleFactor = rect.height / self.boundingBox.height
64 | }
65 | let scaleTransform = CGAffineTransform(scaleX: scaleFactor, y: scaleFactor)
| `- error: cannot find 'CGAffineTransform' in scope
66 |
67 | DispatchQueue.main.safeAsync {
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:67:9: error: cannot find 'DispatchQueue' in scope
65 | let scaleTransform = CGAffineTransform(scaleX: scaleFactor, y: scaleFactor)
66 |
67 | DispatchQueue.main.safeAsync {
| `- error: cannot find 'DispatchQueue' in scope
68 | self.setAffineTransform(scaleTransform)
69 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:68:18: error: value of type 'Self' has no member 'setAffineTransform'
66 |
67 | DispatchQueue.main.safeAsync {
68 | self.setAffineTransform(scaleTransform)
| `- error: value of type 'Self' has no member 'setAffineTransform'
69 | }
70 | return self
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:90:19: error: cannot find 'NSKeyedArchiver' in scope
88 | */
89 | var svgLayerCopy: SVGLayer? {
90 | let tmp = NSKeyedArchiver.archivedData(withRootObject: self)
| `- error: cannot find 'NSKeyedArchiver' in scope
91 | let copiedLayer = NSKeyedUnarchiver.unarchiveObject(with: tmp) as? SVGLayer
92 | copiedLayer?.boundingBox = self.boundingBox
SwiftCompile normal arm64_32 Compiling\ SVGView.swift,\ UIBezierPath+SVG.swift,\ UIView+SVG.swift,\ DelaysApplyingAttributes.swift,\ Fillable.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG\ Extensions/SVGView.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG\ Extensions/UIBezierPath+SVG.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG\ Extensions/UIView+SVG.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/DelaysApplyingAttributes.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Fillable.swift (in target 'SwiftSVG' from project 'SwiftSVG')
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGView.swift:52:22: error: cannot find type 'UIView' in scope
50 | A `UIView` subclass that can be used in Interface Builder where you can set the @IBInspectable propert `SVGName` in the side panel. Use the UIView extensions if you want to creates SVG views programmatically.
51 | */
52 | open class SVGView : UIView {
| `- error: cannot find type 'UIView' in scope
53 |
54 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGView.swift:67:30: error: cannot find 'Bundle' in scope
65 | let bundle = Bundle(for: type(of: self))
66 | #else
67 | let bundle = Bundle.main
| `- error: cannot find 'Bundle' in scope
68 | #endif
69 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGView.swift:71:17: error: cannot find 'CALayer' in scope
69 |
70 | if let url = bundle.url(forResource: thisName, withExtension: "svg") {
71 | CALayer(svgURL: url) { [weak self] (svgLayer) in
| `- error: cannot find 'CALayer' in scope
72 | self?.nonOptionalLayer.addSublayer(svgLayer)
73 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGView.swift:84:28: error: cannot find 'asset' in scope
82 | }
83 | #endif
84 | let data = asset.data
| `- error: cannot find 'asset' in scope
85 | CALayer(svgData: data) { [weak self] (svgLayer) in
86 | self?.nonOptionalLayer.addSublayer(svgLayer)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGView.swift:85:17: error: cannot find 'CALayer' in scope
83 | #endif
84 | let data = asset.data
85 | CALayer(svgData: data) { [weak self] (svgLayer) in
| `- error: cannot find 'CALayer' in scope
86 | self?.nonOptionalLayer.addSublayer(svgLayer)
87 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/UIBezierPath+SVG.swift:41:18: error: cannot find type 'UIBezierPath' in scope
39 | */
40 |
41 | public extension UIBezierPath {
| `- error: cannot find type 'UIBezierPath' in scope
42 |
43 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/UIView+SVG.swift:42:18: error: cannot find type 'UIView' in scope
40 | A set of convenience initializers that create new `UIView` instances from SVG data
41 | */
42 | public extension UIView {
| `- error: cannot find type 'UIView' in scope
43 |
44 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGShapeElement.swift:46:19: error: cannot find type 'CAShapeLayer' in scope
44 | The `CAShapeLayer` that can draw the path data.
45 | */
46 | var svgLayer: CAShapeLayer { get set }
| `- error: cannot find type 'CAShapeLayer' in scope
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Fillable.swift:72:31: error: cannot find 'UIColor' in scope
70 | return
71 | }
72 | guard let fillColor = UIColor(svgString: fillColor) else {
| `- error: cannot find 'UIColor' in scope
73 | return
74 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Fillable.swift:86:34: error: cannot find 'CAShapeLayerFillRule' in scope
84 | return
85 | }
86 | self.svgLayer.fillRule = CAShapeLayerFillRule.evenOdd
| `- error: cannot find 'CAShapeLayerFillRule' in scope
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Fillable.swift:93:29: error: cannot find 'CGFloat' in scope
91 | */
92 | func fillOpacity(opacity: String) {
93 | guard let opacity = CGFloat(opacity) else {
| `- error: cannot find 'CGFloat' in scope
94 | return
95 | }
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG\ Extensions/SVGView.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SVGView.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG\ Extensions/UIBezierPath+SVG.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIBezierPath+SVG.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG\ Extensions/UIView+SVG.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIView+SVG.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/DelaysApplyingAttributes.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DelaysApplyingAttributes.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Fillable.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Fillable.swift
SwiftCompile normal arm64_32 Compiling\ SVGGroup.swift,\ SVGLine.swift,\ SVGPath.swift,\ SVGPolygon.swift,\ SVGPolyline.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGLine.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPath.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPolygon.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPolyline.swift (in target 'SwiftSVG' from project 'SwiftSVG')
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:44:78: error: cannot find type 'CAShapeLayer' in scope
42 |
43 | /// :nodoc:
44 | fileprivate static let groupAttributes: [String : (SVGGroup) -> (String, CAShapeLayer) -> ()] = [
| `- error: cannot find type 'CAShapeLayer' in scope
45 | "fill": SVGGroup.fillGroup,
46 | "fill-rule": SVGGroup.fillRuleGroup,
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:103:51: error: cannot find type 'CAShapeLayer' in scope
101 | Function that applies the fill color on all of this group's subelements
102 | */
103 | func fillGroup(_ fillColor: String, on layer: CAShapeLayer) {
| `- error: cannot find type 'CAShapeLayer' in scope
104 | guard let fillColor = UIColor(svgString: fillColor) else {
105 | return
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:113:54: error: cannot find type 'CAShapeLayer' in scope
111 | Function that applies the fill rule on all of this group's subelements
112 | */
113 | func fillRuleGroup(_ fillRule: String, on layer: CAShapeLayer) {
| `- error: cannot find type 'CAShapeLayer' in scope
114 | guard fillRule == "evenodd" else {
115 | return
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:123:56: error: cannot find type 'CAShapeLayer' in scope
121 | Function that applies the fill opacity on all of this group's subelements
122 | */
123 | func fillOpacityGroup(_ opacity: String, on layer: CAShapeLayer) {
| `- error: cannot find type 'CAShapeLayer' in scope
124 | guard let opacity = Float(opacity) else {
125 | return
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:144:58: error: cannot find type 'CAShapeLayer' in scope
142 | Function that applies the stroke color on all of this group's subelements
143 | */
144 | func strokeColorGroup(strokeColor: String, on layer: CAShapeLayer) {
| `- error: cannot find type 'CAShapeLayer' in scope
145 | guard let strokeColor = UIColor(svgString: strokeColor) else {
146 | return
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:137:56: error: cannot find type 'CAShapeLayer' in scope
135 | Function that applies the stroke line cap on all of this group's subelements
136 | */
137 | func strokeLineCapGroup(lineCap: String, on layer: CAShapeLayer) {
| `- error: cannot find type 'CAShapeLayer' in scope
138 | layer.lineCap = CAShapeLayerLineCap(rawValue: lineCap)
139 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:154:58: error: cannot find type 'CAShapeLayer' in scope
152 | Function that applies the stroke line join on all of this group's subelements
153 | */
154 | func strokeLineJoinGroup(lineJoin: String, on layer: CAShapeLayer) {
| `- error: cannot find type 'CAShapeLayer' in scope
155 | layer.lineJoin = CAShapeLayerLineJoin(rawValue: lineJoin)
156 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:161:62: error: cannot find type 'CAShapeLayer' in scope
159 | Function that applies the miter limit on all of this group's subelements
160 | */
161 | func strokeMiterLimitGroup(miterLimit: String, on layer: CAShapeLayer) {
| `- error: cannot find type 'CAShapeLayer' in scope
162 | guard let miterLimit = CGFloat(miterLimit) else {
163 | return
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:171:58: error: cannot find type 'CAShapeLayer' in scope
169 | Function that applies the streoke width on all of this group's subelements
170 | */
171 | func strokeWidthGroup(strokeWidth: String, on layer: CAShapeLayer) {
| `- error: cannot find type 'CAShapeLayer' in scope
172 | guard let strokeWidth = CGFloat(strokeWidth) else {
173 | return
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:62:35: error: cannot find 'CALayer' in scope
60 |
61 | /// A `CALayer` that will hold all sublayers of the `SVGGroup`
62 | internal var containerLayer = CALayer()
| `- error: cannot find 'CALayer' in scope
63 |
64 | /// :nodoc:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGContainerElement.swift:47:25: error: cannot find type 'CALayer' in scope
45 | The layer that stores all the SVG sublayers
46 | */
47 | var containerLayer: CALayer { get set }
| `- error: cannot find type 'CALayer' in scope
48 | }
49 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:129:27: error: cannot find type 'CALayer' in scope
127 | */
128 | public protocol Transformable {
129 | var layerToTransform: CALayer { get }
| `- error: cannot find type 'CALayer' in scope
130 | }
131 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:90:83: error: cannot find type 'CAShapeLayer' in scope
88 | Function that will apply the String attribute and value on the passed sublayer
89 | */
90 | fileprivate func applyAttribute(_ attribute: String, value: String, on layer: CAShapeLayer) {
| `- error: cannot find type 'CAShapeLayer' in scope
91 | if let thisMethod = SVGGroup.groupAttributes[attribute] {
92 | thisMethod(self)(value, layer)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:77:60: error: cannot find type 'CAShapeLayer' in scope
75 |
76 | for thisSublayer in containerSublayers {
77 | guard let thisShapeSublayer = thisSublayer as? CAShapeLayer else {
| `- error: cannot find type 'CAShapeLayer' in scope
78 | continue
79 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:104:31: error: cannot find 'UIColor' in scope
102 | */
103 | func fillGroup(_ fillColor: String, on layer: CAShapeLayer) {
104 | guard let fillColor = UIColor(svgString: fillColor) else {
| `- error: cannot find 'UIColor' in scope
105 | return
106 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:117:26: error: cannot find 'CAShapeLayerFillRule' in scope
115 | return
116 | }
117 | layer.fillRule = CAShapeLayerFillRule.evenOdd
| `- error: cannot find 'CAShapeLayerFillRule' in scope
118 | }
119 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:138:25: error: cannot find 'CAShapeLayerLineCap' in scope
136 | */
137 | func strokeLineCapGroup(lineCap: String, on layer: CAShapeLayer) {
138 | layer.lineCap = CAShapeLayerLineCap(rawValue: lineCap)
| `- error: cannot find 'CAShapeLayerLineCap' in scope
139 | }
140 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:145:33: error: cannot find 'UIColor' in scope
143 | */
144 | func strokeColorGroup(strokeColor: String, on layer: CAShapeLayer) {
145 | guard let strokeColor = UIColor(svgString: strokeColor) else {
| `- error: cannot find 'UIColor' in scope
146 | return
147 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:155:26: error: cannot find 'CAShapeLayerLineJoin' in scope
153 | */
154 | func strokeLineJoinGroup(lineJoin: String, on layer: CAShapeLayer) {
155 | layer.lineJoin = CAShapeLayerLineJoin(rawValue: lineJoin)
| `- error: cannot find 'CAShapeLayerLineJoin' in scope
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:162:32: error: cannot find 'CGFloat' in scope
160 | */
161 | func strokeMiterLimitGroup(miterLimit: String, on layer: CAShapeLayer) {
162 | guard let miterLimit = CGFloat(miterLimit) else {
| `- error: cannot find 'CGFloat' in scope
163 | return
164 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift:172:33: error: cannot find 'CGFloat' in scope
170 | */
171 | func strokeWidthGroup(strokeWidth: String, on layer: CAShapeLayer) {
172 | guard let strokeWidth = CGFloat(strokeWidth) else {
| `- error: cannot find 'CGFloat' in scope
173 | return
174 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGLine.swift:50:24: error: cannot find 'CGPoint' in scope
48 | The line's end point. Defaults to `CGPoint.zero`
49 | */
50 | internal var end = CGPoint.zero
| `- error: cannot find 'CGPoint' in scope
51 |
52 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGLine.swift:55:26: error: cannot find 'CGPoint' in scope
53 | The line's end point. Defaults to `CGPoint.zero`
54 | */
55 | internal var start = CGPoint.zero
| `- error: cannot find 'CGPoint' in scope
56 |
57 | /// :nodoc:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGLine.swift:58:29: error: cannot find 'CAShapeLayer' in scope
56 |
57 | /// :nodoc:
58 | internal var svgLayer = CAShapeLayer()
| `- error: cannot find 'CAShapeLayer' in scope
59 |
60 | /// :nodoc:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGShapeElement.swift:46:19: error: cannot find type 'CAShapeLayer' in scope
44 | The `CAShapeLayer` that can draw the path data.
45 | */
46 | var svgLayer: CAShapeLayer { get set }
| `- error: cannot find type 'CAShapeLayer' in scope
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGLine.swift:67:24: error: cannot find 'CGFloat' in scope
65 | */
66 | internal func x1(x1: String) {
67 | guard let x1 = CGFloat(x1) else {
| `- error: cannot find 'CGFloat' in scope
68 | return
69 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGLine.swift:77:24: error: cannot find 'CGFloat' in scope
75 | */
76 | internal func x2(x2: String) {
77 | guard let x2 = CGFloat(x2) else {
| `- error: cannot find 'CGFloat' in scope
78 | return
79 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGLine.swift:87:24: error: cannot find 'CGFloat' in scope
85 | */
86 | internal func y1(y1: String) {
87 | guard let y1 = CGFloat(y1) else {
| `- error: cannot find 'CGFloat' in scope
88 | return
89 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGLine.swift:97:24: error: cannot find 'CGFloat' in scope
95 | */
96 | internal func y2(y2: String) {
97 | guard let y2 = CGFloat(y2) else {
| `- error: cannot find 'CGFloat' in scope
98 | return
99 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGLine.swift:110:24: error: cannot find 'UIBezierPath' in scope
108 | return
109 | }
110 | let linePath = UIBezierPath()
| `- error: cannot find 'UIBezierPath' in scope
111 | linePath.move(to: self.start)
112 | linePath.addLine(to: self.end)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/ParsesAsynchronously.swift:46:43: error: cannot find type 'CAShapeLayer' in scope
44 | - Parameter shapeLayer: The completed layer
45 | */
46 | func finishedProcessing(_ shapeLayer: CAShapeLayer)
| `- error: cannot find type 'CAShapeLayer' in scope
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPath.swift:62:29: error: cannot find 'CAShapeLayer' in scope
60 |
61 | /// :nodoc:
62 | internal var svgLayer = CAShapeLayer()
| `- error: cannot find 'CAShapeLayer' in scope
63 |
64 | /// :nodoc:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPath.swift:85:9: error: cannot find 'autoreleasepool' in scope
83 | let workingString = pathString.trimWhitespace()
84 | assert(workingString.hasPrefix("M") || workingString.hasPrefix("m"), "Path d attribute must begin with MoveTo Command (\"M\")")
85 | autoreleasepool { () -> () in
| `- error: cannot find 'autoreleasepool' in scope
86 |
87 | let pathDPath = UIBezierPath()
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPath.swift:87:29: error: cannot find 'UIBezierPath' in scope
85 | autoreleasepool { () -> () in
86 |
87 | let pathDPath = UIBezierPath()
| `- error: cannot find 'UIBezierPath' in scope
88 | pathDPath.move(to: CGPoint.zero)
89 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPath.swift:88:32: error: cannot find 'CGPoint' in scope
86 |
87 | let pathDPath = UIBezierPath()
88 | pathDPath.move(to: CGPoint.zero)
| `- error: cannot find 'CGPoint' in scope
89 |
90 | let parsePathClosure = {
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPath.swift:100:34: error: cannot find 'DispatchQueue' in scope
98 | if self.shouldParseAsynchronously {
99 |
100 | let concurrent = DispatchQueue(label: "com.straussmade.swiftsvg.path.concurrent", attributes: .concurrent)
| `- error: cannot find 'DispatchQueue' in scope
101 |
102 | concurrent.async(execute: parsePathClosure)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPolygon.swift:50:29: error: cannot find 'CAShapeLayer' in scope
48 |
49 | /// :nodoc:
50 | internal var svgLayer = CAShapeLayer()
| `- error: cannot find 'CAShapeLayer' in scope
51 |
52 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPolygon.swift:56:28: error: cannot find 'UIBezierPath' in scope
54 | */
55 | internal func points(points: String) {
56 | let polylinePath = UIBezierPath()
| `- error: cannot find 'UIBezierPath' in scope
57 | for (index, thisPoint) in CoordinateLexer(coordinateString: points).enumerated() {
58 | if index == 0 {
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPolyline.swift:50:29: error: cannot find 'CAShapeLayer' in scope
48 |
49 | /// :nodoc:
50 | internal var svgLayer = CAShapeLayer()
| `- error: cannot find 'CAShapeLayer' in scope
51 |
52 | /**
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGGroup.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SVGGroup.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGLine.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SVGLine.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPath.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SVGPath.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPolygon.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SVGPolygon.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPolyline.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SVGPolyline.swift
SwiftCompile normal arm64_32 Compiling\ Data+CacheKey.swift,\ Dictionary+Add.swift,\ Dictionary+JSON.swift,\ DispatchQueue+Extensions.swift,\ FloatingPoint+DegreesRadians.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/Data+CacheKey.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/Dictionary+Add.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/Dictionary+JSON.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/DispatchQueue+Extensions.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/FloatingPoint+DegreesRadians.swift (in target 'SwiftSVG' from project 'SwiftSVG')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/Data+CacheKey.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Data+CacheKey.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/Dictionary+Add.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Dictionary+Add.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/Dictionary+JSON.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Dictionary+JSON.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/DispatchQueue+Extensions.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DispatchQueue+Extensions.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/FloatingPoint+DegreesRadians.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FloatingPoint+DegreesRadians.swift
SwiftCompile normal arm64_32 Compiling\ Identifiable.swift,\ Strokable.swift,\ Stylable.swift,\ Transformable.swift,\ SVGCache.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Identifiable.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Strokable.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Stylable.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Cache/SVGCache.swift (in target 'SwiftSVG' from project 'SwiftSVG')
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGShapeElement.swift:46:19: error: cannot find type 'CAShapeLayer' in scope
44 | The `CAShapeLayer` that can draw the path data.
45 | */
46 | var svgLayer: CAShapeLayer { get set }
| `- error: cannot find type 'CAShapeLayer' in scope
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGContainerElement.swift:47:25: error: cannot find type 'CALayer' in scope
45 | The layer that stores all the SVG sublayers
46 | */
47 | var containerLayer: CALayer { get set }
| `- error: cannot find type 'CALayer' in scope
48 | }
49 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Strokable.swift:84:33: error: cannot find 'CAShapeLayerLineCap' in scope
82 | */
83 | internal func strokeLineCap(lineCap: String) {
84 | self.svgLayer.lineCap = CAShapeLayerLineCap(rawValue: lineCap)
| `- error: cannot find 'CAShapeLayerLineCap' in scope
85 | }
86 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Strokable.swift:92:33: error: cannot find 'UIColor' in scope
90 | */
91 | internal func strokeColor(strokeColor: String) {
92 | guard let strokeColor = UIColor(svgString: strokeColor) else {
| `- error: cannot find 'UIColor' in scope
93 | return
94 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Strokable.swift:103:34: error: cannot find 'CAShapeLayerLineJoin' in scope
101 | */
102 | internal func strokeLineJoin(lineJoin: String) {
103 | self.svgLayer.lineJoin = CAShapeLayerLineJoin(rawValue: lineJoin)
| `- error: cannot find 'CAShapeLayerLineJoin' in scope
104 | }
105 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Strokable.swift:111:32: error: cannot find 'CGFloat' in scope
109 | */
110 | internal func strokeMiterLimit(miterLimit: String) {
111 | guard let miterLimit = CGFloat(miterLimit) else {
| `- error: cannot find 'CGFloat' in scope
112 | return
113 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Strokable.swift:122:33: error: cannot find 'CGFloat' in scope
120 | */
121 | internal func strokeWidth(strokeWidth: String) {
122 | guard let strokeWidth = CGFloat(strokeWidth) else {
| `- error: cannot find 'CGFloat' in scope
123 | return
124 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:44:26: error: cannot find type 'CGAffineTransform' in scope
42 | struct Transform {
43 |
44 | let affineTransform: CGAffineTransform
| `- error: cannot find type 'CGAffineTransform' in scope
45 |
46 | init?(rawValue: String, coordinatesString: String) {
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:129:27: error: cannot find type 'CALayer' in scope
127 | */
128 | public protocol Transformable {
129 | var layerToTransform: CALayer { get }
| `- error: cannot find type 'CALayer' in scope
130 | }
131 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:137:27: error: cannot find type 'CALayer' in scope
135 | Default implementation for a `SVGContainerElement` that transforms the `containerLayer`
136 | */
137 | var layerToTransform: CALayer {
| `- error: cannot find type 'CALayer' in scope
138 | return self.containerLayer
139 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:147:27: error: cannot find type 'CALayer' in scope
145 | Default implementation for a `SVGShapeElement` that transforms the `svgLayer`
146 | */
147 | var layerToTransform: CALayer {
| `- error: cannot find type 'CALayer' in scope
148 | return self.svgLayer
149 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:48:74: error: cannot find 'CharacterSet' in scope
46 | init?(rawValue: String, coordinatesString: String) {
47 |
48 | let coordinatesArray = coordinatesString.components(separatedBy: CharacterSet(charactersIn: ", "))
| `- error: cannot find 'CharacterSet' in scope
49 |
50 | guard coordinatesArray.count > 0 else {
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:55:20: error: cannot find 'CGFloat' in scope
53 |
54 | let coordinates = coordinatesArray.compactMap { (thisCoordinate) -> CGFloat? in
55 | return CGFloat(thisCoordinate.trimWhitespace())
| `- error: cannot find 'CGFloat' in scope
56 | }
57 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:54:77: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
52 | }
53 |
54 | let coordinates = coordinatesArray.compactMap { (thisCoordinate) -> CGFloat? in
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
55 | return CGFloat(thisCoordinate.trimWhitespace())
56 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:67:36: error: cannot find 'CGAffineTransform' in scope
65 | return nil
66 | }
67 | self.affineTransform = CGAffineTransform(
| `- error: cannot find 'CGAffineTransform' in scope
68 | a: coordinates[0], b: coordinates[1],
69 | c: coordinates[2], d: coordinates[3],
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:75:31: error: cannot find 'CGFloat' in scope
73 | case "rotate":
74 | if coordinates.count == 1 {
75 | let degrees = CGFloat(coordinates[0])
| `- error: cannot find 'CGFloat' in scope
76 | self.affineTransform = CGAffineTransform(rotationAngle: degrees.toRadians)
77 | } else if coordinates.count == 3 {
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:76:40: error: cannot find 'CGAffineTransform' in scope
74 | if coordinates.count == 1 {
75 | let degrees = CGFloat(coordinates[0])
76 | self.affineTransform = CGAffineTransform(rotationAngle: degrees.toRadians)
| `- error: cannot find 'CGAffineTransform' in scope
77 | } else if coordinates.count == 3 {
78 | let degrees = CGFloat(coordinates[0])
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:78:31: error: cannot find 'CGFloat' in scope
76 | self.affineTransform = CGAffineTransform(rotationAngle: degrees.toRadians)
77 | } else if coordinates.count == 3 {
78 | let degrees = CGFloat(coordinates[0])
| `- error: cannot find 'CGFloat' in scope
79 | let translate = CGAffineTransform(translationX: coordinates[0], y: coordinates[1])
80 | let rotate = CGAffineTransform(rotationAngle: degrees.toRadians)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:79:33: error: cannot find 'CGAffineTransform' in scope
77 | } else if coordinates.count == 3 {
78 | let degrees = CGFloat(coordinates[0])
79 | let translate = CGAffineTransform(translationX: coordinates[0], y: coordinates[1])
| `- error: cannot find 'CGAffineTransform' in scope
80 | let rotate = CGAffineTransform(rotationAngle: degrees.toRadians)
81 | let translateReverse = CGAffineTransform(translationX: -coordinates[0], y: -coordinates[1])
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:80:30: error: cannot find 'CGAffineTransform' in scope
78 | let degrees = CGFloat(coordinates[0])
79 | let translate = CGAffineTransform(translationX: coordinates[0], y: coordinates[1])
80 | let rotate = CGAffineTransform(rotationAngle: degrees.toRadians)
| `- error: cannot find 'CGAffineTransform' in scope
81 | let translateReverse = CGAffineTransform(translationX: -coordinates[0], y: -coordinates[1])
82 | self.affineTransform = translate.concatenating(rotate).concatenating(translateReverse)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:81:40: error: cannot find 'CGAffineTransform' in scope
79 | let translate = CGAffineTransform(translationX: coordinates[0], y: coordinates[1])
80 | let rotate = CGAffineTransform(rotationAngle: degrees.toRadians)
81 | let translateReverse = CGAffineTransform(translationX: -coordinates[0], y: -coordinates[1])
| `- error: cannot find 'CGAffineTransform' in scope
82 | self.affineTransform = translate.concatenating(rotate).concatenating(translateReverse)
83 | } else {
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:89:40: error: cannot find 'CGAffineTransform' in scope
87 | case "scale":
88 | if coordinates.count == 1 {
89 | self.affineTransform = CGAffineTransform(scaleX: coordinates[0], y: coordinates[0])
| `- error: cannot find 'CGAffineTransform' in scope
90 | } else {
91 | self.affineTransform = CGAffineTransform(scaleX: coordinates[0], y: coordinates[1])
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:91:40: error: cannot find 'CGAffineTransform' in scope
89 | self.affineTransform = CGAffineTransform(scaleX: coordinates[0], y: coordinates[0])
90 | } else {
91 | self.affineTransform = CGAffineTransform(scaleX: coordinates[0], y: coordinates[1])
| `- error: cannot find 'CGAffineTransform' in scope
92 | }
93 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:95:36: error: cannot find 'CGAffineTransform' in scope
93 |
94 | case "skewX":
95 | self.affineTransform = CGAffineTransform(
| `- error: cannot find 'CGAffineTransform' in scope
96 | a: 1.0, b: tan(coordinates[0]),
97 | c: 0.0, d: 1.0,
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:96:28: error: cannot find 'tan' in scope
94 | case "skewX":
95 | self.affineTransform = CGAffineTransform(
96 | a: 1.0, b: tan(coordinates[0]),
| `- error: cannot find 'tan' in scope
97 | c: 0.0, d: 1.0,
98 | tx: 0.0, ty: 0.0
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:101:36: error: cannot find 'CGAffineTransform' in scope
99 | )
100 | case "skewY":
101 | self.affineTransform = CGAffineTransform(
| `- error: cannot find 'CGAffineTransform' in scope
102 | a: 1.0, b: 0.0,
103 | c: tan(coordinates[0]), d: 1.0,
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:103:20: error: cannot find 'tan' in scope
101 | self.affineTransform = CGAffineTransform(
102 | a: 1.0, b: 0.0,
103 | c: tan(coordinates[0]), d: 1.0,
| `- error: cannot find 'tan' in scope
104 | tx: 0.0, ty: 0.0
105 | )
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:109:40: error: cannot find 'CGAffineTransform' in scope
107 | case "translate":
108 | if coordinates.count == 1 {
109 | self.affineTransform = CGAffineTransform(translationX: coordinates[0], y: 0.0)
| `- error: cannot find 'CGAffineTransform' in scope
110 | return
111 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:112:36: error: cannot find 'CGAffineTransform' in scope
110 | return
111 | }
112 | self.affineTransform = CGAffineTransform(translationX: coordinates[0], y: coordinates[1])
| `- error: cannot find 'CGAffineTransform' in scope
113 |
114 | default:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:186:29: error: cannot find 'NSRegularExpression' in scope
184 |
185 | do {
186 | let regex = try NSRegularExpression(pattern: TransformableConstants.attributesRegex, options: .caseInsensitive)
| `- error: cannot find 'NSRegularExpression' in scope
187 | let matches = regex.matches(in: transformString, options: [], range: NSMakeRange(0, transformString.utf8.count))
188 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:187:82: error: cannot find 'NSMakeRange' in scope
185 | do {
186 | let regex = try NSRegularExpression(pattern: TransformableConstants.attributesRegex, options: .caseInsensitive)
187 | let matches = regex.matches(in: transformString, options: [], range: NSMakeRange(0, transformString.utf8.count))
| `- error: cannot find 'NSMakeRange' in scope
188 |
189 | let combinedTransforms = matches
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:197:21: error: cannot find 'CGAffineTransform' in scope
195 | return Transform(rawValue: transformName, coordinatesString: coordinateString)
196 | })
197 | .reduce(CGAffineTransform.identity, { (accumulate, next) -> CGAffineTransform in
| `- error: cannot find 'CGAffineTransform' in scope
198 | return accumulate.concatenating(next.affineTransform)
199 | })
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:197:73: error: cannot find type 'CGAffineTransform' in scope
195 | return Transform(rawValue: transformName, coordinatesString: coordinateString)
196 | })
197 | .reduce(CGAffineTransform.identity, { (accumulate, next) -> CGAffineTransform in
| `- error: cannot find type 'CGAffineTransform' in scope
198 | return accumulate.concatenating(next.affineTransform)
199 | })
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Cache/SVGCache.swift:45:30: error: cannot find 'NSCache' in scope
43 |
44 | /// :nodoc:
45 | public let memoryCache = NSCache<NSString, SVGLayer>()
| `- error: cannot find 'NSCache' in scope
46 |
47 | /// Subscript to get or set the `SVGLayer` in this cache
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Cache/SVGCache.swift:45:38: error: cannot find type 'NSString' in scope
43 |
44 | /// :nodoc:
45 | public let memoryCache = NSCache<NSString, SVGLayer>()
| |`- error: cannot find type 'NSString' in scope
| `- note: while parsing this '<' as a type parameter bracket
46 |
47 | /// Subscript to get or set the `SVGLayer` in this cache
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Cache/SVGCache.swift:50:59: error: cannot find type 'NSString' in scope
48 | public subscript(key: String) -> SVGLayer? {
49 | get {
50 | return self.memoryCache.object(forKey: key as NSString)
| `- error: cannot find type 'NSString' in scope
51 | }
52 | set {
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Cache/SVGCache.swift:56:65: error: cannot find type 'NSString' in scope
54 | return
55 | }
56 | self.memoryCache.setObject(newValue, forKey: key as NSString)
| `- error: cannot find type 'NSString' in scope
57 | }
58 | }
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Identifiable.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Identifiable.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Strokable.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Strokable.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Stylable.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Stylable.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Transformable.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Cache/SVGCache.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SVGCache.swift
SwiftCompile normal arm64_32 Compiling\ ParsesAsynchronously.swift,\ SVGCircle.swift,\ SVGContainerElement.swift,\ SVGElement.swift,\ SVGEllipse.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/ParsesAsynchronously.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGCircle.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGContainerElement.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGElement.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGEllipse.swift (in target 'SwiftSVG' from project 'SwiftSVG')
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/ParsesAsynchronously.swift:46:43: error: cannot find type 'CAShapeLayer' in scope
44 | - Parameter shapeLayer: The completed layer
45 | */
46 | func finishedProcessing(_ shapeLayer: CAShapeLayer)
| `- error: cannot find type 'CAShapeLayer' in scope
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGCircle.swift:50:33: error: cannot find 'CGPoint' in scope
48 | The circle's center point. Defaults to `CGRect.zero`
49 | */
50 | internal var circleCenter = CGPoint.zero
| `- error: cannot find 'CGPoint' in scope
51 |
52 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGCircle.swift:55:32: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
53 | The circle's radius. Defaults to `0`
54 | */
55 | internal var circleRadius: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
56 |
57 | /// :nodoc:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGCircle.swift:58:29: error: cannot find 'CAShapeLayer' in scope
56 |
57 | /// :nodoc:
58 | internal var svgLayer = CAShapeLayer()
| `- error: cannot find 'CAShapeLayer' in scope
59 |
60 | /// :nodoc:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGContainerElement.swift:47:25: error: cannot find type 'CALayer' in scope
45 | The layer that stores all the SVG sublayers
46 | */
47 | var containerLayer: CALayer { get set }
| `- error: cannot find type 'CALayer' in scope
48 | }
49 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:129:27: error: cannot find type 'CALayer' in scope
127 | */
128 | public protocol Transformable {
129 | var layerToTransform: CALayer { get }
| `- error: cannot find type 'CALayer' in scope
130 | }
131 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGShapeElement.swift:46:19: error: cannot find type 'CAShapeLayer' in scope
44 | The `CAShapeLayer` that can draw the path data.
45 | */
46 | var svgLayer: CAShapeLayer { get set }
| `- error: cannot find type 'CAShapeLayer' in scope
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGCircle.swift:67:23: error: cannot find 'CGFloat' in scope
65 | */
66 | internal func radius(r: String) {
67 | guard let r = CGFloat(lengthString: r) else {
| `- error: cannot find 'CGFloat' in scope
68 | return
69 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGCircle.swift:77:23: error: cannot find 'CGFloat' in scope
75 | */
76 | internal func xCenter(x: String) {
77 | guard let x = CGFloat(lengthString: x) else {
| `- error: cannot find 'CGFloat' in scope
78 | return
79 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGCircle.swift:87:23: error: cannot find 'CGFloat' in scope
85 | */
86 | internal func yCenter(y: String) {
87 | guard let y = CGFloat(lengthString: y) else {
| `- error: cannot find 'CGFloat' in scope
88 | return
89 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGCircle.swift:106:30: error: cannot find 'circlePath' in scope
104 | let circlePath = NSBezierPath(ovalIn: circleRect)
105 | #endif
106 | self.svgLayer.path = circlePath.cgPath
| `- error: cannot find 'circlePath' in scope
107 | container.containerLayer.addSublayer(self.svgLayer)
108 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGEllipse.swift:48:34: error: cannot find 'CGPoint' in scope
46 | The ellipse's center point. Defaults to `CGRect.zero`
47 | */
48 | internal var ellipseCenter = CGPoint.zero
| `- error: cannot find 'CGPoint' in scope
49 |
50 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGEllipse.swift:53:27: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
51 | The ellipse's x radius. Defaults to `CGRect.zero`
52 | */
53 | internal var xRadius: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
54 |
55 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGEllipse.swift:58:27: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
56 | The ellipse's x radius. Defaults to `CGRect.zero`
57 | */
58 | internal var yRadius: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
59 |
60 | /// :nodoc:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGEllipse.swift:61:29: error: cannot find 'CAShapeLayer' in scope
59 |
60 | /// :nodoc:
61 | internal var svgLayer = CAShapeLayer()
| `- error: cannot find 'CAShapeLayer' in scope
62 |
63 | /// :nodoc:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGEllipse.swift:70:23: error: cannot find 'CGFloat' in scope
68 | */
69 | internal func xRadius(r: String) {
70 | guard let r = CGFloat(lengthString: r) else {
| `- error: cannot find 'CGFloat' in scope
71 | return
72 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGEllipse.swift:80:23: error: cannot find 'CGFloat' in scope
78 | */
79 | internal func yRadius(r: String) {
80 | guard let r = CGFloat(lengthString: r) else {
| `- error: cannot find 'CGFloat' in scope
81 | return
82 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGEllipse.swift:90:23: error: cannot find 'CGFloat' in scope
88 | */
89 | internal func xCenter(x: String) {
90 | guard let x = CGFloat(lengthString: x) else {
| `- error: cannot find 'CGFloat' in scope
91 | return
92 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGEllipse.swift:100:23: error: cannot find 'CGFloat' in scope
98 | */
99 | internal func yCenter(y: String) {
100 | guard let y = CGFloat(lengthString: y) else {
| `- error: cannot find 'CGFloat' in scope
101 | return
102 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGEllipse.swift:113:27: error: cannot find 'CGRect' in scope
111 | return
112 | }
113 | let ellipseRect = CGRect(x: self.ellipseCenter.x - self.xRadius, y: self.ellipseCenter.y - self.yRadius, width: 2 * self.xRadius, height: 2 * self.yRadius)
| `- error: cannot find 'CGRect' in scope
114 | let circlePath = UIBezierPath(ovalIn: ellipseRect)
115 | self.svgLayer.path = circlePath.cgPath
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/ParsesAsynchronously.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ParsesAsynchronously.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGCircle.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SVGCircle.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGContainerElement.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SVGContainerElement.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGElement.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SVGElement.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGEllipse.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SVGEllipse.swift
SwiftCompile normal arm64_32 Compiling\ SVGRectangle.swift,\ SVGRootElement.swift,\ SVGShapeElement.swift,\ BinaryFloatingPoint+ParseLengthString.swift,\ CALayer+Sublayers.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRectangle.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRootElement.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGShapeElement.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/BinaryFloatingPoint+ParseLengthString.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/CALayer+Sublayers.swift (in target 'SwiftSVG' from project 'SwiftSVG')
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRectangle.swift:49:34: error: cannot find 'CGRect' in scope
47 | The CGRect for the rectangle
48 | */
49 | internal var rectangleRect = CGRect()
| `- error: cannot find 'CGRect' in scope
50 |
51 | /// :nodoc:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRectangle.swift:52:29: error: cannot find 'CAShapeLayer' in scope
50 |
51 | /// :nodoc:
52 | internal var svgLayer = CAShapeLayer()
| `- error: cannot find 'CAShapeLayer' in scope
53 |
54 | /// :nodoc:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRectangle.swift:60:34: error: cannot find 'CGFloat' in scope
58 | The x radius of the corner oval. Defaults to `0`
59 | */
60 | internal var xCornerRadius = CGFloat(0.0)
| `- error: cannot find 'CGFloat' in scope
61 |
62 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRectangle.swift:65:34: error: cannot find 'CGFloat' in scope
63 | The y radius of the corner oval. Defaults to `0`
64 | */
65 | internal var yCornerRadius = CGFloat(0.0)
| `- error: cannot find 'CGFloat' in scope
66 |
67 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGContainerElement.swift:47:25: error: cannot find type 'CALayer' in scope
45 | The layer that stores all the SVG sublayers
46 | */
47 | var containerLayer: CALayer { get set }
| `- error: cannot find type 'CALayer' in scope
48 | }
49 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:129:27: error: cannot find type 'CALayer' in scope
127 | */
128 | public protocol Transformable {
129 | var layerToTransform: CALayer { get }
| `- error: cannot find type 'CALayer' in scope
130 | }
131 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGShapeElement.swift:46:19: error: cannot find type 'CAShapeLayer' in scope
44 | The `CAShapeLayer` that can draw the path data.
45 | */
46 | var svgLayer: CAShapeLayer { get set }
| `- error: cannot find type 'CAShapeLayer' in scope
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRectangle.swift:71:23: error: cannot find 'CGFloat' in scope
69 | */
70 | internal func parseX(x: String) {
71 | guard let x = CGFloat(x) else {
| `- error: cannot find 'CGFloat' in scope
72 | return
73 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRectangle.swift:81:23: error: cannot find 'CGFloat' in scope
79 | */
80 | internal func parseY(y: String) {
81 | guard let y = CGFloat(y) else {
| `- error: cannot find 'CGFloat' in scope
82 | return
83 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRectangle.swift:91:28: error: cannot find 'CGFloat' in scope
89 | */
90 | internal func rectangleHeight(height: String) {
91 | guard let height = CGFloat(height) else {
| `- error: cannot find 'CGFloat' in scope
92 | return
93 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRectangle.swift:101:27: error: cannot find 'CGFloat' in scope
99 | */
100 | internal func rectangleWidth(width: String) {
101 | guard let width = CGFloat(width) else {
| `- error: cannot find 'CGFloat' in scope
102 | return
103 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRectangle.swift:111:35: error: cannot find 'CGFloat' in scope
109 | */
110 | internal func xCornerRadius(xCornerRadius: String) {
111 | guard let xCornerRadius = CGFloat(xCornerRadius) else {
| `- error: cannot find 'CGFloat' in scope
112 | return
113 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRectangle.swift:114:14: error: cannot assign to value: 'xCornerRadius' is a method
112 | return
113 | }
114 | self.xCornerRadius = xCornerRadius
| `- error: cannot assign to value: 'xCornerRadius' is a method
115 | }
116 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRectangle.swift:121:35: error: cannot find 'CGFloat' in scope
119 | */
120 | internal func yCornerRadius(yCornerRadius: String) {
121 | guard let yCornerRadius = CGFloat(yCornerRadius) else {
| `- error: cannot find 'CGFloat' in scope
122 | return
123 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRectangle.swift:124:14: error: cannot assign to value: 'yCornerRadius' is a method
122 | return
123 | }
124 | self.yCornerRadius = yCornerRadius
| `- error: cannot assign to value: 'yCornerRadius' is a method
125 | }
126 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRectangle.swift:144:28: error: cannot find type 'UIBezierPath' in scope
142 | // -Michael Choe 06.28.17
143 |
144 | let rectanglePath: UIBezierPath
| `- error: cannot find type 'UIBezierPath' in scope
145 | if (self.xCornerRadius > 0 || self.yCornerRadius > 0) {
146 | #if os(iOS) || os(tvOS)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRectangle.swift:145:32: error: type '(String) -> ()' cannot conform to 'BinaryInteger' [#ProtocolTypeNonConformance]
143 |
144 | let rectanglePath: UIBezierPath
145 | if (self.xCornerRadius > 0 || self.yCornerRadius > 0) {
| |- error: type '(String) -> ()' cannot conform to 'BinaryInteger' [#ProtocolTypeNonConformance]
| |- note: only concrete types such as structs, enums and classes can conform to protocols
| `- note: required by referencing operator function '>' on 'BinaryInteger' where 'Self' = '(String) -> ()'
146 | #if os(iOS) || os(tvOS)
147 | rectanglePath = UIBezierPath(roundedRect: self.rectangleRect, byRoundingCorners: UIRectCorner.allCorners, cornerRadii: CGSize(width: self.xCornerRadius, height: self.yCornerRadius))
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRectangle.swift:145:58: error: type '(String) -> ()' cannot conform to 'BinaryInteger' [#ProtocolTypeNonConformance]
143 |
144 | let rectanglePath: UIBezierPath
145 | if (self.xCornerRadius > 0 || self.yCornerRadius > 0) {
| |- error: type '(String) -> ()' cannot conform to 'BinaryInteger' [#ProtocolTypeNonConformance]
| |- note: only concrete types such as structs, enums and classes can conform to protocols
| `- note: required by referencing operator function '>' on 'BinaryInteger' where 'Self' = '(String) -> ()'
146 | #if os(iOS) || os(tvOS)
147 | rectanglePath = UIBezierPath(roundedRect: self.rectangleRect, byRoundingCorners: UIRectCorner.allCorners, cornerRadii: CGSize(width: self.xCornerRadius, height: self.yCornerRadius))
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRectangle.swift:155:29: error: cannot find 'UIBezierPath' in scope
153 |
154 | } else {
155 | rectanglePath = UIBezierPath(rect: self.rectangleRect)
| `- error: cannot find 'UIBezierPath' in scope
156 | }
157 | self.svgLayer.path = rectanglePath.cgPath
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRootElement.swift:50:35: error: cannot find 'CALayer' in scope
48 |
49 | // :nodoc:
50 | internal var containerLayer = CALayer()
| `- error: cannot find 'CALayer' in scope
51 |
52 | // :nodoc:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRootElement.swift:59:24: error: cannot find 'CGFloat' in scope
57 | */
58 | internal func parseWidth(lengthString: String) {
59 | if let width = CGFloat(lengthString: lengthString) {
| `- error: cannot find 'CGFloat' in scope
60 | self.containerLayer.frame.size.width = width
61 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRootElement.swift:68:25: error: cannot find 'CGFloat' in scope
66 | */
67 | internal func parseHeight(lengthString: String) {
68 | if let height = CGFloat(lengthString: lengthString) {
| `- error: cannot find 'CGFloat' in scope
69 | self.containerLayer.frame.size.height = height
70 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRootElement.swift:81:38: error: cannot find 'CharacterSet' in scope
79 | internal func viewBox(coordinates: String) {
80 | let points = coordinates
81 | .components(separatedBy: CharacterSet(charactersIn: ", "))
| `- error: cannot find 'CharacterSet' in scope
82 | .compactMap { (thisString) -> Double? in
83 | return Double(thisString.trimWhitespace())
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRootElement.swift:88:37: error: cannot find 'CGRect' in scope
86 | return
87 | }
88 | self.containerLayer.frame = CGRect(x: points[0], y: points[1], width: points[2], height: points[3])
| `- error: cannot find 'CGRect' in scope
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGShapeElement.swift:54:22: error: cannot find type 'CGRect' in scope
52 | The minimum rect that encompasses all of the subpaths
53 | */
54 | var boundingBox: CGRect? {
| `- error: cannot find type 'CGRect' in scope
55 | return self.svgLayer.path?.boundingBox
56 | }
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRectangle.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SVGRectangle.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRootElement.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SVGRootElement.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGShapeElement.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SVGShapeElement.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/BinaryFloatingPoint+ParseLengthString.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile BinaryFloatingPoint+ParseLengthString.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/CALayer+Sublayers.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CALayer+Sublayers.swift
SwiftCompile normal arm64_32 Compiling\ UIColor+Extensions.swift,\ Unown.swift,\ CoordinateLexer.swift,\ PathCommand.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/UIColor+Extensions.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/Unown.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/CoordinateLexer.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift (in target 'SwiftSVG' from project 'SwiftSVG')
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/UIColor+Extensions.swift:43:37: error: cannot find type 'CGColor' in scope
41 |
42 | /// Dictionary of named colors
43 | private let fromJSON: [String : CGColor] = {
| `- error: cannot find type 'CGColor' in scope
44 | guard let colorDictionary: [String : String] = Dictionary(jsonFile: "cssColorNames") else {
45 | return [:]
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/UIColor+Extensions.swift:49:37: error: cannot find 'UIColor' in scope
47 | return colorDictionary
48 | .compactMapValues({ (hexString) -> CGColor? in
49 | guard let asColor = UIColor(hexString: hexString)?.cgColor else {
| `- error: cannot find 'UIColor' in scope
50 | return nil
51 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/UIColor+Extensions.swift:48:48: error: cannot find type 'CGColor' in scope
46 | }
47 | return colorDictionary
48 | .compactMapValues({ (hexString) -> CGColor? in
| `- error: cannot find type 'CGColor' in scope
49 | guard let asColor = UIColor(hexString: hexString)?.cgColor else {
50 | return nil
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/UIColor+Extensions.swift:57:33: error: cannot find type 'CGColor' in scope
55 |
56 | /// Subscript to access the named color. Must be one of the officially supported values listed [here](https://www.w3.org/TR/SVGColor12/#icccolor)
57 | subscript(index: String) -> CGColor? {
| `- error: cannot find type 'CGColor' in scope
58 | return self.fromJSON[index]
59 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/UIColor+Extensions.swift:63:18: error: cannot find type 'CGColor' in scope
61 |
62 |
63 | public extension CGColor {
| `- error: cannot find type 'CGColor' in scope
64 |
65 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/UIColor+Extensions.swift:73:18: error: cannot find type 'UIColor' in scope
71 | }
72 |
73 | public extension UIColor {
| `- error: cannot find type 'UIColor' in scope
74 |
75 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:72:27: error: cannot find type 'UIBezierPath' in scope
70 | - Parameter previousCommand: An optional previous command. Used primarily with the shortcut cubic and quadratic Bezier types
71 | */
72 | func execute(on path: UIBezierPath, previousCommand: PreviousCommand?)
| `- error: cannot find type 'UIBezierPath' in scope
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:126:69: error: cannot find type 'CGPoint' in scope
124 | Based on the `PathType` of this PathCommand, this function returns the relative or absolute point
125 | */
126 | func pointForPathType(_ point: CGPoint, relativeTo: CGPoint) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
127 | switch self.pathType {
128 | case .absolute:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:126:36: error: cannot find type 'CGPoint' in scope
124 | Based on the `PathType` of this PathCommand, this function returns the relative or absolute point
125 | */
126 | func pointForPathType(_ point: CGPoint, relativeTo: CGPoint) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
127 | switch self.pathType {
128 | case .absolute:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:126:57: error: cannot find type 'CGPoint' in scope
124 | Based on the `PathType` of this PathCommand, this function returns the relative or absolute point
125 | */
126 | func pointForPathType(_ point: CGPoint, relativeTo: CGPoint) -> CGPoint {
| `- error: cannot find type 'CGPoint' in scope
127 | switch self.pathType {
128 | case .absolute:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:173:36: error: cannot find type 'UIBezierPath' in scope
171 | ```
172 | */
173 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
| `- error: cannot find type 'UIBezierPath' in scope
174 |
175 | if previousCommand is MoveTo {
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:209:36: error: cannot find type 'UIBezierPath' in scope
207 | Closes the current path
208 | */
209 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
| `- error: cannot find type 'UIBezierPath' in scope
210 | path.close()
211 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:237:36: error: cannot find type 'UIBezierPath' in scope
235 | Creates a line from the `path.currentPoint` to point `CGPoint(self.coordinateBuffer[0], coordinateBuffer[1])`
236 | */
237 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
| `- error: cannot find type 'UIBezierPath' in scope
238 | let point = self.pointForPathType(CGPoint(x: self.coordinateBuffer[0], y: self.coordinateBuffer[1]), relativeTo: path.currentPoint)
239 | path.addLine(to: point)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:265:36: error: cannot find type 'UIBezierPath' in scope
263 | Adds a horizontal line from the currentPoint to `CGPoint(self.coordinateBuffer[0], path.currentPoint.y)`
264 | */
265 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
| `- error: cannot find type 'UIBezierPath' in scope
266 | let x = self.coordinateBuffer[0]
267 | let point = (self.pathType == .absolute ? CGPoint(x: CGFloat(x), y: path.currentPoint.y) : CGPoint(x: path.currentPoint.x + CGFloat(x), y: path.currentPoint.y))
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:294:36: error: cannot find type 'UIBezierPath' in scope
292 | Adds a vertical line from the currentPoint to `CGPoint(path.currentPoint.y, self.coordinateBuffer[0])`
293 | */
294 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
| `- error: cannot find type 'UIBezierPath' in scope
295 | let y = self.coordinateBuffer[0]
296 | let point = (self.pathType == .absolute ? CGPoint(x: path.currentPoint.x, y: CGFloat(y)) : CGPoint(x: path.currentPoint.x, y: path.currentPoint.y + CGFloat(y)))
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:323:36: error: cannot find type 'UIBezierPath' in scope
321 | Adds a cubic Bezier curve to `path`. The path will end up at `CGPoint(self.coordinateBuffer[4], self.coordinateBuffer[5])`. The control point for `path.currentPoint` will be `CGPoint(self.coordinateBuffer[0], self.coordinateBuffer[1])`. Then controle point for the end point will be CGPoint(self.coordinateBuffer[2], self.coordinateBuffer[3])
322 | */
323 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
| `- error: cannot find type 'UIBezierPath' in scope
324 | let startControl = self.pointForPathType(CGPoint(x: self.coordinateBuffer[0], y: self.coordinateBuffer[1]), relativeTo: path.currentPoint)
325 | let endControl = self.pointForPathType(CGPoint(x: self.coordinateBuffer[2], y: self.coordinateBuffer[3]), relativeTo: path.currentPoint)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:353:36: error: cannot find type 'UIBezierPath' in scope
351 | Shortcut cubic Bezier curve to that add a new path ending up at `CGPoint(self.coordinateBuffer[0], self.coordinateBuffer[1])` with a single control point in the middle.
352 | */
353 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
| `- error: cannot find type 'UIBezierPath' in scope
354 |
355 | let point = self.pointForPathType(CGPoint(x: self.coordinateBuffer[2], y: self.coordinateBuffer[3]), relativeTo: path.currentPoint)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:419:36: error: cannot find type 'UIBezierPath' in scope
417 | }
418 |
419 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
| `- error: cannot find type 'UIBezierPath' in scope
420 | let controlPoint = self.pointForPathType(CGPoint(x: self.coordinateBuffer[0], y: self.coordinateBuffer[1]), relativeTo: path.currentPoint)
421 | let point = self.pointForPathType(CGPoint(x: self.coordinateBuffer[2], y: self.coordinateBuffer[3]), relativeTo: path.currentPoint)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:441:40: error: cannot find type 'CGPoint' in scope
439 |
440 | /// :nodoc:
441 | internal var previousControlPoint: CGPoint? = nil
| `- error: cannot find type 'CGPoint' in scope
442 |
443 | /// :nodoc:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:448:36: error: cannot find type 'UIBezierPath' in scope
446 | }
447 |
448 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
| `- error: cannot find type 'UIBezierPath' in scope
449 |
450 | let point = self.pointForPathType(CGPoint(x: self.coordinateBuffer[0], y: self.coordinateBuffer[1]), relativeTo: path.currentPoint)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:498:36: error: cannot find type 'UIBezierPath' in scope
496 |
497 | /// :nodoc:
498 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
| `- error: cannot find type 'UIBezierPath' in scope
499 | assert(false, "Needs Implementation")
500 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:131:20: error: cannot find 'CGPoint' in scope
129 | return point
130 | case .relative:
131 | return CGPoint(x: point.x + relativeTo.x, y: point.y + relativeTo.y)
| `- error: cannot find 'CGPoint' in scope
132 | }
133 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:182:43: error: cannot find 'CGPoint' in scope
180 | }
181 |
182 | let point = self.pointForPathType(CGPoint(x: self.coordinateBuffer[0], y: self.coordinateBuffer[1]), relativeTo: path.currentPoint)
| `- error: cannot find 'CGPoint' in scope
183 | path.move(to: point)
184 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:238:43: error: cannot find 'CGPoint' in scope
236 | */
237 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
238 | let point = self.pointForPathType(CGPoint(x: self.coordinateBuffer[0], y: self.coordinateBuffer[1]), relativeTo: path.currentPoint)
| `- error: cannot find 'CGPoint' in scope
239 | path.addLine(to: point)
240 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:267:51: error: cannot find 'CGPoint' in scope
265 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
266 | let x = self.coordinateBuffer[0]
267 | let point = (self.pathType == .absolute ? CGPoint(x: CGFloat(x), y: path.currentPoint.y) : CGPoint(x: path.currentPoint.x + CGFloat(x), y: path.currentPoint.y))
| `- error: cannot find 'CGPoint' in scope
268 | path.addLine(to: point)
269 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:267:62: error: cannot find 'CGFloat' in scope
265 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
266 | let x = self.coordinateBuffer[0]
267 | let point = (self.pathType == .absolute ? CGPoint(x: CGFloat(x), y: path.currentPoint.y) : CGPoint(x: path.currentPoint.x + CGFloat(x), y: path.currentPoint.y))
| `- error: cannot find 'CGFloat' in scope
268 | path.addLine(to: point)
269 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:267:100: error: cannot find 'CGPoint' in scope
265 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
266 | let x = self.coordinateBuffer[0]
267 | let point = (self.pathType == .absolute ? CGPoint(x: CGFloat(x), y: path.currentPoint.y) : CGPoint(x: path.currentPoint.x + CGFloat(x), y: path.currentPoint.y))
| `- error: cannot find 'CGPoint' in scope
268 | path.addLine(to: point)
269 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:267:133: error: cannot find 'CGFloat' in scope
265 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
266 | let x = self.coordinateBuffer[0]
267 | let point = (self.pathType == .absolute ? CGPoint(x: CGFloat(x), y: path.currentPoint.y) : CGPoint(x: path.currentPoint.x + CGFloat(x), y: path.currentPoint.y))
| `- error: cannot find 'CGFloat' in scope
268 | path.addLine(to: point)
269 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:296:51: error: cannot find 'CGPoint' in scope
294 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
295 | let y = self.coordinateBuffer[0]
296 | let point = (self.pathType == .absolute ? CGPoint(x: path.currentPoint.x, y: CGFloat(y)) : CGPoint(x: path.currentPoint.x, y: path.currentPoint.y + CGFloat(y)))
| `- error: cannot find 'CGPoint' in scope
297 | path.addLine(to: point)
298 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:296:86: error: cannot find 'CGFloat' in scope
294 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
295 | let y = self.coordinateBuffer[0]
296 | let point = (self.pathType == .absolute ? CGPoint(x: path.currentPoint.x, y: CGFloat(y)) : CGPoint(x: path.currentPoint.x, y: path.currentPoint.y + CGFloat(y)))
| `- error: cannot find 'CGFloat' in scope
297 | path.addLine(to: point)
298 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:296:100: error: cannot find 'CGPoint' in scope
294 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
295 | let y = self.coordinateBuffer[0]
296 | let point = (self.pathType == .absolute ? CGPoint(x: path.currentPoint.x, y: CGFloat(y)) : CGPoint(x: path.currentPoint.x, y: path.currentPoint.y + CGFloat(y)))
| `- error: cannot find 'CGPoint' in scope
297 | path.addLine(to: point)
298 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:296:157: error: cannot find 'CGFloat' in scope
294 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
295 | let y = self.coordinateBuffer[0]
296 | let point = (self.pathType == .absolute ? CGPoint(x: path.currentPoint.x, y: CGFloat(y)) : CGPoint(x: path.currentPoint.x, y: path.currentPoint.y + CGFloat(y)))
| `- error: cannot find 'CGFloat' in scope
297 | path.addLine(to: point)
298 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:324:50: error: cannot find 'CGPoint' in scope
322 | */
323 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
324 | let startControl = self.pointForPathType(CGPoint(x: self.coordinateBuffer[0], y: self.coordinateBuffer[1]), relativeTo: path.currentPoint)
| `- error: cannot find 'CGPoint' in scope
325 | let endControl = self.pointForPathType(CGPoint(x: self.coordinateBuffer[2], y: self.coordinateBuffer[3]), relativeTo: path.currentPoint)
326 | let point = self.pointForPathType(CGPoint(x: self.coordinateBuffer[4], y: self.coordinateBuffer[5]), relativeTo: path.currentPoint)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:325:48: error: cannot find 'CGPoint' in scope
323 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
324 | let startControl = self.pointForPathType(CGPoint(x: self.coordinateBuffer[0], y: self.coordinateBuffer[1]), relativeTo: path.currentPoint)
325 | let endControl = self.pointForPathType(CGPoint(x: self.coordinateBuffer[2], y: self.coordinateBuffer[3]), relativeTo: path.currentPoint)
| `- error: cannot find 'CGPoint' in scope
326 | let point = self.pointForPathType(CGPoint(x: self.coordinateBuffer[4], y: self.coordinateBuffer[5]), relativeTo: path.currentPoint)
327 | path.addCurve(to: point, controlPoint1: startControl, controlPoint2: endControl)
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:326:43: error: cannot find 'CGPoint' in scope
324 | let startControl = self.pointForPathType(CGPoint(x: self.coordinateBuffer[0], y: self.coordinateBuffer[1]), relativeTo: path.currentPoint)
325 | let endControl = self.pointForPathType(CGPoint(x: self.coordinateBuffer[2], y: self.coordinateBuffer[3]), relativeTo: path.currentPoint)
326 | let point = self.pointForPathType(CGPoint(x: self.coordinateBuffer[4], y: self.coordinateBuffer[5]), relativeTo: path.currentPoint)
| `- error: cannot find 'CGPoint' in scope
327 | path.addCurve(to: point, controlPoint1: startControl, controlPoint2: endControl)
328 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:355:43: error: cannot find 'CGPoint' in scope
353 | internal func execute(on path: UIBezierPath, previousCommand: PreviousCommand? = nil) {
354 |
355 | let point = self.pointForPathType(CGPoint(x: self.coordinateBuffer[2], y: self.coordinateBuffer[3]), relativeTo: path.currentPoint)
| `- error: cannot find 'CGPoint' in scope
356 | let controlEnd = self.pointForPathType(CGPoint(x: self.coordinateBuffer[0], y: self.coordinateBuffer[1]), relativeTo: path.currentPoint)
357 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:356:48: error: cannot find 'CGPoint' in scope
354 |
355 | let point = self.pointForPathType(CGPoint(x: self.coordinateBuffer[2], y: self.coordinateBuffer[3]), relativeTo: path.currentPoint)
356 | let controlEnd = self.pointForPathType(CGPoint(x: self.coordinateBuffer[0], y: self.coordinateBuffer[1]), relativeTo: path.currentPoint)
| `- error: cannot find 'CGPoint' in scope
357 |
358 | let controlStart: CGPoint
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:358:27: error: cannot find type 'CGPoint' in scope
356 | let controlEnd = self.pointForPathType(CGPoint(x: self.coordinateBuffer[0], y: self.coordinateBuffer[1]), relativeTo: path.currentPoint)
357 |
358 | let controlStart: CGPoint
| `- error: cannot find type 'CGPoint' in scope
359 | if let previousCurveTo = previousCommand as? CurveTo {
360 | switch previousCurveTo.pathType {
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:362:32: error: cannot find 'CGPoint' in scope
360 | switch previousCurveTo.pathType {
361 | case .absolute:
362 | controlStart = CGPoint(
| `- error: cannot find 'CGPoint' in scope
363 | x: Double(2.0 * path.currentPoint.x) - previousCurveTo.coordinateBuffer[2],
364 | y: Double(2.0 * path.currentPoint.y) - previousCurveTo.coordinateBuffer[3]
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/UIColor+Extensions.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIColor+Extensions.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Helpers/Unown.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Unown.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/CoordinateLexer.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CoordinateLexer.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PathCommand.swift
SwiftCompile normal arm64_32 Compiling\ PathDLexer.swift,\ NSXMLSVGParser.swift,\ SVGParser.swift,\ SVGParserSupportedElements.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathDLexer.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/SVGParser.swift /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/SVGParserSupportedElements.swift (in target 'SwiftSVG' from project 'SwiftSVG')
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathCommand.swift:72:27: error: cannot find type 'UIBezierPath' in scope
70 | - Parameter previousCommand: An optional previous command. Used primarily with the shortcut cubic and quadratic Bezier types
71 | */
72 | func execute(on path: UIBezierPath, previousCommand: PreviousCommand?)
| `- error: cannot find type 'UIBezierPath' in scope
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:48:28: error: cannot find type 'XMLParser' in scope
46 | */
47 |
48 | open class NSXMLSVGParser: XMLParser, XMLParserDelegate {
| `- error: cannot find type 'XMLParser' in scope
49 |
50 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:48:39: error: cannot find type 'XMLParserDelegate' in scope
46 | */
47 |
48 | open class NSXMLSVGParser: XMLParser, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
49 |
50 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/SVGParser.swift:60:19: error: cannot find type 'Data' in scope
58 | - completion: A closure to execute after the parser has completed parsing and processing the SVG
59 | */
60 | init(svgData: Data, supportedElements: SVGParserSupportedElements?, completion: ((SVGLayer) -> ())?)
| `- error: cannot find type 'Data' in scope
61 |
62 | /// A closure that is executed after all elements have been processed. Should be guaranteed to be executed after all elements have been processed, even if parsing asynchronously.
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:77:27: error: cannot find 'DispatchQueue' in scope
75 |
76 | /// :nodoc:
77 | let asyncCountQueue = DispatchQueue(label: "com.straussmade.swiftsvg.asyncCountQueue.serial", qos: .userInteractive)
| `- error: cannot find 'DispatchQueue' in scope
78 |
79 | /// :nodoc:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:90:37: error: cannot find type 'URL' in scope
88 | - parameter completion: Optional completion block that will be executed after all elements and attribites have been parsed.
89 | */
90 | public convenience init(svgURL: URL, supportedElements: SVGParserSupportedElements? = nil, completion: ((SVGLayer) -> ())? = nil) {
| `- error: cannot find type 'URL' in scope
91 |
92 | do {
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:103:37: error: cannot find type 'URL' in scope
101 | /// :nodoc:
102 | @available(*, deprecated, renamed: "init(svgURL:supportedElements:completion:)")
103 | public convenience init(SVGURL: URL, supportedElements: SVGParserSupportedElements? = nil, completion: ((SVGLayer) -> ())? = nil) {
| `- error: cannot find type 'URL' in scope
104 | self.init(svgURL: SVGURL, supportedElements: supportedElements, completion: completion)
105 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:113:35: error: cannot find type 'Data' in scope
111 | - parameter completion: Optional completion block that will be executed after all elements and attribites have been parsed.
112 | */
113 | public required init(svgData: Data, supportedElements: SVGParserSupportedElements? = SVGParserSupportedElements.allSupportedElements, completion: ((SVGLayer) -> ())? = nil) {
| `- error: cannot find type 'Data' in scope
114 | super.init(data: svgData)
115 | self.delegate = self
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:122:38: error: cannot find type 'Data' in scope
120 | /// :nodoc:
121 | @available(*, deprecated, renamed: "init(svgData:supportedElements:completion:)")
122 | public convenience init(SVGData: Data, supportedElements: SVGParserSupportedElements? = SVGParserSupportedElements.allSupportedElements, completion: ((SVGLayer) -> ())? = nil) {
| `- error: cannot find type 'Data' in scope
123 | self.init(svgData: SVGData, supportedElements: supportedElements, completion: completion)
124 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:139:32: error: cannot find type 'XMLParser' in scope
137 | The `XMLParserDelegate` method called when the parser has started parsing an SVG element. This implementation will loop through all supported attributes and dispatch the attribiute value to the given curried function.
138 | */
139 | open func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String]) {
| `- error: cannot find type 'XMLParser' in scope
140 |
141 | guard let elementType = self.supportedElements?.tags[elementName] else {
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:171:32: error: cannot find type 'XMLParser' in scope
169 | If the parser has finished parsing a `<svg>` element, that `SVGRootElement`'s container layer is added to this parser's `containerLayer`.
170 | */
171 | open func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
| `- error: cannot find type 'XMLParser' in scope
172 |
173 | guard let last = self.elementStack.last else {
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:209:48: error: cannot find type 'XMLParser' in scope
207 | - SeeAlso: `XMLParserDelegate` (`parserDidEndDocument(_:)`)[https://developer.apple.com/documentation/foundation/xmlparserdelegate/1418172-parserdidenddocument]
208 | */
209 | public func parserDidEndDocument(_ parser: XMLParser) {
| `- error: cannot find type 'XMLParser' in scope
210 |
211 | self.asyncCountQueue.sync {
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:227:34: error: cannot find type 'XMLParser' in scope
225 | - SeeAlso: (SVG Validator)[https://validator.w3.org/]
226 | */
227 | public func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
| `- error: cannot find type 'XMLParser' in scope
228 | print("Parse Error: \(parseError)")
229 | let code = (parseError as NSError).code
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:246:52: error: cannot find type 'CGRect' in scope
244 | Method that resizes the container bounding box that fits all the subpaths.
245 | */
246 | func resizeContainerBoundingBox(_ boundingBox: CGRect?) {
| `- error: cannot find type 'CGRect' in scope
247 | guard let thisBoundingBox = boundingBox else {
248 | return
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:262:43: error: cannot find type 'CAShapeLayer' in scope
260 | The `CanManageAsychronousParsing` callback called when an `ParsesAsynchronously` element has finished parsing
261 | */
262 | func finishedProcessing(_ shapeLayer: CAShapeLayer) {
| `- error: cannot find type 'CAShapeLayer' in scope
263 |
264 | self.asyncCountQueue.sync {
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/ParsesAsynchronously.swift:46:43: error: cannot find type 'CAShapeLayer' in scope
44 | - Parameter shapeLayer: The completed layer
45 | */
46 | func finishedProcessing(_ shapeLayer: CAShapeLayer)
| `- error: cannot find type 'CAShapeLayer' in scope
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:81:9: error: 'super' cannot be used in class 'NSXMLSVGParser' because it has no superclass
79 | /// :nodoc:
80 | private init() {
81 | super.init(data: Data())
| `- error: 'super' cannot be used in class 'NSXMLSVGParser' because it has no superclass
82 | }
83 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:81:26: error: cannot find 'Data' in scope
79 | /// :nodoc:
80 | private init() {
81 | super.init(data: Data())
| `- error: cannot find 'Data' in scope
82 | }
83 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:93:31: error: cannot find 'Data' in scope
91 |
92 | do {
93 | let urlData = try Data(contentsOf: svgURL)
| `- error: cannot find 'Data' in scope
94 | self.init(svgData: urlData, supportedElements: supportedElements, completion: completion)
95 | } catch {
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:94:22: error: argument passed to call that takes no arguments
92 | do {
93 | let urlData = try Data(contentsOf: svgURL)
94 | self.init(svgData: urlData, supportedElements: supportedElements, completion: completion)
| `- error: argument passed to call that takes no arguments
95 | } catch {
96 | self.init()
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:104:18: error: argument passed to call that takes no arguments
102 | @available(*, deprecated, renamed: "init(svgURL:supportedElements:completion:)")
103 | public convenience init(SVGURL: URL, supportedElements: SVGParserSupportedElements? = nil, completion: ((SVGLayer) -> ())? = nil) {
104 | self.init(svgURL: SVGURL, supportedElements: supportedElements, completion: completion)
| `- error: argument passed to call that takes no arguments
105 | }
106 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:114:9: error: 'super' cannot be used in class 'NSXMLSVGParser' because it has no superclass
112 | */
113 | public required init(svgData: Data, supportedElements: SVGParserSupportedElements? = SVGParserSupportedElements.allSupportedElements, completion: ((SVGLayer) -> ())? = nil) {
114 | super.init(data: svgData)
| `- error: 'super' cannot be used in class 'NSXMLSVGParser' because it has no superclass
115 | self.delegate = self
116 | self.supportedElements = supportedElements
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:115:14: error: value of type 'NSXMLSVGParser' has no member 'delegate'
113 | public required init(svgData: Data, supportedElements: SVGParserSupportedElements? = SVGParserSupportedElements.allSupportedElements, completion: ((SVGLayer) -> ())? = nil) {
114 | super.init(data: svgData)
115 | self.delegate = self
| `- error: value of type 'NSXMLSVGParser' has no member 'delegate'
116 | self.supportedElements = supportedElements
117 | self.completionBlock = completion
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:123:18: error: argument passed to call that takes no arguments
121 | @available(*, deprecated, renamed: "init(svgData:supportedElements:completion:)")
122 | public convenience init(SVGData: Data, supportedElements: SVGParserSupportedElements? = SVGParserSupportedElements.allSupportedElements, completion: ((SVGLayer) -> ())? = nil) {
123 | self.init(svgData: SVGData, supportedElements: supportedElements, completion: completion)
| `- error: argument passed to call that takes no arguments
124 | }
125 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:133:14: error: value of type 'NSXMLSVGParser' has no member 'parse'
131 | self.didDispatchAllElements = false
132 | }
133 | self.parse()
| `- error: value of type 'NSXMLSVGParser' has no member 'parse'
134 | }
135 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:186:13: error: cannot find 'DispatchQueue' in scope
184 |
185 | if let rootItem = lastElement as? SVGRootElement {
186 | DispatchQueue.main.safeAsync {
| `- error: cannot find 'DispatchQueue' in scope
187 | self.containerLayer.addSublayer(rootItem.containerLayer)
188 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGContainerElement.swift:47:25: error: cannot find type 'CALayer' in scope
45 | The layer that stores all the SVG sublayers
46 | */
47 | var containerLayer: CALayer { get set }
| `- error: cannot find type 'CALayer' in scope
48 | }
49 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRootElement.swift:50:35: error: cannot find 'CALayer' in scope
48 |
49 | // :nodoc:
50 | internal var containerLayer = CALayer()
| `- error: cannot find 'CALayer' in scope
51 |
52 | // :nodoc:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:187:37: error: value of type 'SVGLayer' has no member 'addSublayer'
185 | if let rootItem = lastElement as? SVGRootElement {
186 | DispatchQueue.main.safeAsync {
187 | self.containerLayer.addSublayer(rootItem.containerLayer)
| `- error: value of type 'SVGLayer' has no member 'addSublayer'
188 | }
189 | return
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Attributes/Transformable.swift:129:27: error: cannot find type 'CALayer' in scope
127 | */
128 | public protocol Transformable {
129 | var layerToTransform: CALayer { get }
| `- error: cannot find type 'CALayer' in scope
130 | }
131 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGShapeElement.swift:54:22: error: cannot find type 'CGRect' in scope
52 | The minimum rect that encompasses all of the subpaths
53 | */
54 | var boundingBox: CGRect? {
| `- error: cannot find type 'CGRect' in scope
55 | return self.svgLayer.path?.boundingBox
56 | }
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGShapeElement.swift:46:19: error: cannot find type 'CAShapeLayer' in scope
44 | The `CAShapeLayer` that can draw the path data.
45 | */
46 | var svgLayer: CAShapeLayer { get set }
| `- error: cannot find type 'CAShapeLayer' in scope
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:215:13: error: cannot find 'DispatchQueue' in scope
213 | }
214 | if self.asyncParseCount <= 0 {
215 | DispatchQueue.main.safeAsync {
| `- error: cannot find 'DispatchQueue' in scope
216 | self.completionBlock?(self.containerLayer)
217 | self.completionBlock = nil
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:229:35: error: cannot find type 'NSError' in scope
227 | public func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error) {
228 | print("Parse Error: \(parseError)")
229 | let code = (parseError as NSError).code
| `- error: cannot find type 'NSError' in scope
230 | switch code {
231 | case 76:
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:41:22: error: cannot find type 'CGRect' in scope
39 | */
40 | public protocol SVGLayerType {
41 | var boundingBox: CGRect { get }
| `- error: cannot find type 'CGRect' in scope
42 | }
43 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG Extensions/SVGLayer.swift:81:30: error: cannot find 'CGRect' in scope
79 |
80 | /// The minimum CGRect that fits all subpaths
81 | public var boundingBox = CGRect.null
| `- error: cannot find 'CGRect' in scope
82 | }
83 |
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift:273:9: error: cannot find 'DispatchQueue' in scope
271 | return
272 | }
273 | DispatchQueue.main.safeAsync {
| `- error: cannot find 'DispatchQueue' in scope
274 | self.completionBlock?(self.containerLayer)
275 | self.completionBlock = nil
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRectangle.swift:60:34: error: cannot find 'CGFloat' in scope
58 | The x radius of the corner oval. Defaults to `0`
59 | */
60 | internal var xCornerRadius = CGFloat(0.0)
| `- error: cannot find 'CGFloat' in scope
61 |
62 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGRectangle.swift:65:34: error: cannot find 'CGFloat' in scope
63 | The y radius of the corner oval. Defaults to `0`
64 | */
65 | internal var yCornerRadius = CGFloat(0.0)
| `- error: cannot find 'CGFloat' in scope
66 |
67 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPolyline.swift:50:29: error: cannot find 'CAShapeLayer' in scope
48 |
49 | /// :nodoc:
50 | internal var svgLayer = CAShapeLayer()
| `- error: cannot find 'CAShapeLayer' in scope
51 |
52 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGPolygon.swift:50:29: error: cannot find 'CAShapeLayer' in scope
48 |
49 | /// :nodoc:
50 | internal var svgLayer = CAShapeLayer()
| `- error: cannot find 'CAShapeLayer' in scope
51 |
52 | /**
/Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Elements/SVGEllipse.swift:53:27: error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
51 | The ellipse's x radius. Defaults to `CGRect.zero`
52 | */
53 | internal var xRadius: CGFloat = 0
| `- error: cannot find type 'CGFloat' in scope; did you mean to use 'CGFloat'?
54 |
55 | /**
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Iterators/PathDLexer.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PathDLexer.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/NSXMLSVGParser.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NSXMLSVGParser.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/SVGParser.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SVGParser.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/SwiftSVG/SVG/Parser/SVGParserSupportedElements.swift (in target 'SwiftSVG' from project 'SwiftSVG')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SVGParserSupportedElements.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-17 12:16:55.944 xcodebuild[796:4955] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 (in target 'SwiftSVG' from project 'SwiftSVG')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftSVG (in target 'SwiftSVG' from project 'SwiftSVG')
Building workspace SwiftSVG with scheme SwiftSVG
(3 failures)
BUILD FAILURE 6.4 watchOS