Build Information
Failed to build NativeMarkKit with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Build Log
attributes[.underlineStyle] = NSNumber(value: style.rawValue)
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:52:53: error: cannot find type 'NativeFont' in scope
let currentFont = attributes[.font] as? NativeFont
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:52:43: error: reference to member 'font' cannot be resolved without a contextual type
let currentFont = attributes[.font] as? NativeFont
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:53:25: error: type 'NSAttributedString.Key' has no member 'font'
attributes[.font] = currentFont.withSize(fontSize)
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:55:53: error: cannot find type 'NativeFont' in scope
let currentFont = attributes[.font] as? NativeFont
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:55:43: error: reference to member 'font' cannot be resolved without a contextual type
let currentFont = attributes[.font] as? NativeFont
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:56:25: error: type 'NSAttributedString.Key' has no member 'font'
attributes[.font] = currentFont.withTraits(traits)
~^~~~
/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/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/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/NativeColor+Adaptable.swift:61:46: error: cannot find type 'NativeColor' in scope
static var adaptableBlockQuoteTextColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:65:48: error: cannot find type 'NativeColor' in scope
static var adaptableBlockQuoteMarginColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:69:46: error: cannot find type 'NativeColor' in scope
static var adaptableCodeBackgroundColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:73:42: error: cannot find type 'NativeColor' in scope
static var adaptableCodeBorderColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:77:48: error: cannot find type 'NativeColor' in scope
static var adaptableImagePlaceholderColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:83:33: error: cannot find 'NativeColor' in scope
static let blockQuoteText = NativeColor(red: 0.25, green: 0.25, blue: 0.25, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:84:37: error: cannot find 'NativeColor' in scope
static let blockQuoteTextDark = NativeColor(red: 0.85, green: 0.85, blue: 0.85, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:85:33: error: cannot find 'NativeColor' in scope
static let codeBackground = NativeColor(red: 0.95, green: 0.95, blue: 0.95, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:86:37: error: cannot find 'NativeColor' in scope
static let codeBackgroundDark = NativeColor(red: 0.05, green: 0.05, blue: 0.05, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:87:35: error: cannot find 'NativeColor' in scope
static let imagePlaceholder = NativeColor(red: 0.95, green: 0.95, blue: 0.95, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:88:39: error: cannot find 'NativeColor' in scope
static let imagePlaceholderDark = NativeColor(red: 0.05, green: 0.05, blue: 0.05, alpha: 1.0)
^~~~~~~~~~~
[50/61] Compiling NativeMarkKit NativeColor+Adaptable.swift
/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: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/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/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/InlineStyle.swift:33:25: error: type 'NSAttributedString.Key' has no member 'foregroundColor'
attributes[.foregroundColor] = color
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:35:25: error: type 'NSAttributedString.Key' has no member 'font'
attributes[.font] = style.makeFont()
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:35:39: error: value of type 'TextStyle' has no member 'makeFont'
attributes[.font] = style.makeFont()
~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:37:25: error: type 'NSAttributedString.Key' has no member 'backgroundColor'
attributes[.backgroundColor] = backgroundColor
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:39:54: error: cannot find type 'NativeFont' in scope
let defaultFont = (attributes[.font] as? NativeFont) ?? TextStyle.body.makeFont()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:39:84: error: value of type 'TextStyle' has no member 'makeFont'
let defaultFont = (attributes[.font] as? NativeFont) ?? TextStyle.body.makeFont()
~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:39:44: error: reference to member 'font' cannot be resolved without a contextual type
let defaultFont = (attributes[.font] as? NativeFont) ?? TextStyle.body.makeFont()
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:40:25: error: type 'NSAttributedString.Key' has no member 'kern'
attributes[.kern] = kerning.asRawPoints(for: defaultFont.pointSize)
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:43:29: error: type 'NSAttributedString.Key' has no member 'strikethroughColor'
attributes[.strikethroughColor] = color
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:45:25: error: type 'NSAttributedString.Key' has no member 'strikethroughStyle'
attributes[.strikethroughStyle] = NSNumber(value: style.rawValue)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:48:29: error: type 'NSAttributedString.Key' has no member 'underlineColor'
attributes[.underlineColor] = color
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:50:25: error: type 'NSAttributedString.Key' has no member 'underlineStyle'
attributes[.underlineStyle] = NSNumber(value: style.rawValue)
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:52:53: error: cannot find type 'NativeFont' in scope
let currentFont = attributes[.font] as? NativeFont
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:52:43: error: reference to member 'font' cannot be resolved without a contextual type
let currentFont = attributes[.font] as? NativeFont
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:53:25: error: type 'NSAttributedString.Key' has no member 'font'
attributes[.font] = currentFont.withSize(fontSize)
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:55:53: error: cannot find type 'NativeFont' in scope
let currentFont = attributes[.font] as? NativeFont
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:55:43: error: reference to member 'font' cannot be resolved without a contextual type
let currentFont = attributes[.font] as? NativeFont
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:56:25: error: type 'NSAttributedString.Key' has no member 'font'
attributes[.font] = currentFont.withTraits(traits)
~^~~~
/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/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/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/NativeColor+Adaptable.swift:61:46: error: cannot find type 'NativeColor' in scope
static var adaptableBlockQuoteTextColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:65:48: error: cannot find type 'NativeColor' in scope
static var adaptableBlockQuoteMarginColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:69:46: error: cannot find type 'NativeColor' in scope
static var adaptableCodeBackgroundColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:73:42: error: cannot find type 'NativeColor' in scope
static var adaptableCodeBorderColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:77:48: error: cannot find type 'NativeColor' in scope
static var adaptableImagePlaceholderColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:83:33: error: cannot find 'NativeColor' in scope
static let blockQuoteText = NativeColor(red: 0.25, green: 0.25, blue: 0.25, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:84:37: error: cannot find 'NativeColor' in scope
static let blockQuoteTextDark = NativeColor(red: 0.85, green: 0.85, blue: 0.85, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:85:33: error: cannot find 'NativeColor' in scope
static let codeBackground = NativeColor(red: 0.95, green: 0.95, blue: 0.95, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:86:37: error: cannot find 'NativeColor' in scope
static let codeBackgroundDark = NativeColor(red: 0.05, green: 0.05, blue: 0.05, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:87:35: error: cannot find 'NativeColor' in scope
static let imagePlaceholder = NativeColor(red: 0.95, green: 0.95, blue: 0.95, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:88:39: error: cannot find 'NativeColor' in scope
static let imagePlaceholderDark = NativeColor(red: 0.05, green: 0.05, blue: 0.05, alpha: 1.0)
^~~~~~~~~~~
[51/61] Compiling NativeMarkKit NativeTypes.swift
/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: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/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/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/InlineStyle.swift:33:25: error: type 'NSAttributedString.Key' has no member 'foregroundColor'
attributes[.foregroundColor] = color
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:35:25: error: type 'NSAttributedString.Key' has no member 'font'
attributes[.font] = style.makeFont()
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:35:39: error: value of type 'TextStyle' has no member 'makeFont'
attributes[.font] = style.makeFont()
~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:37:25: error: type 'NSAttributedString.Key' has no member 'backgroundColor'
attributes[.backgroundColor] = backgroundColor
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:39:54: error: cannot find type 'NativeFont' in scope
let defaultFont = (attributes[.font] as? NativeFont) ?? TextStyle.body.makeFont()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:39:84: error: value of type 'TextStyle' has no member 'makeFont'
let defaultFont = (attributes[.font] as? NativeFont) ?? TextStyle.body.makeFont()
~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:39:44: error: reference to member 'font' cannot be resolved without a contextual type
let defaultFont = (attributes[.font] as? NativeFont) ?? TextStyle.body.makeFont()
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:40:25: error: type 'NSAttributedString.Key' has no member 'kern'
attributes[.kern] = kerning.asRawPoints(for: defaultFont.pointSize)
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:43:29: error: type 'NSAttributedString.Key' has no member 'strikethroughColor'
attributes[.strikethroughColor] = color
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:45:25: error: type 'NSAttributedString.Key' has no member 'strikethroughStyle'
attributes[.strikethroughStyle] = NSNumber(value: style.rawValue)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:48:29: error: type 'NSAttributedString.Key' has no member 'underlineColor'
attributes[.underlineColor] = color
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:50:25: error: type 'NSAttributedString.Key' has no member 'underlineStyle'
attributes[.underlineStyle] = NSNumber(value: style.rawValue)
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:52:53: error: cannot find type 'NativeFont' in scope
let currentFont = attributes[.font] as? NativeFont
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:52:43: error: reference to member 'font' cannot be resolved without a contextual type
let currentFont = attributes[.font] as? NativeFont
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:53:25: error: type 'NSAttributedString.Key' has no member 'font'
attributes[.font] = currentFont.withSize(fontSize)
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:55:53: error: cannot find type 'NativeFont' in scope
let currentFont = attributes[.font] as? NativeFont
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:55:43: error: reference to member 'font' cannot be resolved without a contextual type
let currentFont = attributes[.font] as? NativeFont
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:56:25: error: type 'NSAttributedString.Key' has no member 'font'
attributes[.font] = currentFont.withTraits(traits)
~^~~~
/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/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/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/NativeColor+Adaptable.swift:61:46: error: cannot find type 'NativeColor' in scope
static var adaptableBlockQuoteTextColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:65:48: error: cannot find type 'NativeColor' in scope
static var adaptableBlockQuoteMarginColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:69:46: error: cannot find type 'NativeColor' in scope
static var adaptableCodeBackgroundColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:73:42: error: cannot find type 'NativeColor' in scope
static var adaptableCodeBorderColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:77:48: error: cannot find type 'NativeColor' in scope
static var adaptableImagePlaceholderColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:83:33: error: cannot find 'NativeColor' in scope
static let blockQuoteText = NativeColor(red: 0.25, green: 0.25, blue: 0.25, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:84:37: error: cannot find 'NativeColor' in scope
static let blockQuoteTextDark = NativeColor(red: 0.85, green: 0.85, blue: 0.85, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:85:33: error: cannot find 'NativeColor' in scope
static let codeBackground = NativeColor(red: 0.95, green: 0.95, blue: 0.95, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:86:37: error: cannot find 'NativeColor' in scope
static let codeBackgroundDark = NativeColor(red: 0.05, green: 0.05, blue: 0.05, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:87:35: error: cannot find 'NativeColor' in scope
static let imagePlaceholder = NativeColor(red: 0.95, green: 0.95, blue: 0.95, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:88:39: error: cannot find 'NativeColor' in scope
static let imagePlaceholderDark = NativeColor(red: 0.05, green: 0.05, blue: 0.05, alpha: 1.0)
^~~~~~~~~~~
[52/61] Compiling NativeMarkKit OrderedListMarkerFormat.swift
/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: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/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/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/InlineStyle.swift:33:25: error: type 'NSAttributedString.Key' has no member 'foregroundColor'
attributes[.foregroundColor] = color
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:35:25: error: type 'NSAttributedString.Key' has no member 'font'
attributes[.font] = style.makeFont()
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:35:39: error: value of type 'TextStyle' has no member 'makeFont'
attributes[.font] = style.makeFont()
~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:37:25: error: type 'NSAttributedString.Key' has no member 'backgroundColor'
attributes[.backgroundColor] = backgroundColor
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:39:54: error: cannot find type 'NativeFont' in scope
let defaultFont = (attributes[.font] as? NativeFont) ?? TextStyle.body.makeFont()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:39:84: error: value of type 'TextStyle' has no member 'makeFont'
let defaultFont = (attributes[.font] as? NativeFont) ?? TextStyle.body.makeFont()
~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:39:44: error: reference to member 'font' cannot be resolved without a contextual type
let defaultFont = (attributes[.font] as? NativeFont) ?? TextStyle.body.makeFont()
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:40:25: error: type 'NSAttributedString.Key' has no member 'kern'
attributes[.kern] = kerning.asRawPoints(for: defaultFont.pointSize)
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:43:29: error: type 'NSAttributedString.Key' has no member 'strikethroughColor'
attributes[.strikethroughColor] = color
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:45:25: error: type 'NSAttributedString.Key' has no member 'strikethroughStyle'
attributes[.strikethroughStyle] = NSNumber(value: style.rawValue)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:48:29: error: type 'NSAttributedString.Key' has no member 'underlineColor'
attributes[.underlineColor] = color
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:50:25: error: type 'NSAttributedString.Key' has no member 'underlineStyle'
attributes[.underlineStyle] = NSNumber(value: style.rawValue)
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:52:53: error: cannot find type 'NativeFont' in scope
let currentFont = attributes[.font] as? NativeFont
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:52:43: error: reference to member 'font' cannot be resolved without a contextual type
let currentFont = attributes[.font] as? NativeFont
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:53:25: error: type 'NSAttributedString.Key' has no member 'font'
attributes[.font] = currentFont.withSize(fontSize)
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:55:53: error: cannot find type 'NativeFont' in scope
let currentFont = attributes[.font] as? NativeFont
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:55:43: error: reference to member 'font' cannot be resolved without a contextual type
let currentFont = attributes[.font] as? NativeFont
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:56:25: error: type 'NSAttributedString.Key' has no member 'font'
attributes[.font] = currentFont.withTraits(traits)
~^~~~
/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/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/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/NativeColor+Adaptable.swift:61:46: error: cannot find type 'NativeColor' in scope
static var adaptableBlockQuoteTextColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:65:48: error: cannot find type 'NativeColor' in scope
static var adaptableBlockQuoteMarginColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:69:46: error: cannot find type 'NativeColor' in scope
static var adaptableCodeBackgroundColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:73:42: error: cannot find type 'NativeColor' in scope
static var adaptableCodeBorderColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:77:48: error: cannot find type 'NativeColor' in scope
static var adaptableImagePlaceholderColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:83:33: error: cannot find 'NativeColor' in scope
static let blockQuoteText = NativeColor(red: 0.25, green: 0.25, blue: 0.25, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:84:37: error: cannot find 'NativeColor' in scope
static let blockQuoteTextDark = NativeColor(red: 0.85, green: 0.85, blue: 0.85, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:85:33: error: cannot find 'NativeColor' in scope
static let codeBackground = NativeColor(red: 0.95, green: 0.95, blue: 0.95, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:86:37: error: cannot find 'NativeColor' in scope
static let codeBackgroundDark = NativeColor(red: 0.05, green: 0.05, blue: 0.05, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:87:35: error: cannot find 'NativeColor' in scope
static let imagePlaceholder = NativeColor(red: 0.95, green: 0.95, blue: 0.95, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:88:39: error: cannot find 'NativeColor' in scope
static let imagePlaceholderDark = NativeColor(red: 0.05, green: 0.05, blue: 0.05, alpha: 1.0)
^~~~~~~~~~~
[53/61] Compiling NativeMarkKit Points.swift
/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: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/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/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/InlineStyle.swift:33:25: error: type 'NSAttributedString.Key' has no member 'foregroundColor'
attributes[.foregroundColor] = color
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:35:25: error: type 'NSAttributedString.Key' has no member 'font'
attributes[.font] = style.makeFont()
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:35:39: error: value of type 'TextStyle' has no member 'makeFont'
attributes[.font] = style.makeFont()
~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:37:25: error: type 'NSAttributedString.Key' has no member 'backgroundColor'
attributes[.backgroundColor] = backgroundColor
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:39:54: error: cannot find type 'NativeFont' in scope
let defaultFont = (attributes[.font] as? NativeFont) ?? TextStyle.body.makeFont()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:39:84: error: value of type 'TextStyle' has no member 'makeFont'
let defaultFont = (attributes[.font] as? NativeFont) ?? TextStyle.body.makeFont()
~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:39:44: error: reference to member 'font' cannot be resolved without a contextual type
let defaultFont = (attributes[.font] as? NativeFont) ?? TextStyle.body.makeFont()
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:40:25: error: type 'NSAttributedString.Key' has no member 'kern'
attributes[.kern] = kerning.asRawPoints(for: defaultFont.pointSize)
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:43:29: error: type 'NSAttributedString.Key' has no member 'strikethroughColor'
attributes[.strikethroughColor] = color
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:45:25: error: type 'NSAttributedString.Key' has no member 'strikethroughStyle'
attributes[.strikethroughStyle] = NSNumber(value: style.rawValue)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:48:29: error: type 'NSAttributedString.Key' has no member 'underlineColor'
attributes[.underlineColor] = color
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:50:25: error: type 'NSAttributedString.Key' has no member 'underlineStyle'
attributes[.underlineStyle] = NSNumber(value: style.rawValue)
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:52:53: error: cannot find type 'NativeFont' in scope
let currentFont = attributes[.font] as? NativeFont
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:52:43: error: reference to member 'font' cannot be resolved without a contextual type
let currentFont = attributes[.font] as? NativeFont
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:53:25: error: type 'NSAttributedString.Key' has no member 'font'
attributes[.font] = currentFont.withSize(fontSize)
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:55:53: error: cannot find type 'NativeFont' in scope
let currentFont = attributes[.font] as? NativeFont
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:55:43: error: reference to member 'font' cannot be resolved without a contextual type
let currentFont = attributes[.font] as? NativeFont
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:56:25: error: type 'NSAttributedString.Key' has no member 'font'
attributes[.font] = currentFont.withTraits(traits)
~^~~~
/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/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/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/NativeColor+Adaptable.swift:61:46: error: cannot find type 'NativeColor' in scope
static var adaptableBlockQuoteTextColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:65:48: error: cannot find type 'NativeColor' in scope
static var adaptableBlockQuoteMarginColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:69:46: error: cannot find type 'NativeColor' in scope
static var adaptableCodeBackgroundColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:73:42: error: cannot find type 'NativeColor' in scope
static var adaptableCodeBorderColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:77:48: error: cannot find type 'NativeColor' in scope
static var adaptableImagePlaceholderColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:83:33: error: cannot find 'NativeColor' in scope
static let blockQuoteText = NativeColor(red: 0.25, green: 0.25, blue: 0.25, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:84:37: error: cannot find 'NativeColor' in scope
static let blockQuoteTextDark = NativeColor(red: 0.85, green: 0.85, blue: 0.85, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:85:33: error: cannot find 'NativeColor' in scope
static let codeBackground = NativeColor(red: 0.95, green: 0.95, blue: 0.95, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:86:37: error: cannot find 'NativeColor' in scope
static let codeBackgroundDark = NativeColor(red: 0.05, green: 0.05, blue: 0.05, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:87:35: error: cannot find 'NativeColor' in scope
static let imagePlaceholder = NativeColor(red: 0.95, green: 0.95, blue: 0.95, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:88:39: error: cannot find 'NativeColor' in scope
static let imagePlaceholderDark = NativeColor(red: 0.05, green: 0.05, blue: 0.05, alpha: 1.0)
^~~~~~~~~~~
[54/61] Compiling NativeMarkKit Strikethrough.swift
/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/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/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/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: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/InlineStyle.swift:11:20: error: cannot find type 'NativeColor' in scope
case textColor(NativeColor)
^~~~~~~~~~~
/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: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/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: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/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/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/style/StyleStack.swift:8:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/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/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/StyleStack.swift:55:30: error: cannot find 'NSMutableParagraphStyle' in scope
let paragraphStyle = NSMutableParagraphStyle()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:60:21: error: type 'NSAttributedString.Key' has no member 'paragraphStyle'
attributes[.paragraphStyle] = paragraphStyle
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:36:30: error: value of type 'TextStyle' has no member 'pointSize'
return textStyle.pointSize
~~~~~~~~~ ^~~~~~~~~
/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?) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:11:23: error: cannot find 'NSUnderlineStyle' in scope
static let none = NSUnderlineStyle([])
^~~~~~~~~~~~~~~~
[55/61] Compiling NativeMarkKit StyleSheet.swift
/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/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/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/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: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/InlineStyle.swift:11:20: error: cannot find type 'NativeColor' in scope
case textColor(NativeColor)
^~~~~~~~~~~
/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: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/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: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/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/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/style/StyleStack.swift:8:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/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/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/StyleStack.swift:55:30: error: cannot find 'NSMutableParagraphStyle' in scope
let paragraphStyle = NSMutableParagraphStyle()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:60:21: error: type 'NSAttributedString.Key' has no member 'paragraphStyle'
attributes[.paragraphStyle] = paragraphStyle
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:36:30: error: value of type 'TextStyle' has no member 'pointSize'
return textStyle.pointSize
~~~~~~~~~ ^~~~~~~~~
/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?) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:11:23: error: cannot find 'NSUnderlineStyle' in scope
static let none = NSUnderlineStyle([])
^~~~~~~~~~~~~~~~
[56/61] Compiling NativeMarkKit StyleStack.swift
/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/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/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/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: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/InlineStyle.swift:11:20: error: cannot find type 'NativeColor' in scope
case textColor(NativeColor)
^~~~~~~~~~~
/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: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/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: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/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/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/style/StyleStack.swift:8:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/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/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/StyleStack.swift:55:30: error: cannot find 'NSMutableParagraphStyle' in scope
let paragraphStyle = NSMutableParagraphStyle()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:60:21: error: type 'NSAttributedString.Key' has no member 'paragraphStyle'
attributes[.paragraphStyle] = paragraphStyle
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:36:30: error: value of type 'TextStyle' has no member 'pointSize'
return textStyle.pointSize
~~~~~~~~~ ^~~~~~~~~
/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?) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:11:23: error: cannot find 'NSUnderlineStyle' in scope
static let none = NSUnderlineStyle([])
^~~~~~~~~~~~~~~~
[57/61] Compiling NativeMarkKit TextStyle+AppKit.swift
/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/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/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/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: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/InlineStyle.swift:11:20: error: cannot find type 'NativeColor' in scope
case textColor(NativeColor)
^~~~~~~~~~~
/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: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/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: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/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/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/style/StyleStack.swift:8:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/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/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/StyleStack.swift:55:30: error: cannot find 'NSMutableParagraphStyle' in scope
let paragraphStyle = NSMutableParagraphStyle()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:60:21: error: type 'NSAttributedString.Key' has no member 'paragraphStyle'
attributes[.paragraphStyle] = paragraphStyle
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:36:30: error: value of type 'TextStyle' has no member 'pointSize'
return textStyle.pointSize
~~~~~~~~~ ^~~~~~~~~
/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?) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:11:23: error: cannot find 'NSUnderlineStyle' in scope
static let none = NSUnderlineStyle([])
^~~~~~~~~~~~~~~~
[58/61] Compiling NativeMarkKit TextStyle+UIKit.swift
/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/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/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/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: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/InlineStyle.swift:11:20: error: cannot find type 'NativeColor' in scope
case textColor(NativeColor)
^~~~~~~~~~~
/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: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/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: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/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/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/style/StyleStack.swift:8:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/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/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/StyleStack.swift:55:30: error: cannot find 'NSMutableParagraphStyle' in scope
let paragraphStyle = NSMutableParagraphStyle()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:60:21: error: type 'NSAttributedString.Key' has no member 'paragraphStyle'
attributes[.paragraphStyle] = paragraphStyle
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:36:30: error: value of type 'TextStyle' has no member 'pointSize'
return textStyle.pointSize
~~~~~~~~~ ^~~~~~~~~
/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?) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:11:23: error: cannot find 'NSUnderlineStyle' in scope
static let none = NSUnderlineStyle([])
^~~~~~~~~~~~~~~~
[59/61] Compiling NativeMarkKit TextStyle.swift
/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/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/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/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: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/InlineStyle.swift:11:20: error: cannot find type 'NativeColor' in scope
case textColor(NativeColor)
^~~~~~~~~~~
/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: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/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: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/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/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/style/StyleStack.swift:8:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/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/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/StyleStack.swift:55:30: error: cannot find 'NSMutableParagraphStyle' in scope
let paragraphStyle = NSMutableParagraphStyle()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:60:21: error: type 'NSAttributedString.Key' has no member 'paragraphStyle'
attributes[.paragraphStyle] = paragraphStyle
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:36:30: error: value of type 'TextStyle' has no member 'pointSize'
return textStyle.pointSize
~~~~~~~~~ ^~~~~~~~~
/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?) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:11:23: error: cannot find 'NSUnderlineStyle' in scope
static let none = NSUnderlineStyle([])
^~~~~~~~~~~~~~~~
[60/61] Compiling NativeMarkKit Underline.swift
/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/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/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/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: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/InlineStyle.swift:11:20: error: cannot find type 'NativeColor' in scope
case textColor(NativeColor)
^~~~~~~~~~~
/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: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/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: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/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/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/style/StyleStack.swift:8:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/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/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/StyleStack.swift:55:30: error: cannot find 'NSMutableParagraphStyle' in scope
let paragraphStyle = NSMutableParagraphStyle()
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:60:21: error: type 'NSAttributedString.Key' has no member 'paragraphStyle'
attributes[.paragraphStyle] = paragraphStyle
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:36:30: error: value of type 'TextStyle' has no member 'pointSize'
return textStyle.pointSize
~~~~~~~~~ ^~~~~~~~~
/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?) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:11:23: error: cannot find 'NSUnderlineStyle' in scope
static let none = NSUnderlineStyle([])
^~~~~~~~~~~~~~~~
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/NativeTextAttachment.swift:24:29: error: cannot find type 'NSTextAttachment' in scope
class NativeTextAttachment: NSTextAttachment {
^~~~~~~~~~~~~~~~
/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/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:10:28: error: cannot find type 'NSLayoutManager' in scope
final class LayoutManager: NSLayoutManager {
^~~~~~~~~~~~~~~
/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: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/TextContainer.swift:14:28: error: cannot find type 'NSTextContainer' in scope
final class TextContainer: NSTextContainer {
^~~~~~~~~~~~~~~
/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/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?) {
^~~~~~~~~~~
BUILD FAILURE 5.8 linux