Build Information
Failed to build NativeMarkKit with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
class NativeTextAttachment: NSTextAttachment {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:28:9: error: 'super' members cannot be referenced in a root class
super.init(data: nil, ofType: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:270:49: error: cannot find type 'NSTextAttachment' in scope
func renderTextAttachment(_ textAttachment: NSTextAttachment, with styleStack: StyleStack, into result: NSMutableAttributedString) {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:283:87: error: cannot find type 'NativeFont' in scope
func defaultFont(at characterIndex: Int, in result: NSMutableAttributedString) -> NativeFont {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:14:48: error: missing argument for parameter 'string' in call
let result = NSMutableAttributedString()
^
string: <#String#>
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
override public init(string: String)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:83:57: error: cannot find type 'NativeColor' in scope
let color = attributes[.thematicBreakColor] as? NativeColor ?? .adaptableSeparatorColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:17:37: error: cannot find type 'NativeColor' in scope
init(thickness: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:272:41: error: extraneous argument label 'attachment:' in call
result.append(NSAttributedString(attachment: textAttachment))
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:280:41: error: extraneous argument label 'attachment:' in call
result.insert(NSAttributedString(attachment: attachment), at: characterIndex)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
[46/61] Compiling NativeMarkKit NativeMarkText+UIKit.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:20:25: error: value of type 'TextContainer' has no member 'size'
get { container.size }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:21:25: error: value of type 'TextContainer' has no member 'size'
set { container.size = newValue }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:25:19: error: value of type 'TextContainer' has no member 'lineFragmentPadding'
container.lineFragmentPadding = 0
~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:98: error: cannot find type 'NativeFont' in scope
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:47: error: type 'NSAttributedString.Key' has no member 'font'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:127: error: value of type 'TextStyle' has no member 'makeFont'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:21:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:43:42: error: cannot find type 'NSTextContainer' in scope
func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:123: error: cannot find type 'NativeImage' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:71: error: cannot find type 'NSTextContainer' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:19: error: method does not override any method from its superclass
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:55: error: cannot find type 'NSTextContainer' in scope
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:19: error: method does not override any method from its superclass
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:24:29: error: cannot find type 'NSTextAttachment' in scope
class NativeTextAttachment: NSTextAttachment {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:28:9: error: 'super' members cannot be referenced in a root class
super.init(data: nil, ofType: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:270:49: error: cannot find type 'NSTextAttachment' in scope
func renderTextAttachment(_ textAttachment: NSTextAttachment, with styleStack: StyleStack, into result: NSMutableAttributedString) {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:283:87: error: cannot find type 'NativeFont' in scope
func defaultFont(at characterIndex: Int, in result: NSMutableAttributedString) -> NativeFont {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:14:48: error: missing argument for parameter 'string' in call
let result = NSMutableAttributedString()
^
string: <#String#>
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
override public init(string: String)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:83:57: error: cannot find type 'NativeColor' in scope
let color = attributes[.thematicBreakColor] as? NativeColor ?? .adaptableSeparatorColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:17:37: error: cannot find type 'NativeColor' in scope
init(thickness: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:272:41: error: extraneous argument label 'attachment:' in call
result.append(NSAttributedString(attachment: textAttachment))
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:280:41: error: extraneous argument label 'attachment:' in call
result.insert(NSAttributedString(attachment: attachment), at: characterIndex)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
[47/61] Compiling NativeMarkKit NativeMarkTextContainer.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:20:25: error: value of type 'TextContainer' has no member 'size'
get { container.size }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:21:25: error: value of type 'TextContainer' has no member 'size'
set { container.size = newValue }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:25:19: error: value of type 'TextContainer' has no member 'lineFragmentPadding'
container.lineFragmentPadding = 0
~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:98: error: cannot find type 'NativeFont' in scope
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:47: error: type 'NSAttributedString.Key' has no member 'font'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:127: error: value of type 'TextStyle' has no member 'makeFont'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:21:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:43:42: error: cannot find type 'NSTextContainer' in scope
func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:123: error: cannot find type 'NativeImage' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:71: error: cannot find type 'NSTextContainer' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:19: error: method does not override any method from its superclass
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:55: error: cannot find type 'NSTextContainer' in scope
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:19: error: method does not override any method from its superclass
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:24:29: error: cannot find type 'NSTextAttachment' in scope
class NativeTextAttachment: NSTextAttachment {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:28:9: error: 'super' members cannot be referenced in a root class
super.init(data: nil, ofType: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:270:49: error: cannot find type 'NSTextAttachment' in scope
func renderTextAttachment(_ textAttachment: NSTextAttachment, with styleStack: StyleStack, into result: NSMutableAttributedString) {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:283:87: error: cannot find type 'NativeFont' in scope
func defaultFont(at characterIndex: Int, in result: NSMutableAttributedString) -> NativeFont {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:14:48: error: missing argument for parameter 'string' in call
let result = NSMutableAttributedString()
^
string: <#String#>
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
override public init(string: String)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:83:57: error: cannot find type 'NativeColor' in scope
let color = attributes[.thematicBreakColor] as? NativeColor ?? .adaptableSeparatorColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:17:37: error: cannot find type 'NativeColor' in scope
init(thickness: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:272:41: error: extraneous argument label 'attachment:' in call
result.append(NSAttributedString(attachment: textAttachment))
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:280:41: error: extraneous argument label 'attachment:' in call
result.insert(NSAttributedString(attachment: attachment), at: characterIndex)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
[48/61] Compiling NativeMarkKit NativeTextAttachment.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:20:25: error: value of type 'TextContainer' has no member 'size'
get { container.size }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:21:25: error: value of type 'TextContainer' has no member 'size'
set { container.size = newValue }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:25:19: error: value of type 'TextContainer' has no member 'lineFragmentPadding'
container.lineFragmentPadding = 0
~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:98: error: cannot find type 'NativeFont' in scope
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:47: error: type 'NSAttributedString.Key' has no member 'font'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:127: error: value of type 'TextStyle' has no member 'makeFont'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:21:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:43:42: error: cannot find type 'NSTextContainer' in scope
func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:123: error: cannot find type 'NativeImage' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:71: error: cannot find type 'NSTextContainer' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:19: error: method does not override any method from its superclass
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:55: error: cannot find type 'NSTextContainer' in scope
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:19: error: method does not override any method from its superclass
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:24:29: error: cannot find type 'NSTextAttachment' in scope
class NativeTextAttachment: NSTextAttachment {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:28:9: error: 'super' members cannot be referenced in a root class
super.init(data: nil, ofType: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:270:49: error: cannot find type 'NSTextAttachment' in scope
func renderTextAttachment(_ textAttachment: NSTextAttachment, with styleStack: StyleStack, into result: NSMutableAttributedString) {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:283:87: error: cannot find type 'NativeFont' in scope
func defaultFont(at characterIndex: Int, in result: NSMutableAttributedString) -> NativeFont {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:14:48: error: missing argument for parameter 'string' in call
let result = NSMutableAttributedString()
^
string: <#String#>
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
override public init(string: String)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:83:57: error: cannot find type 'NativeColor' in scope
let color = attributes[.thematicBreakColor] as? NativeColor ?? .adaptableSeparatorColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:17:37: error: cannot find type 'NativeColor' in scope
init(thickness: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:272:41: error: extraneous argument label 'attachment:' in call
result.append(NSAttributedString(attachment: textAttachment))
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:280:41: error: extraneous argument label 'attachment:' in call
result.insert(NSAttributedString(attachment: attachment), at: characterIndex)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
[49/61] Compiling NativeMarkKit OrderedListMarkerFormat+Render.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:20:25: error: value of type 'TextContainer' has no member 'size'
get { container.size }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:21:25: error: value of type 'TextContainer' has no member 'size'
set { container.size = newValue }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:25:19: error: value of type 'TextContainer' has no member 'lineFragmentPadding'
container.lineFragmentPadding = 0
~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:98: error: cannot find type 'NativeFont' in scope
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:47: error: type 'NSAttributedString.Key' has no member 'font'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:127: error: value of type 'TextStyle' has no member 'makeFont'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:21:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:43:42: error: cannot find type 'NSTextContainer' in scope
func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:123: error: cannot find type 'NativeImage' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:71: error: cannot find type 'NSTextContainer' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:19: error: method does not override any method from its superclass
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:55: error: cannot find type 'NSTextContainer' in scope
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:19: error: method does not override any method from its superclass
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:24:29: error: cannot find type 'NSTextAttachment' in scope
class NativeTextAttachment: NSTextAttachment {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:28:9: error: 'super' members cannot be referenced in a root class
super.init(data: nil, ofType: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:270:49: error: cannot find type 'NSTextAttachment' in scope
func renderTextAttachment(_ textAttachment: NSTextAttachment, with styleStack: StyleStack, into result: NSMutableAttributedString) {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:283:87: error: cannot find type 'NativeFont' in scope
func defaultFont(at characterIndex: Int, in result: NSMutableAttributedString) -> NativeFont {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:14:48: error: missing argument for parameter 'string' in call
let result = NSMutableAttributedString()
^
string: <#String#>
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
override public init(string: String)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:83:57: error: cannot find type 'NativeColor' in scope
let color = attributes[.thematicBreakColor] as? NativeColor ?? .adaptableSeparatorColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:17:37: error: cannot find type 'NativeColor' in scope
init(thickness: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:272:41: error: extraneous argument label 'attachment:' in call
result.append(NSAttributedString(attachment: textAttachment))
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:280:41: error: extraneous argument label 'attachment:' in call
result.insert(NSAttributedString(attachment: attachment), at: characterIndex)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
[50/61] Compiling NativeMarkKit OrderedListMarkerFormatValue.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:20:25: error: value of type 'TextContainer' has no member 'size'
get { container.size }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:21:25: error: value of type 'TextContainer' has no member 'size'
set { container.size = newValue }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:25:19: error: value of type 'TextContainer' has no member 'lineFragmentPadding'
container.lineFragmentPadding = 0
~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:98: error: cannot find type 'NativeFont' in scope
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:47: error: type 'NSAttributedString.Key' has no member 'font'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:127: error: value of type 'TextStyle' has no member 'makeFont'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:21:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:43:42: error: cannot find type 'NSTextContainer' in scope
func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:123: error: cannot find type 'NativeImage' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:71: error: cannot find type 'NSTextContainer' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:19: error: method does not override any method from its superclass
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:55: error: cannot find type 'NSTextContainer' in scope
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:19: error: method does not override any method from its superclass
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:24:29: error: cannot find type 'NSTextAttachment' in scope
class NativeTextAttachment: NSTextAttachment {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:28:9: error: 'super' members cannot be referenced in a root class
super.init(data: nil, ofType: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:270:49: error: cannot find type 'NSTextAttachment' in scope
func renderTextAttachment(_ textAttachment: NSTextAttachment, with styleStack: StyleStack, into result: NSMutableAttributedString) {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:283:87: error: cannot find type 'NativeFont' in scope
func defaultFont(at characterIndex: Int, in result: NSMutableAttributedString) -> NativeFont {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:14:48: error: missing argument for parameter 'string' in call
let result = NSMutableAttributedString()
^
string: <#String#>
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
override public init(string: String)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:83:57: error: cannot find type 'NativeColor' in scope
let color = attributes[.thematicBreakColor] as? NativeColor ?? .adaptableSeparatorColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:17:37: error: cannot find type 'NativeColor' in scope
init(thickness: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:272:41: error: extraneous argument label 'attachment:' in call
result.append(NSAttributedString(attachment: textAttachment))
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:280:41: error: extraneous argument label 'attachment:' in call
result.insert(NSAttributedString(attachment: attachment), at: characterIndex)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
[51/61] Compiling NativeMarkKit Renderer.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:20:25: error: value of type 'TextContainer' has no member 'size'
get { container.size }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:21:25: error: value of type 'TextContainer' has no member 'size'
set { container.size = newValue }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:25:19: error: value of type 'TextContainer' has no member 'lineFragmentPadding'
container.lineFragmentPadding = 0
~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:98: error: cannot find type 'NativeFont' in scope
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:47: error: type 'NSAttributedString.Key' has no member 'font'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:127: error: value of type 'TextStyle' has no member 'makeFont'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:21:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:43:42: error: cannot find type 'NSTextContainer' in scope
func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:123: error: cannot find type 'NativeImage' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:71: error: cannot find type 'NSTextContainer' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:19: error: method does not override any method from its superclass
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:55: error: cannot find type 'NSTextContainer' in scope
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:19: error: method does not override any method from its superclass
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:24:29: error: cannot find type 'NSTextAttachment' in scope
class NativeTextAttachment: NSTextAttachment {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:28:9: error: 'super' members cannot be referenced in a root class
super.init(data: nil, ofType: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:270:49: error: cannot find type 'NSTextAttachment' in scope
func renderTextAttachment(_ textAttachment: NSTextAttachment, with styleStack: StyleStack, into result: NSMutableAttributedString) {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:283:87: error: cannot find type 'NativeFont' in scope
func defaultFont(at characterIndex: Int, in result: NSMutableAttributedString) -> NativeFont {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:14:48: error: missing argument for parameter 'string' in call
let result = NSMutableAttributedString()
^
string: <#String#>
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
override public init(string: String)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:83:57: error: cannot find type 'NativeColor' in scope
let color = attributes[.thematicBreakColor] as? NativeColor ?? .adaptableSeparatorColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:17:37: error: cannot find type 'NativeColor' in scope
init(thickness: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:272:41: error: extraneous argument label 'attachment:' in call
result.append(NSAttributedString(attachment: textAttachment))
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:280:41: error: extraneous argument label 'attachment:' in call
result.insert(NSAttributedString(attachment: attachment), at: characterIndex)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
[52/61] Compiling NativeMarkKit SpacerAttachment.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:20:25: error: value of type 'TextContainer' has no member 'size'
get { container.size }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:21:25: error: value of type 'TextContainer' has no member 'size'
set { container.size = newValue }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:25:19: error: value of type 'TextContainer' has no member 'lineFragmentPadding'
container.lineFragmentPadding = 0
~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:98: error: cannot find type 'NativeFont' in scope
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:47: error: type 'NSAttributedString.Key' has no member 'font'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:127: error: value of type 'TextStyle' has no member 'makeFont'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:21:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:43:42: error: cannot find type 'NSTextContainer' in scope
func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:123: error: cannot find type 'NativeImage' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:71: error: cannot find type 'NSTextContainer' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:19: error: method does not override any method from its superclass
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:55: error: cannot find type 'NSTextContainer' in scope
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:19: error: method does not override any method from its superclass
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:24:29: error: cannot find type 'NSTextAttachment' in scope
class NativeTextAttachment: NSTextAttachment {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:28:9: error: 'super' members cannot be referenced in a root class
super.init(data: nil, ofType: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:270:49: error: cannot find type 'NSTextAttachment' in scope
func renderTextAttachment(_ textAttachment: NSTextAttachment, with styleStack: StyleStack, into result: NSMutableAttributedString) {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:283:87: error: cannot find type 'NativeFont' in scope
func defaultFont(at characterIndex: Int, in result: NSMutableAttributedString) -> NativeFont {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:14:48: error: missing argument for parameter 'string' in call
let result = NSMutableAttributedString()
^
string: <#String#>
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
override public init(string: String)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:83:57: error: cannot find type 'NativeColor' in scope
let color = attributes[.thematicBreakColor] as? NativeColor ?? .adaptableSeparatorColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:17:37: error: cannot find type 'NativeColor' in scope
init(thickness: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:272:41: error: extraneous argument label 'attachment:' in call
result.append(NSAttributedString(attachment: textAttachment))
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:280:41: error: extraneous argument label 'attachment:' in call
result.insert(NSAttributedString(attachment: attachment), at: characterIndex)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
[53/61] Compiling NativeMarkKit TextContainer.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:17:137: error: cannot find type 'NSWritingDirection' in scope
override func lineFragmentRect(forProposedRect proposedRect: CGRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<CGRect>?) -> CGRect {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:17:19: error: method does not override any method from its superclass
override func lineFragmentRect(forProposedRect proposedRect: CGRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<CGRect>?) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:31:18: error: property does not override any property from its superclass
override var isSimpleRectangularTextContainer: Bool { false }
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:14:28: error: cannot find type 'NSTextContainer' in scope
final class TextContainer: NSTextContainer {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:18:27: error: 'super' members cannot be referenced in a root class
var returnValue = super.lineFragmentRect(forProposedRect: proposedRect, at: characterIndex, writingDirection: baseWritingDirection, remaining: remainingRect)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:17:37: error: cannot find type 'NativeColor' in scope
init(thickness: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:15:24: error: cannot find type 'NativeColor' in scope
private let color: NativeColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:28:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:28:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:24:29: error: cannot find type 'NSTextAttachment' in scope
class NativeTextAttachment: NSTextAttachment {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:25:14: error: value of type 'CGRect' has no member 'fill'
rect.fill()
~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/URLOpener.swift:15:16: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByHeight.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByHeight.swift:13:56: error: cannot find type 'NativeImage' in scope
public func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/ImageSizer.swift:11:49: error: cannot find type 'NativeImage' in scope
func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByWidth.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByWidth.swift:13:56: error: cannot find type 'NativeImage' in scope
public func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:11:20: error: cannot find type 'NSTextAlignment' in scope
case alignment(NSTextAlignment)
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:19:20: error: cannot find type 'NSLineBreakMode' in scope
case lineBreak(NSLineBreakMode)
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:22:51: error: cannot find type 'NativeColor' in scope
case thematicBreak(thickness: CGFloat, color: NativeColor = .adaptableSeparatorColor)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:23:37: error: cannot find type 'NativeColor' in scope
case blockBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.em, bottomMargin: Length = 1.em, leftMargin: Length = 1.em, rightMargin: Length = 1.em)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:23:95: error: cannot find type 'NativeColor' in scope
case blockBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.em, bottomMargin: Length = 1.em, leftMargin: Length = 1.em, rightMargin: Length = 1.em)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:11:20: error: cannot find type 'NativeColor' in scope
case textColor(NativeColor)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:13:26: error: cannot find type 'NativeColor' in scope
case backgroundColor(NativeColor?)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:24: error: cannot find type 'NSUnderlineStyle' in scope
case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:49: error: cannot find type 'NativeColor' in scope
case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:20: error: cannot find type 'NSUnderlineStyle' in scope
case underline(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:45: error: cannot find type 'NativeColor' in scope
case underline(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:19:54: error: cannot find type 'NativeColor' in scope
case backgroundBorder(width: CGFloat = 1, color: NativeColor = .adaptableBlockQuoteMarginColor, sides: BorderSides = .all)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:20:38: error: cannot find type 'NativeColor' in scope
case inlineBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.pt, bottomMargin: Length = 1.pt, leftMargin: Length = 6.pt, rightMargin: Length = 6.pt)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:20:96: error: cannot find type 'NativeColor' in scope
case inlineBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.pt, bottomMargin: Length = 1.pt, leftMargin: Length = 6.pt, rightMargin: Length = 6.pt)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:28:36: error: cannot find type 'NativeColor' in scope
static func textColor(_ value: NativeColor) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:36:42: error: cannot find type 'NativeColor' in scope
static func backgroundColor(_ value: NativeColor?) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:44:40: error: cannot find type 'NSUnderlineStyle' in scope
static func strikethrough(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:44:65: error: cannot find type 'NativeColor' in scope
static func strikethrough(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:48:36: error: cannot find type 'NSUnderlineStyle' in scope
static func underline(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:48:61: error: cannot find type 'NativeColor' in scope
static func underline(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:52:61: error: cannot find type 'NativeColor' in scope
static func backgroundBorder(width: CGFloat = 1, color: NativeColor = .lightGray, sides: BorderSides = .all) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:58:49: error: cannot find type 'NSMutableParagraphStyle' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:58:92: error: cannot find type 'NativeFont' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:49: error: cannot find type 'NSMutableParagraphStyle' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:92: error: cannot find type 'NativeFont' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:18:21: error: cannot find type 'NativeColor' in scope
init(fillColor: NativeColor, strokeColor: NativeColor, strokeWidth: CGFloat,
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:18:47: error: cannot find type 'NativeColor' in scope
init(fillColor: NativeColor, strokeColor: NativeColor, strokeWidth: CGFloat,
^~~~~~~~~~~
[54/61] Compiling NativeMarkKit ThematicBreakAttachment.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:17:137: error: cannot find type 'NSWritingDirection' in scope
override func lineFragmentRect(forProposedRect proposedRect: CGRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<CGRect>?) -> CGRect {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:17:19: error: method does not override any method from its superclass
override func lineFragmentRect(forProposedRect proposedRect: CGRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<CGRect>?) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:31:18: error: property does not override any property from its superclass
override var isSimpleRectangularTextContainer: Bool { false }
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:14:28: error: cannot find type 'NSTextContainer' in scope
final class TextContainer: NSTextContainer {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:18:27: error: 'super' members cannot be referenced in a root class
var returnValue = super.lineFragmentRect(forProposedRect: proposedRect, at: characterIndex, writingDirection: baseWritingDirection, remaining: remainingRect)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:17:37: error: cannot find type 'NativeColor' in scope
init(thickness: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:15:24: error: cannot find type 'NativeColor' in scope
private let color: NativeColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:28:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:28:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:24:29: error: cannot find type 'NSTextAttachment' in scope
class NativeTextAttachment: NSTextAttachment {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:25:14: error: value of type 'CGRect' has no member 'fill'
rect.fill()
~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/URLOpener.swift:15:16: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByHeight.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByHeight.swift:13:56: error: cannot find type 'NativeImage' in scope
public func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/ImageSizer.swift:11:49: error: cannot find type 'NativeImage' in scope
func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByWidth.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByWidth.swift:13:56: error: cannot find type 'NativeImage' in scope
public func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:11:20: error: cannot find type 'NSTextAlignment' in scope
case alignment(NSTextAlignment)
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:19:20: error: cannot find type 'NSLineBreakMode' in scope
case lineBreak(NSLineBreakMode)
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:22:51: error: cannot find type 'NativeColor' in scope
case thematicBreak(thickness: CGFloat, color: NativeColor = .adaptableSeparatorColor)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:23:37: error: cannot find type 'NativeColor' in scope
case blockBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.em, bottomMargin: Length = 1.em, leftMargin: Length = 1.em, rightMargin: Length = 1.em)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:23:95: error: cannot find type 'NativeColor' in scope
case blockBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.em, bottomMargin: Length = 1.em, leftMargin: Length = 1.em, rightMargin: Length = 1.em)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:11:20: error: cannot find type 'NativeColor' in scope
case textColor(NativeColor)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:13:26: error: cannot find type 'NativeColor' in scope
case backgroundColor(NativeColor?)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:24: error: cannot find type 'NSUnderlineStyle' in scope
case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:49: error: cannot find type 'NativeColor' in scope
case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:20: error: cannot find type 'NSUnderlineStyle' in scope
case underline(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:45: error: cannot find type 'NativeColor' in scope
case underline(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:19:54: error: cannot find type 'NativeColor' in scope
case backgroundBorder(width: CGFloat = 1, color: NativeColor = .adaptableBlockQuoteMarginColor, sides: BorderSides = .all)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:20:38: error: cannot find type 'NativeColor' in scope
case inlineBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.pt, bottomMargin: Length = 1.pt, leftMargin: Length = 6.pt, rightMargin: Length = 6.pt)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:20:96: error: cannot find type 'NativeColor' in scope
case inlineBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.pt, bottomMargin: Length = 1.pt, leftMargin: Length = 6.pt, rightMargin: Length = 6.pt)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:28:36: error: cannot find type 'NativeColor' in scope
static func textColor(_ value: NativeColor) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:36:42: error: cannot find type 'NativeColor' in scope
static func backgroundColor(_ value: NativeColor?) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:44:40: error: cannot find type 'NSUnderlineStyle' in scope
static func strikethrough(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:44:65: error: cannot find type 'NativeColor' in scope
static func strikethrough(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:48:36: error: cannot find type 'NSUnderlineStyle' in scope
static func underline(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:48:61: error: cannot find type 'NativeColor' in scope
static func underline(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:52:61: error: cannot find type 'NativeColor' in scope
static func backgroundBorder(width: CGFloat = 1, color: NativeColor = .lightGray, sides: BorderSides = .all) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:58:49: error: cannot find type 'NSMutableParagraphStyle' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:58:92: error: cannot find type 'NativeFont' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:49: error: cannot find type 'NSMutableParagraphStyle' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:92: error: cannot find type 'NativeFont' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:18:21: error: cannot find type 'NativeColor' in scope
init(fillColor: NativeColor, strokeColor: NativeColor, strokeWidth: CGFloat,
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:18:47: error: cannot find type 'NativeColor' in scope
init(fillColor: NativeColor, strokeColor: NativeColor, strokeWidth: CGFloat,
^~~~~~~~~~~
[55/61] Compiling NativeMarkKit URLOpener.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:17:137: error: cannot find type 'NSWritingDirection' in scope
override func lineFragmentRect(forProposedRect proposedRect: CGRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<CGRect>?) -> CGRect {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:17:19: error: method does not override any method from its superclass
override func lineFragmentRect(forProposedRect proposedRect: CGRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<CGRect>?) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:31:18: error: property does not override any property from its superclass
override var isSimpleRectangularTextContainer: Bool { false }
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:14:28: error: cannot find type 'NSTextContainer' in scope
final class TextContainer: NSTextContainer {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:18:27: error: 'super' members cannot be referenced in a root class
var returnValue = super.lineFragmentRect(forProposedRect: proposedRect, at: characterIndex, writingDirection: baseWritingDirection, remaining: remainingRect)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:17:37: error: cannot find type 'NativeColor' in scope
init(thickness: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:15:24: error: cannot find type 'NativeColor' in scope
private let color: NativeColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:28:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:28:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:24:29: error: cannot find type 'NSTextAttachment' in scope
class NativeTextAttachment: NSTextAttachment {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:25:14: error: value of type 'CGRect' has no member 'fill'
rect.fill()
~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/URLOpener.swift:15:16: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByHeight.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByHeight.swift:13:56: error: cannot find type 'NativeImage' in scope
public func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/ImageSizer.swift:11:49: error: cannot find type 'NativeImage' in scope
func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByWidth.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByWidth.swift:13:56: error: cannot find type 'NativeImage' in scope
public func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:11:20: error: cannot find type 'NSTextAlignment' in scope
case alignment(NSTextAlignment)
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:19:20: error: cannot find type 'NSLineBreakMode' in scope
case lineBreak(NSLineBreakMode)
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:22:51: error: cannot find type 'NativeColor' in scope
case thematicBreak(thickness: CGFloat, color: NativeColor = .adaptableSeparatorColor)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:23:37: error: cannot find type 'NativeColor' in scope
case blockBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.em, bottomMargin: Length = 1.em, leftMargin: Length = 1.em, rightMargin: Length = 1.em)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:23:95: error: cannot find type 'NativeColor' in scope
case blockBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.em, bottomMargin: Length = 1.em, leftMargin: Length = 1.em, rightMargin: Length = 1.em)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:11:20: error: cannot find type 'NativeColor' in scope
case textColor(NativeColor)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:13:26: error: cannot find type 'NativeColor' in scope
case backgroundColor(NativeColor?)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:24: error: cannot find type 'NSUnderlineStyle' in scope
case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:49: error: cannot find type 'NativeColor' in scope
case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:20: error: cannot find type 'NSUnderlineStyle' in scope
case underline(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:45: error: cannot find type 'NativeColor' in scope
case underline(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:19:54: error: cannot find type 'NativeColor' in scope
case backgroundBorder(width: CGFloat = 1, color: NativeColor = .adaptableBlockQuoteMarginColor, sides: BorderSides = .all)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:20:38: error: cannot find type 'NativeColor' in scope
case inlineBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.pt, bottomMargin: Length = 1.pt, leftMargin: Length = 6.pt, rightMargin: Length = 6.pt)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:20:96: error: cannot find type 'NativeColor' in scope
case inlineBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.pt, bottomMargin: Length = 1.pt, leftMargin: Length = 6.pt, rightMargin: Length = 6.pt)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:28:36: error: cannot find type 'NativeColor' in scope
static func textColor(_ value: NativeColor) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:36:42: error: cannot find type 'NativeColor' in scope
static func backgroundColor(_ value: NativeColor?) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:44:40: error: cannot find type 'NSUnderlineStyle' in scope
static func strikethrough(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:44:65: error: cannot find type 'NativeColor' in scope
static func strikethrough(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:48:36: error: cannot find type 'NSUnderlineStyle' in scope
static func underline(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:48:61: error: cannot find type 'NativeColor' in scope
static func underline(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:52:61: error: cannot find type 'NativeColor' in scope
static func backgroundBorder(width: CGFloat = 1, color: NativeColor = .lightGray, sides: BorderSides = .all) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:58:49: error: cannot find type 'NSMutableParagraphStyle' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:58:92: error: cannot find type 'NativeFont' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:49: error: cannot find type 'NSMutableParagraphStyle' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:92: error: cannot find type 'NativeFont' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:18:21: error: cannot find type 'NativeColor' in scope
init(fillColor: NativeColor, strokeColor: NativeColor, strokeWidth: CGFloat,
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:18:47: error: cannot find type 'NativeColor' in scope
init(fillColor: NativeColor, strokeColor: NativeColor, strokeWidth: CGFloat,
^~~~~~~~~~~
[56/61] Compiling NativeMarkKit UnorderedListMarkerFormat+Render.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:17:137: error: cannot find type 'NSWritingDirection' in scope
override func lineFragmentRect(forProposedRect proposedRect: CGRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<CGRect>?) -> CGRect {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:17:19: error: method does not override any method from its superclass
override func lineFragmentRect(forProposedRect proposedRect: CGRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<CGRect>?) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:31:18: error: property does not override any property from its superclass
override var isSimpleRectangularTextContainer: Bool { false }
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:14:28: error: cannot find type 'NSTextContainer' in scope
final class TextContainer: NSTextContainer {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:18:27: error: 'super' members cannot be referenced in a root class
var returnValue = super.lineFragmentRect(forProposedRect: proposedRect, at: characterIndex, writingDirection: baseWritingDirection, remaining: remainingRect)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:17:37: error: cannot find type 'NativeColor' in scope
init(thickness: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:15:24: error: cannot find type 'NativeColor' in scope
private let color: NativeColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:28:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:28:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:24:29: error: cannot find type 'NSTextAttachment' in scope
class NativeTextAttachment: NSTextAttachment {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:25:14: error: value of type 'CGRect' has no member 'fill'
rect.fill()
~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/URLOpener.swift:15:16: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByHeight.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByHeight.swift:13:56: error: cannot find type 'NativeImage' in scope
public func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/ImageSizer.swift:11:49: error: cannot find type 'NativeImage' in scope
func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByWidth.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByWidth.swift:13:56: error: cannot find type 'NativeImage' in scope
public func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:11:20: error: cannot find type 'NSTextAlignment' in scope
case alignment(NSTextAlignment)
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:19:20: error: cannot find type 'NSLineBreakMode' in scope
case lineBreak(NSLineBreakMode)
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:22:51: error: cannot find type 'NativeColor' in scope
case thematicBreak(thickness: CGFloat, color: NativeColor = .adaptableSeparatorColor)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:23:37: error: cannot find type 'NativeColor' in scope
case blockBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.em, bottomMargin: Length = 1.em, leftMargin: Length = 1.em, rightMargin: Length = 1.em)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:23:95: error: cannot find type 'NativeColor' in scope
case blockBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.em, bottomMargin: Length = 1.em, leftMargin: Length = 1.em, rightMargin: Length = 1.em)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:11:20: error: cannot find type 'NativeColor' in scope
case textColor(NativeColor)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:13:26: error: cannot find type 'NativeColor' in scope
case backgroundColor(NativeColor?)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:24: error: cannot find type 'NSUnderlineStyle' in scope
case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:49: error: cannot find type 'NativeColor' in scope
case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:20: error: cannot find type 'NSUnderlineStyle' in scope
case underline(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:45: error: cannot find type 'NativeColor' in scope
case underline(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:19:54: error: cannot find type 'NativeColor' in scope
case backgroundBorder(width: CGFloat = 1, color: NativeColor = .adaptableBlockQuoteMarginColor, sides: BorderSides = .all)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:20:38: error: cannot find type 'NativeColor' in scope
case inlineBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.pt, bottomMargin: Length = 1.pt, leftMargin: Length = 6.pt, rightMargin: Length = 6.pt)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:20:96: error: cannot find type 'NativeColor' in scope
case inlineBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.pt, bottomMargin: Length = 1.pt, leftMargin: Length = 6.pt, rightMargin: Length = 6.pt)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:28:36: error: cannot find type 'NativeColor' in scope
static func textColor(_ value: NativeColor) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:36:42: error: cannot find type 'NativeColor' in scope
static func backgroundColor(_ value: NativeColor?) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:44:40: error: cannot find type 'NSUnderlineStyle' in scope
static func strikethrough(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:44:65: error: cannot find type 'NativeColor' in scope
static func strikethrough(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:48:36: error: cannot find type 'NSUnderlineStyle' in scope
static func underline(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:48:61: error: cannot find type 'NativeColor' in scope
static func underline(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:52:61: error: cannot find type 'NativeColor' in scope
static func backgroundBorder(width: CGFloat = 1, color: NativeColor = .lightGray, sides: BorderSides = .all) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:58:49: error: cannot find type 'NSMutableParagraphStyle' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:58:92: error: cannot find type 'NativeFont' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:49: error: cannot find type 'NSMutableParagraphStyle' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:92: error: cannot find type 'NativeFont' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:18:21: error: cannot find type 'NativeColor' in scope
init(fillColor: NativeColor, strokeColor: NativeColor, strokeWidth: CGFloat,
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:18:47: error: cannot find type 'NativeColor' in scope
init(fillColor: NativeColor, strokeColor: NativeColor, strokeWidth: CGFloat,
^~~~~~~~~~~
[57/61] Compiling NativeMarkKit UnorderedListMarkerFormatValue.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:17:137: error: cannot find type 'NSWritingDirection' in scope
override func lineFragmentRect(forProposedRect proposedRect: CGRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<CGRect>?) -> CGRect {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:17:19: error: method does not override any method from its superclass
override func lineFragmentRect(forProposedRect proposedRect: CGRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<CGRect>?) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:31:18: error: property does not override any property from its superclass
override var isSimpleRectangularTextContainer: Bool { false }
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:14:28: error: cannot find type 'NSTextContainer' in scope
final class TextContainer: NSTextContainer {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:18:27: error: 'super' members cannot be referenced in a root class
var returnValue = super.lineFragmentRect(forProposedRect: proposedRect, at: characterIndex, writingDirection: baseWritingDirection, remaining: remainingRect)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:17:37: error: cannot find type 'NativeColor' in scope
init(thickness: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:15:24: error: cannot find type 'NativeColor' in scope
private let color: NativeColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:28:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:28:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:24:29: error: cannot find type 'NSTextAttachment' in scope
class NativeTextAttachment: NSTextAttachment {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:25:14: error: value of type 'CGRect' has no member 'fill'
rect.fill()
~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/URLOpener.swift:15:16: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByHeight.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByHeight.swift:13:56: error: cannot find type 'NativeImage' in scope
public func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/ImageSizer.swift:11:49: error: cannot find type 'NativeImage' in scope
func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByWidth.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByWidth.swift:13:56: error: cannot find type 'NativeImage' in scope
public func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:11:20: error: cannot find type 'NSTextAlignment' in scope
case alignment(NSTextAlignment)
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:19:20: error: cannot find type 'NSLineBreakMode' in scope
case lineBreak(NSLineBreakMode)
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:22:51: error: cannot find type 'NativeColor' in scope
case thematicBreak(thickness: CGFloat, color: NativeColor = .adaptableSeparatorColor)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:23:37: error: cannot find type 'NativeColor' in scope
case blockBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.em, bottomMargin: Length = 1.em, leftMargin: Length = 1.em, rightMargin: Length = 1.em)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:23:95: error: cannot find type 'NativeColor' in scope
case blockBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.em, bottomMargin: Length = 1.em, leftMargin: Length = 1.em, rightMargin: Length = 1.em)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:11:20: error: cannot find type 'NativeColor' in scope
case textColor(NativeColor)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:13:26: error: cannot find type 'NativeColor' in scope
case backgroundColor(NativeColor?)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:24: error: cannot find type 'NSUnderlineStyle' in scope
case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:49: error: cannot find type 'NativeColor' in scope
case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:20: error: cannot find type 'NSUnderlineStyle' in scope
case underline(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:45: error: cannot find type 'NativeColor' in scope
case underline(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:19:54: error: cannot find type 'NativeColor' in scope
case backgroundBorder(width: CGFloat = 1, color: NativeColor = .adaptableBlockQuoteMarginColor, sides: BorderSides = .all)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:20:38: error: cannot find type 'NativeColor' in scope
case inlineBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.pt, bottomMargin: Length = 1.pt, leftMargin: Length = 6.pt, rightMargin: Length = 6.pt)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:20:96: error: cannot find type 'NativeColor' in scope
case inlineBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.pt, bottomMargin: Length = 1.pt, leftMargin: Length = 6.pt, rightMargin: Length = 6.pt)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:28:36: error: cannot find type 'NativeColor' in scope
static func textColor(_ value: NativeColor) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:36:42: error: cannot find type 'NativeColor' in scope
static func backgroundColor(_ value: NativeColor?) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:44:40: error: cannot find type 'NSUnderlineStyle' in scope
static func strikethrough(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:44:65: error: cannot find type 'NativeColor' in scope
static func strikethrough(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:48:36: error: cannot find type 'NSUnderlineStyle' in scope
static func underline(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:48:61: error: cannot find type 'NativeColor' in scope
static func underline(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:52:61: error: cannot find type 'NativeColor' in scope
static func backgroundBorder(width: CGFloat = 1, color: NativeColor = .lightGray, sides: BorderSides = .all) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:58:49: error: cannot find type 'NSMutableParagraphStyle' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:58:92: error: cannot find type 'NativeFont' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:49: error: cannot find type 'NSMutableParagraphStyle' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:92: error: cannot find type 'NativeFont' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:18:21: error: cannot find type 'NativeColor' in scope
init(fillColor: NativeColor, strokeColor: NativeColor, strokeWidth: CGFloat,
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:18:47: error: cannot find type 'NativeColor' in scope
init(fillColor: NativeColor, strokeColor: NativeColor, strokeWidth: CGFloat,
^~~~~~~~~~~
[58/61] Compiling NativeMarkKit AspectScaleDownByHeight.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:17:137: error: cannot find type 'NSWritingDirection' in scope
override func lineFragmentRect(forProposedRect proposedRect: CGRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<CGRect>?) -> CGRect {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:17:19: error: method does not override any method from its superclass
override func lineFragmentRect(forProposedRect proposedRect: CGRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<CGRect>?) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:31:18: error: property does not override any property from its superclass
override var isSimpleRectangularTextContainer: Bool { false }
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:14:28: error: cannot find type 'NSTextContainer' in scope
final class TextContainer: NSTextContainer {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:18:27: error: 'super' members cannot be referenced in a root class
var returnValue = super.lineFragmentRect(forProposedRect: proposedRect, at: characterIndex, writingDirection: baseWritingDirection, remaining: remainingRect)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:17:37: error: cannot find type 'NativeColor' in scope
init(thickness: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:15:24: error: cannot find type 'NativeColor' in scope
private let color: NativeColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:28:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:28:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:24:29: error: cannot find type 'NSTextAttachment' in scope
class NativeTextAttachment: NSTextAttachment {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:25:14: error: value of type 'CGRect' has no member 'fill'
rect.fill()
~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/URLOpener.swift:15:16: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByHeight.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByHeight.swift:13:56: error: cannot find type 'NativeImage' in scope
public func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/ImageSizer.swift:11:49: error: cannot find type 'NativeImage' in scope
func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByWidth.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByWidth.swift:13:56: error: cannot find type 'NativeImage' in scope
public func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:11:20: error: cannot find type 'NSTextAlignment' in scope
case alignment(NSTextAlignment)
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:19:20: error: cannot find type 'NSLineBreakMode' in scope
case lineBreak(NSLineBreakMode)
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:22:51: error: cannot find type 'NativeColor' in scope
case thematicBreak(thickness: CGFloat, color: NativeColor = .adaptableSeparatorColor)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:23:37: error: cannot find type 'NativeColor' in scope
case blockBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.em, bottomMargin: Length = 1.em, leftMargin: Length = 1.em, rightMargin: Length = 1.em)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:23:95: error: cannot find type 'NativeColor' in scope
case blockBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.em, bottomMargin: Length = 1.em, leftMargin: Length = 1.em, rightMargin: Length = 1.em)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:11:20: error: cannot find type 'NativeColor' in scope
case textColor(NativeColor)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:13:26: error: cannot find type 'NativeColor' in scope
case backgroundColor(NativeColor?)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:24: error: cannot find type 'NSUnderlineStyle' in scope
case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:49: error: cannot find type 'NativeColor' in scope
case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:20: error: cannot find type 'NSUnderlineStyle' in scope
case underline(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:45: error: cannot find type 'NativeColor' in scope
case underline(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:19:54: error: cannot find type 'NativeColor' in scope
case backgroundBorder(width: CGFloat = 1, color: NativeColor = .adaptableBlockQuoteMarginColor, sides: BorderSides = .all)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:20:38: error: cannot find type 'NativeColor' in scope
case inlineBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.pt, bottomMargin: Length = 1.pt, leftMargin: Length = 6.pt, rightMargin: Length = 6.pt)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:20:96: error: cannot find type 'NativeColor' in scope
case inlineBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.pt, bottomMargin: Length = 1.pt, leftMargin: Length = 6.pt, rightMargin: Length = 6.pt)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:28:36: error: cannot find type 'NativeColor' in scope
static func textColor(_ value: NativeColor) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:36:42: error: cannot find type 'NativeColor' in scope
static func backgroundColor(_ value: NativeColor?) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:44:40: error: cannot find type 'NSUnderlineStyle' in scope
static func strikethrough(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:44:65: error: cannot find type 'NativeColor' in scope
static func strikethrough(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:48:36: error: cannot find type 'NSUnderlineStyle' in scope
static func underline(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:48:61: error: cannot find type 'NativeColor' in scope
static func underline(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:52:61: error: cannot find type 'NativeColor' in scope
static func backgroundBorder(width: CGFloat = 1, color: NativeColor = .lightGray, sides: BorderSides = .all) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:58:49: error: cannot find type 'NSMutableParagraphStyle' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:58:92: error: cannot find type 'NativeFont' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:49: error: cannot find type 'NSMutableParagraphStyle' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:92: error: cannot find type 'NativeFont' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:18:21: error: cannot find type 'NativeColor' in scope
init(fillColor: NativeColor, strokeColor: NativeColor, strokeWidth: CGFloat,
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:18:47: error: cannot find type 'NativeColor' in scope
init(fillColor: NativeColor, strokeColor: NativeColor, strokeWidth: CGFloat,
^~~~~~~~~~~
[59/61] Compiling NativeMarkKit AspectScaleDownByWidth.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:17:137: error: cannot find type 'NSWritingDirection' in scope
override func lineFragmentRect(forProposedRect proposedRect: CGRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<CGRect>?) -> CGRect {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:17:19: error: method does not override any method from its superclass
override func lineFragmentRect(forProposedRect proposedRect: CGRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<CGRect>?) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:31:18: error: property does not override any property from its superclass
override var isSimpleRectangularTextContainer: Bool { false }
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:14:28: error: cannot find type 'NSTextContainer' in scope
final class TextContainer: NSTextContainer {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:18:27: error: 'super' members cannot be referenced in a root class
var returnValue = super.lineFragmentRect(forProposedRect: proposedRect, at: characterIndex, writingDirection: baseWritingDirection, remaining: remainingRect)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:17:37: error: cannot find type 'NativeColor' in scope
init(thickness: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:15:24: error: cannot find type 'NativeColor' in scope
private let color: NativeColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:28:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:28:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:24:29: error: cannot find type 'NSTextAttachment' in scope
class NativeTextAttachment: NSTextAttachment {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:25:14: error: value of type 'CGRect' has no member 'fill'
rect.fill()
~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/URLOpener.swift:15:16: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByHeight.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByHeight.swift:13:56: error: cannot find type 'NativeImage' in scope
public func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/ImageSizer.swift:11:49: error: cannot find type 'NativeImage' in scope
func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByWidth.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByWidth.swift:13:56: error: cannot find type 'NativeImage' in scope
public func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:11:20: error: cannot find type 'NSTextAlignment' in scope
case alignment(NSTextAlignment)
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:19:20: error: cannot find type 'NSLineBreakMode' in scope
case lineBreak(NSLineBreakMode)
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:22:51: error: cannot find type 'NativeColor' in scope
case thematicBreak(thickness: CGFloat, color: NativeColor = .adaptableSeparatorColor)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:23:37: error: cannot find type 'NativeColor' in scope
case blockBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.em, bottomMargin: Length = 1.em, leftMargin: Length = 1.em, rightMargin: Length = 1.em)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:23:95: error: cannot find type 'NativeColor' in scope
case blockBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.em, bottomMargin: Length = 1.em, leftMargin: Length = 1.em, rightMargin: Length = 1.em)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:11:20: error: cannot find type 'NativeColor' in scope
case textColor(NativeColor)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:13:26: error: cannot find type 'NativeColor' in scope
case backgroundColor(NativeColor?)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:24: error: cannot find type 'NSUnderlineStyle' in scope
case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:49: error: cannot find type 'NativeColor' in scope
case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:20: error: cannot find type 'NSUnderlineStyle' in scope
case underline(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:45: error: cannot find type 'NativeColor' in scope
case underline(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:19:54: error: cannot find type 'NativeColor' in scope
case backgroundBorder(width: CGFloat = 1, color: NativeColor = .adaptableBlockQuoteMarginColor, sides: BorderSides = .all)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:20:38: error: cannot find type 'NativeColor' in scope
case inlineBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.pt, bottomMargin: Length = 1.pt, leftMargin: Length = 6.pt, rightMargin: Length = 6.pt)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:20:96: error: cannot find type 'NativeColor' in scope
case inlineBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.pt, bottomMargin: Length = 1.pt, leftMargin: Length = 6.pt, rightMargin: Length = 6.pt)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:28:36: error: cannot find type 'NativeColor' in scope
static func textColor(_ value: NativeColor) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:36:42: error: cannot find type 'NativeColor' in scope
static func backgroundColor(_ value: NativeColor?) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:44:40: error: cannot find type 'NSUnderlineStyle' in scope
static func strikethrough(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:44:65: error: cannot find type 'NativeColor' in scope
static func strikethrough(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:48:36: error: cannot find type 'NSUnderlineStyle' in scope
static func underline(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:48:61: error: cannot find type 'NativeColor' in scope
static func underline(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:52:61: error: cannot find type 'NativeColor' in scope
static func backgroundBorder(width: CGFloat = 1, color: NativeColor = .lightGray, sides: BorderSides = .all) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:58:49: error: cannot find type 'NSMutableParagraphStyle' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:58:92: error: cannot find type 'NativeFont' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:49: error: cannot find type 'NSMutableParagraphStyle' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:92: error: cannot find type 'NativeFont' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:18:21: error: cannot find type 'NativeColor' in scope
init(fillColor: NativeColor, strokeColor: NativeColor, strokeWidth: CGFloat,
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:18:47: error: cannot find type 'NativeColor' in scope
init(fillColor: NativeColor, strokeColor: NativeColor, strokeWidth: CGFloat,
^~~~~~~~~~~
[60/61] Compiling NativeMarkKit BlockStyle.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:17:137: error: cannot find type 'NSWritingDirection' in scope
override func lineFragmentRect(forProposedRect proposedRect: CGRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<CGRect>?) -> CGRect {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:17:19: error: method does not override any method from its superclass
override func lineFragmentRect(forProposedRect proposedRect: CGRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<CGRect>?) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:31:18: error: property does not override any property from its superclass
override var isSimpleRectangularTextContainer: Bool { false }
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:14:28: error: cannot find type 'NSTextContainer' in scope
final class TextContainer: NSTextContainer {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:18:27: error: 'super' members cannot be referenced in a root class
var returnValue = super.lineFragmentRect(forProposedRect: proposedRect, at: characterIndex, writingDirection: baseWritingDirection, remaining: remainingRect)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:17:37: error: cannot find type 'NativeColor' in scope
init(thickness: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:15:24: error: cannot find type 'NativeColor' in scope
private let color: NativeColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:28:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:28:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:24:29: error: cannot find type 'NSTextAttachment' in scope
class NativeTextAttachment: NSTextAttachment {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:25:14: error: value of type 'CGRect' has no member 'fill'
rect.fill()
~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/URLOpener.swift:15:16: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByHeight.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByHeight.swift:13:56: error: cannot find type 'NativeImage' in scope
public func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/ImageSizer.swift:11:49: error: cannot find type 'NativeImage' in scope
func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByWidth.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByWidth.swift:13:56: error: cannot find type 'NativeImage' in scope
public func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:11:20: error: cannot find type 'NSTextAlignment' in scope
case alignment(NSTextAlignment)
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:19:20: error: cannot find type 'NSLineBreakMode' in scope
case lineBreak(NSLineBreakMode)
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:22:51: error: cannot find type 'NativeColor' in scope
case thematicBreak(thickness: CGFloat, color: NativeColor = .adaptableSeparatorColor)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:23:37: error: cannot find type 'NativeColor' in scope
case blockBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.em, bottomMargin: Length = 1.em, leftMargin: Length = 1.em, rightMargin: Length = 1.em)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:23:95: error: cannot find type 'NativeColor' in scope
case blockBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.em, bottomMargin: Length = 1.em, leftMargin: Length = 1.em, rightMargin: Length = 1.em)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:11:20: error: cannot find type 'NativeColor' in scope
case textColor(NativeColor)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:13:26: error: cannot find type 'NativeColor' in scope
case backgroundColor(NativeColor?)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:24: error: cannot find type 'NSUnderlineStyle' in scope
case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:49: error: cannot find type 'NativeColor' in scope
case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:20: error: cannot find type 'NSUnderlineStyle' in scope
case underline(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:45: error: cannot find type 'NativeColor' in scope
case underline(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:19:54: error: cannot find type 'NativeColor' in scope
case backgroundBorder(width: CGFloat = 1, color: NativeColor = .adaptableBlockQuoteMarginColor, sides: BorderSides = .all)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:20:38: error: cannot find type 'NativeColor' in scope
case inlineBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.pt, bottomMargin: Length = 1.pt, leftMargin: Length = 6.pt, rightMargin: Length = 6.pt)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:20:96: error: cannot find type 'NativeColor' in scope
case inlineBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.pt, bottomMargin: Length = 1.pt, leftMargin: Length = 6.pt, rightMargin: Length = 6.pt)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:28:36: error: cannot find type 'NativeColor' in scope
static func textColor(_ value: NativeColor) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:36:42: error: cannot find type 'NativeColor' in scope
static func backgroundColor(_ value: NativeColor?) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:44:40: error: cannot find type 'NSUnderlineStyle' in scope
static func strikethrough(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:44:65: error: cannot find type 'NativeColor' in scope
static func strikethrough(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:48:36: error: cannot find type 'NSUnderlineStyle' in scope
static func underline(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:48:61: error: cannot find type 'NativeColor' in scope
static func underline(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:52:61: error: cannot find type 'NativeColor' in scope
static func backgroundBorder(width: CGFloat = 1, color: NativeColor = .lightGray, sides: BorderSides = .all) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:58:49: error: cannot find type 'NSMutableParagraphStyle' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:58:92: error: cannot find type 'NativeFont' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:49: error: cannot find type 'NSMutableParagraphStyle' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:92: error: cannot find type 'NativeFont' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:18:21: error: cannot find type 'NativeColor' in scope
init(fillColor: NativeColor, strokeColor: NativeColor, strokeWidth: CGFloat,
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:18:47: error: cannot find type 'NativeColor' in scope
init(fillColor: NativeColor, strokeColor: NativeColor, strokeWidth: CGFloat,
^~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[61/61] Emitting module NativeMarkKit
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundBorderValue.swift:13:33: error: cannot find type 'NativeColor' in scope
init(width: CGFloat, color: NativeColor, sides: BorderSides) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundBorderValue.swift:10:16: error: cannot find type 'NativeColor' in scope
let color: NativeColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:18:21: error: cannot find type 'NativeColor' in scope
init(fillColor: NativeColor, strokeColor: NativeColor, strokeWidth: CGFloat,
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:18:47: error: cannot find type 'NativeColor' in scope
init(fillColor: NativeColor, strokeColor: NativeColor, strokeWidth: CGFloat,
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:9:20: error: cannot find type 'NativeColor' in scope
let fillColor: NativeColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:10:22: error: cannot find type 'NativeColor' in scope
let strokeColor: NativeColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:32:47: error: cannot find type 'NativeFont' in scope
func render(in rect: CGRect, defaultFont: NativeFont) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/CGRect+Render.swift:28:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:9:83: error: cannot find type 'NativeImage' in scope
func imageTextAttachmentLoadImage(_ urlString: String, completion: @escaping (NativeImage?) -> Void)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:10:65: error: cannot find type 'NativeImage' in scope
func imageTextAttachmentResize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:21:21: error: cannot find type 'NativeImage' in scope
case loaded(NativeImage)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:47:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:47:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:24:29: error: cannot find type 'NSTextAttachment' in scope
class NativeTextAttachment: NSTextAttachment {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:61:25: error: cannot find type 'NativeImage' in scope
func loadImage() -> NativeImage? {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:11:19: error: method does not override any method from its superclass
override func drawBackground(forGlyphRange glyphsToShow: NSRange, at origin: CGPoint) {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:10:28: error: cannot find type 'NSLayoutManager' in scope
final class LayoutManager: NSLayoutManager {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:98:107: error: cannot find type 'NSTextContainer' in scope
func typographicBounds(ofGlyphRange glyphRange: NSRange, onLineFragment lineFrame: CGRect, container: NSTextContainer) -> CGRect? {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:124:43: error: cannot find type 'CGGlyph' in scope
func typographicBounds(ofGlyph glyph: CGGlyph, atGlyphIndex glyphIndex: Int, characterIndex: Int, onLineFragment lineFrame: CGRect, container: NSTextContainer) -> CGRect {
^~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:124:148: error: cannot find type 'NSTextContainer' in scope
func typographicBounds(ofGlyph glyph: CGGlyph, atGlyphIndex glyphIndex: Int, characterIndex: Int, onLineFragment lineFrame: CGRect, container: NSTextContainer) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeImage.swift:35:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:137:36: error: cannot find type 'NSLayoutManagerDelegate' in scope
extension NativeMarkLayoutManager: NSLayoutManagerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:138:48: error: cannot find type 'NSLayoutManager' in scope
public func layoutManager(_ layoutManager: NSLayoutManager, shouldSetLineFragmentRect lineFragmentRect: UnsafeMutablePointer<CGRect>, lineFragmentUsedRect: UnsafeMutablePointer<CGRect>, baselineOffset: UnsafeMutablePointer<CGFloat>, in textContainer: NSTextContainer, forGlyphRange glyphRange: NSRange) -> Bool {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:138:256: error: cannot find type 'NSTextContainer' in scope
public func layoutManager(_ layoutManager: NSLayoutManager, shouldSetLineFragmentRect lineFragmentRect: UnsafeMutablePointer<CGRect>, lineFragmentUsedRect: UnsafeMutablePointer<CGRect>, baselineOffset: UnsafeMutablePointer<CGFloat>, in textContainer: NSTextContainer, forGlyphRange glyphRange: NSRange) -> Bool {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:182:164: error: cannot find type 'NSLayoutManager' in scope
public func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSLayoutManager.ControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSLayoutManager.ControlCharacterAction {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:182:48: error: cannot find type 'NSLayoutManager' in scope
public func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSLayoutManager.ControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSLayoutManager.ControlCharacterAction {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:182:83: error: cannot find type 'NSLayoutManager' in scope
public func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSLayoutManager.ControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSLayoutManager.ControlCharacterAction {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkStorage.swift:10:26: error: cannot find type 'NSTextStorage' in scope
private let storage: NSTextStorage
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:21:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:43:42: error: cannot find type 'NSTextContainer' in scope
func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:123: error: cannot find type 'NativeImage' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:71: error: cannot find type 'NSTextContainer' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:19: error: method does not override any method from its superclass
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:55: error: cannot find type 'NSTextContainer' in scope
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:19: error: method does not override any method from its superclass
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:270:49: error: cannot find type 'NSTextAttachment' in scope
func renderTextAttachment(_ textAttachment: NSTextAttachment, with styleStack: StyleStack, into result: NSMutableAttributedString) {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:283:87: error: cannot find type 'NativeFont' in scope
func defaultFont(at characterIndex: Int, in result: NSMutableAttributedString) -> NativeFont {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:17:137: error: cannot find type 'NSWritingDirection' in scope
override func lineFragmentRect(forProposedRect proposedRect: CGRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<CGRect>?) -> CGRect {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:17:19: error: method does not override any method from its superclass
override func lineFragmentRect(forProposedRect proposedRect: CGRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<CGRect>?) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:31:18: error: property does not override any property from its superclass
override var isSimpleRectangularTextContainer: Bool { false }
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:14:28: error: cannot find type 'NSTextContainer' in scope
final class TextContainer: NSTextContainer {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:17:37: error: cannot find type 'NativeColor' in scope
init(thickness: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:15:24: error: cannot find type 'NativeColor' in scope
private let color: NativeColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:28:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:28:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByHeight.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByHeight.swift:13:56: error: cannot find type 'NativeImage' in scope
public func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/ImageSizer.swift:11:49: error: cannot find type 'NativeImage' in scope
func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByWidth.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByWidth.swift:13:56: error: cannot find type 'NativeImage' in scope
public func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:11:20: error: cannot find type 'NSTextAlignment' in scope
case alignment(NSTextAlignment)
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:19:20: error: cannot find type 'NSLineBreakMode' in scope
case lineBreak(NSLineBreakMode)
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:22:51: error: cannot find type 'NativeColor' in scope
case thematicBreak(thickness: CGFloat, color: NativeColor = .adaptableSeparatorColor)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:23:37: error: cannot find type 'NativeColor' in scope
case blockBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.em, bottomMargin: Length = 1.em, leftMargin: Length = 1.em, rightMargin: Length = 1.em)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:23:95: error: cannot find type 'NativeColor' in scope
case blockBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.em, bottomMargin: Length = 1.em, leftMargin: Length = 1.em, rightMargin: Length = 1.em)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:11:20: error: cannot find type 'NativeColor' in scope
case textColor(NativeColor)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:13:26: error: cannot find type 'NativeColor' in scope
case backgroundColor(NativeColor?)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:24: error: cannot find type 'NSUnderlineStyle' in scope
case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:49: error: cannot find type 'NativeColor' in scope
case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:20: error: cannot find type 'NSUnderlineStyle' in scope
case underline(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:45: error: cannot find type 'NativeColor' in scope
case underline(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:19:54: error: cannot find type 'NativeColor' in scope
case backgroundBorder(width: CGFloat = 1, color: NativeColor = .adaptableBlockQuoteMarginColor, sides: BorderSides = .all)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:20:38: error: cannot find type 'NativeColor' in scope
case inlineBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.pt, bottomMargin: Length = 1.pt, leftMargin: Length = 6.pt, rightMargin: Length = 6.pt)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:20:96: error: cannot find type 'NativeColor' in scope
case inlineBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.pt, bottomMargin: Length = 1.pt, leftMargin: Length = 6.pt, rightMargin: Length = 6.pt)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:28:36: error: cannot find type 'NativeColor' in scope
static func textColor(_ value: NativeColor) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:36:42: error: cannot find type 'NativeColor' in scope
static func backgroundColor(_ value: NativeColor?) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:44:40: error: cannot find type 'NSUnderlineStyle' in scope
static func strikethrough(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:44:65: error: cannot find type 'NativeColor' in scope
static func strikethrough(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:48:36: error: cannot find type 'NSUnderlineStyle' in scope
static func underline(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:48:61: error: cannot find type 'NativeColor' in scope
static func underline(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:52:61: error: cannot find type 'NativeColor' in scope
static func backgroundBorder(width: CGFloat = 1, color: NativeColor = .lightGray, sides: BorderSides = .all) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:58:49: error: cannot find type 'NSMutableParagraphStyle' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:58:92: error: cannot find type 'NativeFont' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:49: error: cannot find type 'NSMutableParagraphStyle' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:92: error: cannot find type 'NativeFont' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/DefaultImageLoader.swift:4:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
private let session = URLSession.shared
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/DefaultImageLoader.swift:10:71: error: cannot find type 'NativeImage' in scope
public func loadImage(_ urlString: String, completion: @escaping (NativeImage?) -> Void) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/ImageLoader.swift:4:64: error: cannot find type 'NativeImage' in scope
func loadImage(_ urlString: String, completion: @escaping (NativeImage?) -> Void)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/DefaultImageSizer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/DefaultImageSizer.swift:13:56: error: cannot find type 'NativeImage' in scope
public func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Em.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/ImageSizer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:24:49: error: cannot find type 'NSMutableParagraphStyle' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:24:92: error: cannot find type 'NativeFont' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Length.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:8:18: error: cannot find type 'NativeColor' in scope
public extension NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:82:19: error: cannot find type 'NativeColor' in scope
private extension NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeTypes.swift:33:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Points.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:10:18: error: cannot find type 'NSUnderlineStyle' in scope
public extension NSUnderlineStyle {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:15:23: error: cannot find type 'NSUnderlineStyle' in scope
public let style: NSUnderlineStyle
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:16:23: error: cannot find type 'NativeColor' in scope
public let color: NativeColor?
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:18:24: error: cannot find type 'NSUnderlineStyle' in scope
public init(style: NSUnderlineStyle, color: NativeColor?) {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:18:49: error: cannot find type 'NativeColor' in scope
public init(style: NSUnderlineStyle, color: NativeColor?) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:69:35: error: cannot infer contextual base in reference to member 'adaptableBackgroundColor'
.backgroundColor(.adaptableBackgroundColor),
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:70:29: error: cannot infer contextual base in reference to member 'adaptableTextColor'
.textColor(.adaptableTextColor)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:105:46: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
.blockBackground(fillColor: .adaptableCodeBackgroundColor, strokeColor: .adaptableCodeBorderColor, strokeWidth: 1, cornerRadius: 3)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:105:90: error: cannot infer contextual base in reference to member 'adaptableCodeBorderColor'
.blockBackground(fillColor: .adaptableCodeBackgroundColor, strokeColor: .adaptableCodeBorderColor, strokeWidth: 1, cornerRadius: 3)
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:108:29: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteTextColor'
.textColor(.adaptableBlockQuoteTextColor),
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:112:53: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteMarginColor'
.backgroundBorder(width: 8, color: .adaptableBlockQuoteMarginColor, sides: .left)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:112:93: error: cannot infer contextual base in reference to member 'left'
.backgroundBorder(width: 8, color: .adaptableBlockQuoteMarginColor, sides: .left)
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:129:54: error: cannot infer contextual base in reference to member 'adaptableSeparatorColor'
.thematicBreak(thickness: 1, color: .adaptableSeparatorColor),
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:144:29: error: cannot infer contextual base in reference to member 'adaptableLinkColor'
.textColor(.adaptableLinkColor),
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:145:29: error: cannot infer contextual base in reference to member 'single'
.underline(.single)
~^~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:152:65: error: cannot find type 'NativeImage' in scope
func imageTextAttachmentResize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:156:83: error: cannot find type 'NativeImage' in scope
func imageTextAttachmentLoadImage(_ urlString: String, completion: @escaping (NativeImage?) -> Void) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:8:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:66:72: error: cannot find type 'NativeFont' in scope
func defaultFont(for attributes: [NSAttributedString.Key: Any]) -> NativeFont {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:80:49: error: cannot find type 'NSMutableParagraphStyle' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:80:92: error: cannot find type 'NativeFont' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:95:49: error: cannot find type 'NSMutableParagraphStyle' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:95:92: error: cannot find type 'NativeFont' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:11:23: error: cannot find type 'NSUnderlineStyle' in scope
public let style: NSUnderlineStyle
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:12:23: error: cannot find type 'NativeColor' in scope
public let color: NativeColor?
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:14:24: error: cannot find type 'NSUnderlineStyle' in scope
public init(style: NSUnderlineStyle, color: NativeColor?) {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:14:49: error: cannot find type 'NativeColor' in scope
public init(style: NSUnderlineStyle, color: NativeColor?) {
^~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux