Build Information
Failed to build NativeMarkKit with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:53:35: error: cannot infer contextual base in reference to member 'adaptableBackgroundColor'
.backgroundColor(.adaptableBackgroundColor),
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:54:29: error: cannot infer contextual base in reference to member 'adaptableTextColor'
.textColor(.adaptableTextColor)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:45: error: cannot infer contextual base in reference to member 'roundedRect'
.blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:93: error: cannot infer contextual base in reference to member 'adaptableCodeBorderColor'
.blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:92:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
.blockBackground(.adaptableCodeBackgroundColor),
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:93:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
.backgroundColor(.adaptableCodeBackgroundColor)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:96:29: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteTextColor'
.textColor(.adaptableBlockQuoteTextColor),
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:45: error: cannot infer contextual base in reference to member 'rectangle'
.blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
~^~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:63: error: cannot infer contextual base in reference to member 'left'
.blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:88: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteMarginColor'
.blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:102:34: error: 'nil' requires a contextual type
.blockBackground(nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:109:34: error: 'nil' requires a contextual type
.blockBackground(nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:120:34: error: 'nil' requires a contextual type
.blockBackground(nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:130:34: error: 'nil' requires a contextual type
.blockBackground(nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:133: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:33: error: cannot infer contextual base in reference to member 'single'
.strikethrough(.single)
~^~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:151:29: error: cannot infer contextual base in reference to member 'adaptableLinkColor'
.textColor(.adaptableLinkColor),
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:152:29: error: cannot infer contextual base in reference to member 'single'
.underline(.single)
~^~~~~~
/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/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:81:49: error: cannot find type 'NativeColor' in scope
static var adaptableCheckmarkDisabledColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:85:55: error: cannot find type 'NativeColor' in scope
static var adaptableCheckmarkDisabledBorderColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:91: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:92: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:93: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:94: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:95: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:96:39: error: cannot find 'NativeColor' in scope
static let imagePlaceholderDark = NativeColor(red: 0.05, green: 0.05, blue: 0.05, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:97:42: error: cannot find 'NativeColor' in scope
static let checkmarkDisabledBorder = NativeColor(red: 0.9, green: 0.9, blue: 0.9, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:98:46: error: cannot find 'NativeColor' in scope
static let checkmarkDisabledBorderDark = NativeColor(red: 0.25, green: 0.25, blue: 0.25, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:99:36: error: cannot find 'NativeColor' in scope
static let checkmarkDisabled = NativeColor(red: 0.7, green: 0.7, blue: 0.7, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:100:40: error: cannot find 'NativeColor' in scope
static let checkmarkDisabledDark = NativeColor(red: 0.5, green: 0.5, blue: 0.5, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:11:23: error: cannot find 'NSUnderlineStyle' in scope
static let none = NSUnderlineStyle([])
^~~~~~~~~~~~~~~~
[76/94] Compiling NativeMarkKit Points.swift
/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:90: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/Border.swift:18:60: error: cannot find type 'NativeColor' in scope
public init(shape: BorderShape, width: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:32:36: error: cannot find type 'NativeColor' in scope
static func textColor(_ value: NativeColor) -> BlockStyle {
^~~~~~~~~~~
/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:40:42: error: cannot find type 'NativeColor' in scope
static func backgroundColor(_ value: NativeColor?) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:26:26: error: cannot find type 'NativeColor' in scope
case blockBackground(NativeColor?)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:45: error: cannot infer contextual base in reference to member 'rectangle'
public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
~^~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:85: error: cannot infer contextual base in reference to member 'clear'
public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
~^~~~~
/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:11:20: error: cannot find type 'NativeColor' in scope
case textColor(NativeColor)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:22:44: error: cannot find type 'NativeColor' in scope
backgroundColor: NativeColor? = .adaptableCodeBackgroundColor)
^~~~~~~~~~~
/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/StyleSheet.swift:53:35: error: cannot infer contextual base in reference to member 'adaptableBackgroundColor'
.backgroundColor(.adaptableBackgroundColor),
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:54:29: error: cannot infer contextual base in reference to member 'adaptableTextColor'
.textColor(.adaptableTextColor)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:45: error: cannot infer contextual base in reference to member 'roundedRect'
.blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:93: error: cannot infer contextual base in reference to member 'adaptableCodeBorderColor'
.blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:92:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
.blockBackground(.adaptableCodeBackgroundColor),
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:93:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
.backgroundColor(.adaptableCodeBackgroundColor)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:96:29: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteTextColor'
.textColor(.adaptableBlockQuoteTextColor),
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:45: error: cannot infer contextual base in reference to member 'rectangle'
.blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
~^~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:63: error: cannot infer contextual base in reference to member 'left'
.blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:88: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteMarginColor'
.blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:102:34: error: 'nil' requires a contextual type
.blockBackground(nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:109:34: error: 'nil' requires a contextual type
.blockBackground(nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:120:34: error: 'nil' requires a contextual type
.blockBackground(nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:130:34: error: 'nil' requires a contextual type
.blockBackground(nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:133: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:33: error: cannot infer contextual base in reference to member 'single'
.strikethrough(.single)
~^~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:151:29: error: cannot infer contextual base in reference to member 'adaptableLinkColor'
.textColor(.adaptableLinkColor),
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:152:29: error: cannot infer contextual base in reference to member 'single'
.underline(.single)
~^~~~~~
/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/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:81:49: error: cannot find type 'NativeColor' in scope
static var adaptableCheckmarkDisabledColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:85:55: error: cannot find type 'NativeColor' in scope
static var adaptableCheckmarkDisabledBorderColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:91: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:92: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:93: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:94: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:95: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:96:39: error: cannot find 'NativeColor' in scope
static let imagePlaceholderDark = NativeColor(red: 0.05, green: 0.05, blue: 0.05, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:97:42: error: cannot find 'NativeColor' in scope
static let checkmarkDisabledBorder = NativeColor(red: 0.9, green: 0.9, blue: 0.9, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:98:46: error: cannot find 'NativeColor' in scope
static let checkmarkDisabledBorderDark = NativeColor(red: 0.25, green: 0.25, blue: 0.25, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:99:36: error: cannot find 'NativeColor' in scope
static let checkmarkDisabled = NativeColor(red: 0.7, green: 0.7, blue: 0.7, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:100:40: error: cannot find 'NativeColor' in scope
static let checkmarkDisabledDark = NativeColor(red: 0.5, green: 0.5, blue: 0.5, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:11:23: error: cannot find 'NSUnderlineStyle' in scope
static let none = NSUnderlineStyle([])
^~~~~~~~~~~~~~~~
[77/94] Compiling NativeMarkKit Strikethrough.swift
/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:90: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/Border.swift:18:60: error: cannot find type 'NativeColor' in scope
public init(shape: BorderShape, width: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:32:36: error: cannot find type 'NativeColor' in scope
static func textColor(_ value: NativeColor) -> BlockStyle {
^~~~~~~~~~~
/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:40:42: error: cannot find type 'NativeColor' in scope
static func backgroundColor(_ value: NativeColor?) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:26:26: error: cannot find type 'NativeColor' in scope
case blockBackground(NativeColor?)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:45: error: cannot infer contextual base in reference to member 'rectangle'
public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
~^~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:85: error: cannot infer contextual base in reference to member 'clear'
public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
~^~~~~
/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:11:20: error: cannot find type 'NativeColor' in scope
case textColor(NativeColor)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:22:44: error: cannot find type 'NativeColor' in scope
backgroundColor: NativeColor? = .adaptableCodeBackgroundColor)
^~~~~~~~~~~
/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/StyleSheet.swift:53:35: error: cannot infer contextual base in reference to member 'adaptableBackgroundColor'
.backgroundColor(.adaptableBackgroundColor),
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:54:29: error: cannot infer contextual base in reference to member 'adaptableTextColor'
.textColor(.adaptableTextColor)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:45: error: cannot infer contextual base in reference to member 'roundedRect'
.blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:93: error: cannot infer contextual base in reference to member 'adaptableCodeBorderColor'
.blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:92:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
.blockBackground(.adaptableCodeBackgroundColor),
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:93:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
.backgroundColor(.adaptableCodeBackgroundColor)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:96:29: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteTextColor'
.textColor(.adaptableBlockQuoteTextColor),
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:45: error: cannot infer contextual base in reference to member 'rectangle'
.blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
~^~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:63: error: cannot infer contextual base in reference to member 'left'
.blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:88: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteMarginColor'
.blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:102:34: error: 'nil' requires a contextual type
.blockBackground(nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:109:34: error: 'nil' requires a contextual type
.blockBackground(nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:120:34: error: 'nil' requires a contextual type
.blockBackground(nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:130:34: error: 'nil' requires a contextual type
.blockBackground(nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:133: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:33: error: cannot infer contextual base in reference to member 'single'
.strikethrough(.single)
~^~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:151:29: error: cannot infer contextual base in reference to member 'adaptableLinkColor'
.textColor(.adaptableLinkColor),
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:152:29: error: cannot infer contextual base in reference to member 'single'
.underline(.single)
~^~~~~~
/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/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:81:49: error: cannot find type 'NativeColor' in scope
static var adaptableCheckmarkDisabledColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:85:55: error: cannot find type 'NativeColor' in scope
static var adaptableCheckmarkDisabledBorderColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:91: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:92: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:93: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:94: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:95: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:96:39: error: cannot find 'NativeColor' in scope
static let imagePlaceholderDark = NativeColor(red: 0.05, green: 0.05, blue: 0.05, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:97:42: error: cannot find 'NativeColor' in scope
static let checkmarkDisabledBorder = NativeColor(red: 0.9, green: 0.9, blue: 0.9, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:98:46: error: cannot find 'NativeColor' in scope
static let checkmarkDisabledBorderDark = NativeColor(red: 0.25, green: 0.25, blue: 0.25, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:99:36: error: cannot find 'NativeColor' in scope
static let checkmarkDisabled = NativeColor(red: 0.7, green: 0.7, blue: 0.7, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:100:40: error: cannot find 'NativeColor' in scope
static let checkmarkDisabledDark = NativeColor(red: 0.5, green: 0.5, blue: 0.5, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:11:23: error: cannot find 'NSUnderlineStyle' in scope
static let none = NSUnderlineStyle([])
^~~~~~~~~~~~~~~~
[78/94] Compiling NativeMarkKit StyleSheet.swift
/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:90: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/Border.swift:18:60: error: cannot find type 'NativeColor' in scope
public init(shape: BorderShape, width: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:32:36: error: cannot find type 'NativeColor' in scope
static func textColor(_ value: NativeColor) -> BlockStyle {
^~~~~~~~~~~
/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:40:42: error: cannot find type 'NativeColor' in scope
static func backgroundColor(_ value: NativeColor?) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:26:26: error: cannot find type 'NativeColor' in scope
case blockBackground(NativeColor?)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:45: error: cannot infer contextual base in reference to member 'rectangle'
public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
~^~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:85: error: cannot infer contextual base in reference to member 'clear'
public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
~^~~~~
/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:11:20: error: cannot find type 'NativeColor' in scope
case textColor(NativeColor)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:22:44: error: cannot find type 'NativeColor' in scope
backgroundColor: NativeColor? = .adaptableCodeBackgroundColor)
^~~~~~~~~~~
/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/StyleSheet.swift:53:35: error: cannot infer contextual base in reference to member 'adaptableBackgroundColor'
.backgroundColor(.adaptableBackgroundColor),
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:54:29: error: cannot infer contextual base in reference to member 'adaptableTextColor'
.textColor(.adaptableTextColor)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:45: error: cannot infer contextual base in reference to member 'roundedRect'
.blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:93: error: cannot infer contextual base in reference to member 'adaptableCodeBorderColor'
.blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:92:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
.blockBackground(.adaptableCodeBackgroundColor),
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:93:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
.backgroundColor(.adaptableCodeBackgroundColor)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:96:29: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteTextColor'
.textColor(.adaptableBlockQuoteTextColor),
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:45: error: cannot infer contextual base in reference to member 'rectangle'
.blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
~^~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:63: error: cannot infer contextual base in reference to member 'left'
.blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:88: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteMarginColor'
.blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:102:34: error: 'nil' requires a contextual type
.blockBackground(nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:109:34: error: 'nil' requires a contextual type
.blockBackground(nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:120:34: error: 'nil' requires a contextual type
.blockBackground(nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:130:34: error: 'nil' requires a contextual type
.blockBackground(nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:133: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:33: error: cannot infer contextual base in reference to member 'single'
.strikethrough(.single)
~^~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:151:29: error: cannot infer contextual base in reference to member 'adaptableLinkColor'
.textColor(.adaptableLinkColor),
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:152:29: error: cannot infer contextual base in reference to member 'single'
.underline(.single)
~^~~~~~
/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/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:81:49: error: cannot find type 'NativeColor' in scope
static var adaptableCheckmarkDisabledColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:85:55: error: cannot find type 'NativeColor' in scope
static var adaptableCheckmarkDisabledBorderColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:91: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:92: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:93: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:94: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:95: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:96:39: error: cannot find 'NativeColor' in scope
static let imagePlaceholderDark = NativeColor(red: 0.05, green: 0.05, blue: 0.05, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:97:42: error: cannot find 'NativeColor' in scope
static let checkmarkDisabledBorder = NativeColor(red: 0.9, green: 0.9, blue: 0.9, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:98:46: error: cannot find 'NativeColor' in scope
static let checkmarkDisabledBorderDark = NativeColor(red: 0.25, green: 0.25, blue: 0.25, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:99:36: error: cannot find 'NativeColor' in scope
static let checkmarkDisabled = NativeColor(red: 0.7, green: 0.7, blue: 0.7, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:100:40: error: cannot find 'NativeColor' in scope
static let checkmarkDisabledDark = NativeColor(red: 0.5, green: 0.5, blue: 0.5, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:11:23: error: cannot find 'NSUnderlineStyle' in scope
static let none = NSUnderlineStyle([])
^~~~~~~~~~~~~~~~
[79/94] Compiling NativeMarkKit StyleStack.swift
/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:90: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/Border.swift:18:60: error: cannot find type 'NativeColor' in scope
public init(shape: BorderShape, width: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:32:36: error: cannot find type 'NativeColor' in scope
static func textColor(_ value: NativeColor) -> BlockStyle {
^~~~~~~~~~~
/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:40:42: error: cannot find type 'NativeColor' in scope
static func backgroundColor(_ value: NativeColor?) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:26:26: error: cannot find type 'NativeColor' in scope
case blockBackground(NativeColor?)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:45: error: cannot infer contextual base in reference to member 'rectangle'
public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
~^~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:85: error: cannot infer contextual base in reference to member 'clear'
public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
~^~~~~
/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:11:20: error: cannot find type 'NativeColor' in scope
case textColor(NativeColor)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:22:44: error: cannot find type 'NativeColor' in scope
backgroundColor: NativeColor? = .adaptableCodeBackgroundColor)
^~~~~~~~~~~
/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/StyleSheet.swift:53:35: error: cannot infer contextual base in reference to member 'adaptableBackgroundColor'
.backgroundColor(.adaptableBackgroundColor),
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:54:29: error: cannot infer contextual base in reference to member 'adaptableTextColor'
.textColor(.adaptableTextColor)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:45: error: cannot infer contextual base in reference to member 'roundedRect'
.blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:93: error: cannot infer contextual base in reference to member 'adaptableCodeBorderColor'
.blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:92:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
.blockBackground(.adaptableCodeBackgroundColor),
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:93:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
.backgroundColor(.adaptableCodeBackgroundColor)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:96:29: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteTextColor'
.textColor(.adaptableBlockQuoteTextColor),
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:45: error: cannot infer contextual base in reference to member 'rectangle'
.blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
~^~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:63: error: cannot infer contextual base in reference to member 'left'
.blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:88: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteMarginColor'
.blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:102:34: error: 'nil' requires a contextual type
.blockBackground(nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:109:34: error: 'nil' requires a contextual type
.blockBackground(nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:120:34: error: 'nil' requires a contextual type
.blockBackground(nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:130:34: error: 'nil' requires a contextual type
.blockBackground(nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:133: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:33: error: cannot infer contextual base in reference to member 'single'
.strikethrough(.single)
~^~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:151:29: error: cannot infer contextual base in reference to member 'adaptableLinkColor'
.textColor(.adaptableLinkColor),
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:152:29: error: cannot infer contextual base in reference to member 'single'
.underline(.single)
~^~~~~~
/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/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:81:49: error: cannot find type 'NativeColor' in scope
static var adaptableCheckmarkDisabledColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:85:55: error: cannot find type 'NativeColor' in scope
static var adaptableCheckmarkDisabledBorderColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:91: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:92: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:93: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:94: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:95: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:96:39: error: cannot find 'NativeColor' in scope
static let imagePlaceholderDark = NativeColor(red: 0.05, green: 0.05, blue: 0.05, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:97:42: error: cannot find 'NativeColor' in scope
static let checkmarkDisabledBorder = NativeColor(red: 0.9, green: 0.9, blue: 0.9, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:98:46: error: cannot find 'NativeColor' in scope
static let checkmarkDisabledBorderDark = NativeColor(red: 0.25, green: 0.25, blue: 0.25, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:99:36: error: cannot find 'NativeColor' in scope
static let checkmarkDisabled = NativeColor(red: 0.7, green: 0.7, blue: 0.7, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:100:40: error: cannot find 'NativeColor' in scope
static let checkmarkDisabledDark = NativeColor(red: 0.5, green: 0.5, blue: 0.5, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:11:23: error: cannot find 'NSUnderlineStyle' in scope
static let none = NSUnderlineStyle([])
^~~~~~~~~~~~~~~~
[80/94] Compiling NativeMarkKit TextStyle+AppKit.swift
/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:90: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/Border.swift:18:60: error: cannot find type 'NativeColor' in scope
public init(shape: BorderShape, width: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:32:36: error: cannot find type 'NativeColor' in scope
static func textColor(_ value: NativeColor) -> BlockStyle {
^~~~~~~~~~~
/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:40:42: error: cannot find type 'NativeColor' in scope
static func backgroundColor(_ value: NativeColor?) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:26:26: error: cannot find type 'NativeColor' in scope
case blockBackground(NativeColor?)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:45: error: cannot infer contextual base in reference to member 'rectangle'
public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
~^~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:85: error: cannot infer contextual base in reference to member 'clear'
public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
~^~~~~
/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:11:20: error: cannot find type 'NativeColor' in scope
case textColor(NativeColor)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:22:44: error: cannot find type 'NativeColor' in scope
backgroundColor: NativeColor? = .adaptableCodeBackgroundColor)
^~~~~~~~~~~
/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/StyleSheet.swift:53:35: error: cannot infer contextual base in reference to member 'adaptableBackgroundColor'
.backgroundColor(.adaptableBackgroundColor),
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:54:29: error: cannot infer contextual base in reference to member 'adaptableTextColor'
.textColor(.adaptableTextColor)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:45: error: cannot infer contextual base in reference to member 'roundedRect'
.blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:93: error: cannot infer contextual base in reference to member 'adaptableCodeBorderColor'
.blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:92:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
.blockBackground(.adaptableCodeBackgroundColor),
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:93:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
.backgroundColor(.adaptableCodeBackgroundColor)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:96:29: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteTextColor'
.textColor(.adaptableBlockQuoteTextColor),
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:45: error: cannot infer contextual base in reference to member 'rectangle'
.blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
~^~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:63: error: cannot infer contextual base in reference to member 'left'
.blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:88: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteMarginColor'
.blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:102:34: error: 'nil' requires a contextual type
.blockBackground(nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:109:34: error: 'nil' requires a contextual type
.blockBackground(nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:120:34: error: 'nil' requires a contextual type
.blockBackground(nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:130:34: error: 'nil' requires a contextual type
.blockBackground(nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:133: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:33: error: cannot infer contextual base in reference to member 'single'
.strikethrough(.single)
~^~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:151:29: error: cannot infer contextual base in reference to member 'adaptableLinkColor'
.textColor(.adaptableLinkColor),
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:152:29: error: cannot infer contextual base in reference to member 'single'
.underline(.single)
~^~~~~~
/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/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:81:49: error: cannot find type 'NativeColor' in scope
static var adaptableCheckmarkDisabledColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:85:55: error: cannot find type 'NativeColor' in scope
static var adaptableCheckmarkDisabledBorderColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:91: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:92: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:93: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:94: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:95: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:96:39: error: cannot find 'NativeColor' in scope
static let imagePlaceholderDark = NativeColor(red: 0.05, green: 0.05, blue: 0.05, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:97:42: error: cannot find 'NativeColor' in scope
static let checkmarkDisabledBorder = NativeColor(red: 0.9, green: 0.9, blue: 0.9, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:98:46: error: cannot find 'NativeColor' in scope
static let checkmarkDisabledBorderDark = NativeColor(red: 0.25, green: 0.25, blue: 0.25, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:99:36: error: cannot find 'NativeColor' in scope
static let checkmarkDisabled = NativeColor(red: 0.7, green: 0.7, blue: 0.7, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:100:40: error: cannot find 'NativeColor' in scope
static let checkmarkDisabledDark = NativeColor(red: 0.5, green: 0.5, blue: 0.5, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:11:23: error: cannot find 'NSUnderlineStyle' in scope
static let none = NSUnderlineStyle([])
^~~~~~~~~~~~~~~~
[81/94] Compiling NativeMarkKit TextStyle+UIKit.swift
/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:90: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/Border.swift:18:60: error: cannot find type 'NativeColor' in scope
public init(shape: BorderShape, width: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:32:36: error: cannot find type 'NativeColor' in scope
static func textColor(_ value: NativeColor) -> BlockStyle {
^~~~~~~~~~~
/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:40:42: error: cannot find type 'NativeColor' in scope
static func backgroundColor(_ value: NativeColor?) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:26:26: error: cannot find type 'NativeColor' in scope
case blockBackground(NativeColor?)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:45: error: cannot infer contextual base in reference to member 'rectangle'
public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
~^~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:85: error: cannot infer contextual base in reference to member 'clear'
public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
~^~~~~
/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:11:20: error: cannot find type 'NativeColor' in scope
case textColor(NativeColor)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:22:44: error: cannot find type 'NativeColor' in scope
backgroundColor: NativeColor? = .adaptableCodeBackgroundColor)
^~~~~~~~~~~
/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/StyleSheet.swift:53:35: error: cannot infer contextual base in reference to member 'adaptableBackgroundColor'
.backgroundColor(.adaptableBackgroundColor),
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:54:29: error: cannot infer contextual base in reference to member 'adaptableTextColor'
.textColor(.adaptableTextColor)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:45: error: cannot infer contextual base in reference to member 'roundedRect'
.blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:93: error: cannot infer contextual base in reference to member 'adaptableCodeBorderColor'
.blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:92:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
.blockBackground(.adaptableCodeBackgroundColor),
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:93:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
.backgroundColor(.adaptableCodeBackgroundColor)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:96:29: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteTextColor'
.textColor(.adaptableBlockQuoteTextColor),
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:45: error: cannot infer contextual base in reference to member 'rectangle'
.blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
~^~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:63: error: cannot infer contextual base in reference to member 'left'
.blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:88: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteMarginColor'
.blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:102:34: error: 'nil' requires a contextual type
.blockBackground(nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:109:34: error: 'nil' requires a contextual type
.blockBackground(nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:120:34: error: 'nil' requires a contextual type
.blockBackground(nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:130:34: error: 'nil' requires a contextual type
.blockBackground(nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:133: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:33: error: cannot infer contextual base in reference to member 'single'
.strikethrough(.single)
~^~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:151:29: error: cannot infer contextual base in reference to member 'adaptableLinkColor'
.textColor(.adaptableLinkColor),
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:152:29: error: cannot infer contextual base in reference to member 'single'
.underline(.single)
~^~~~~~
/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/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:81:49: error: cannot find type 'NativeColor' in scope
static var adaptableCheckmarkDisabledColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:85:55: error: cannot find type 'NativeColor' in scope
static var adaptableCheckmarkDisabledBorderColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:91: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:92: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:93: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:94: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:95: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:96:39: error: cannot find 'NativeColor' in scope
static let imagePlaceholderDark = NativeColor(red: 0.05, green: 0.05, blue: 0.05, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:97:42: error: cannot find 'NativeColor' in scope
static let checkmarkDisabledBorder = NativeColor(red: 0.9, green: 0.9, blue: 0.9, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:98:46: error: cannot find 'NativeColor' in scope
static let checkmarkDisabledBorderDark = NativeColor(red: 0.25, green: 0.25, blue: 0.25, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:99:36: error: cannot find 'NativeColor' in scope
static let checkmarkDisabled = NativeColor(red: 0.7, green: 0.7, blue: 0.7, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:100:40: error: cannot find 'NativeColor' in scope
static let checkmarkDisabledDark = NativeColor(red: 0.5, green: 0.5, blue: 0.5, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:11:23: error: cannot find 'NSUnderlineStyle' in scope
static let none = NSUnderlineStyle([])
^~~~~~~~~~~~~~~~
[82/94] Compiling NativeMarkKit TextStyle.swift
/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:90: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/Border.swift:18:60: error: cannot find type 'NativeColor' in scope
public init(shape: BorderShape, width: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:32:36: error: cannot find type 'NativeColor' in scope
static func textColor(_ value: NativeColor) -> BlockStyle {
^~~~~~~~~~~
/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:40:42: error: cannot find type 'NativeColor' in scope
static func backgroundColor(_ value: NativeColor?) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:26:26: error: cannot find type 'NativeColor' in scope
case blockBackground(NativeColor?)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:45: error: cannot infer contextual base in reference to member 'rectangle'
public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
~^~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:85: error: cannot infer contextual base in reference to member 'clear'
public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
~^~~~~
/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:11:20: error: cannot find type 'NativeColor' in scope
case textColor(NativeColor)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:22:44: error: cannot find type 'NativeColor' in scope
backgroundColor: NativeColor? = .adaptableCodeBackgroundColor)
^~~~~~~~~~~
/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/StyleSheet.swift:53:35: error: cannot infer contextual base in reference to member 'adaptableBackgroundColor'
.backgroundColor(.adaptableBackgroundColor),
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:54:29: error: cannot infer contextual base in reference to member 'adaptableTextColor'
.textColor(.adaptableTextColor)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:45: error: cannot infer contextual base in reference to member 'roundedRect'
.blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:93: error: cannot infer contextual base in reference to member 'adaptableCodeBorderColor'
.blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:92:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
.blockBackground(.adaptableCodeBackgroundColor),
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:93:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
.backgroundColor(.adaptableCodeBackgroundColor)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:96:29: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteTextColor'
.textColor(.adaptableBlockQuoteTextColor),
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:45: error: cannot infer contextual base in reference to member 'rectangle'
.blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
~^~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:63: error: cannot infer contextual base in reference to member 'left'
.blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:88: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteMarginColor'
.blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:102:34: error: 'nil' requires a contextual type
.blockBackground(nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:109:34: error: 'nil' requires a contextual type
.blockBackground(nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:120:34: error: 'nil' requires a contextual type
.blockBackground(nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:130:34: error: 'nil' requires a contextual type
.blockBackground(nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:133: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:33: error: cannot infer contextual base in reference to member 'single'
.strikethrough(.single)
~^~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:151:29: error: cannot infer contextual base in reference to member 'adaptableLinkColor'
.textColor(.adaptableLinkColor),
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:152:29: error: cannot infer contextual base in reference to member 'single'
.underline(.single)
~^~~~~~
/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/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:81:49: error: cannot find type 'NativeColor' in scope
static var adaptableCheckmarkDisabledColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:85:55: error: cannot find type 'NativeColor' in scope
static var adaptableCheckmarkDisabledBorderColor: NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:91: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:92: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:93: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:94: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:95: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:96:39: error: cannot find 'NativeColor' in scope
static let imagePlaceholderDark = NativeColor(red: 0.05, green: 0.05, blue: 0.05, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:97:42: error: cannot find 'NativeColor' in scope
static let checkmarkDisabledBorder = NativeColor(red: 0.9, green: 0.9, blue: 0.9, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:98:46: error: cannot find 'NativeColor' in scope
static let checkmarkDisabledBorderDark = NativeColor(red: 0.25, green: 0.25, blue: 0.25, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:99:36: error: cannot find 'NativeColor' in scope
static let checkmarkDisabled = NativeColor(red: 0.7, green: 0.7, blue: 0.7, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:100:40: error: cannot find 'NativeColor' in scope
static let checkmarkDisabledDark = NativeColor(red: 0.5, green: 0.5, blue: 0.5, alpha: 1.0)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:11:23: error: cannot find 'NSUnderlineStyle' in scope
static let none = NSUnderlineStyle([])
^~~~~~~~~~~~~~~~
[83/94] Compiling NativeMarkKit Underline.swift
/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?) {
^~~~~~~~~~~
[84/94] Compiling NativeMarkKit UnorderedListMarkerFormat.swift
/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?) {
^~~~~~~~~~~
[85/94] Compiling NativeMarkKit Array+Utils.swift
/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?) {
^~~~~~~~~~~
[86/94] Compiling NativeMarkKit CGFloat+Utils.swift
/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?) {
^~~~~~~~~~~
[87/94] Compiling NativeMarkKit CGPoint+Utils.swift
/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?) {
^~~~~~~~~~~
[88/94] Compiling NativeMarkKit CGRect+Utils.swift
/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?) {
^~~~~~~~~~~
[89/94] Compiling NativeMarkKit Character+Utils.swift
/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?) {
^~~~~~~~~~~
[90/94] Compiling NativeMarkKit HtmlEntities.swift
/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?) {
^~~~~~~~~~~
[91/94] Compiling NativeMarkKit Identifier.swift
/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?) {
^~~~~~~~~~~
[92/94] Compiling NativeMarkKit ParserError.swift
/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?) {
^~~~~~~~~~~
[93/94] Compiling NativeMarkKit String+Utils.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:11:23: error: cannot find type 'NSUnderlineStyle' in scope
public let style: NSUnderlineStyle
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:12:23: error: cannot find type 'NativeColor' in scope
public let color: NativeColor?
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:14:24: error: cannot find type 'NSUnderlineStyle' in scope
public init(style: NSUnderlineStyle, color: NativeColor?) {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:14:49: error: cannot find type 'NativeColor' in scope
public init(style: NSUnderlineStyle, color: NativeColor?) {
^~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[94/94] Emitting module NativeMarkKit
/host/spi-builder-workspace/Sources/NativeMarkKit/render/AbstractView.swift:13:26: error: cannot find type 'NSTextStorage' in scope
private let storage: NSTextStorage
^~~~~~~~~~~~~
/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/TextContainerStyle.swift:12:26: error: cannot find type 'NativeColor' in scope
let backgroundColor: NativeColor?
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:16:23: error: cannot find type 'NativeColor' in scope
public let color: NativeColor
^~~~~~~~~~~
/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/render/ImageTextAttachment.swift:16:21: error: cannot find type 'NativeImage' in scope
case loaded(NativeImage)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:42: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:42:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:24:29: error: cannot find type 'NSTextAttachment' in scope
class NativeTextAttachment: NSTextAttachment {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:53: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:17:14: error: initializer does not override a designated initializer from its superclass
override init() {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:27:18: error: cannot find type 'NSTextStorage' in scope
var storage: NSTextStorage? {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:31: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:14:28: error: cannot find type 'NSLayoutManager' in scope
final class LayoutManager: NSLayoutManager {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:90:26: error: cannot find type 'NSLayoutManagerDelegate' in scope
extension LayoutManager: NSLayoutManagerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:91:41: error: cannot find type 'NSLayoutManager' in scope
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/LayoutManager.swift:91:249: error: cannot find type 'NSTextContainer' in scope
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/LayoutManager.swift:104:157: error: cannot find type 'NSLayoutManager' in scope
func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSLayoutManager.ControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSLayoutManager.ControlCharacterAction {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:104:41: error: cannot find type 'NSLayoutManager' in scope
func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSLayoutManager.ControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSLayoutManager.ControlCharacterAction {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:104:76: error: cannot find type 'NSLayoutManager' in scope
func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSLayoutManager.ControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSLayoutManager.ControlCharacterAction {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:143:120: error: cannot find type 'NSTextContainer' in scope
func enumerateTypographicBounds(forCharacterRange characterRange: NSRange, with block: @escaping (NSRange, CGRect, NSTextContainer) -> Void) {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:157: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:183: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:183: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/LeafTextContainerLayout.swift:116:18: error: cannot find type 'NSTextStorage' in scope
var storage: NSTextStorage? {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:107:18: error: cannot find type 'NSTextStorage' in scope
var storage: NSTextStorage? {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NSTextStorage+NativeMark.swift:8:11: error: cannot find type 'NSTextStorage' in scope
extension NSTextStorage {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NSTextStorage+NativeMark.swift:64:11: error: cannot find type 'NSTextStorage' in scope
extension NSTextStorage: ImageTextAttachmentLayoutDelegate {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeImage.swift:35:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/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:448:49: error: cannot find type 'NSTextAttachment' in scope
func renderTextAttachment(_ textAttachment: NSTextAttachment, with state: State, into result: NSMutableAttributedString) {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:459: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:13:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:29:18: error: property does not override any property from its superclass
override var isSimpleRectangularTextContainer: Bool { false }
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:16:28: error: cannot find type 'NSTextContainer' in scope
final class TextContainer: NSTextContainer {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainerLayoutBuilder.swift:13:19: error: cannot find type 'NSTextStorage' in scope
init(storage: NSTextStorage, layoutManager: LayoutManager) {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainerStyle.swift:8:8: error: type 'TextContainerStyle' does not conform to protocol 'Equatable'
struct TextContainerStyle: Equatable {
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainerStyle.swift:12:9: note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'TextContainerStyle' to 'Equatable'
let backgroundColor: NativeColor?
^
Swift.==:1:24: note: candidate would match if 'TextContainerStyle' conformed to 'RawRepresentable'
@inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
^
Swift.FloatingPoint:2:24: note: candidate would match if 'TextContainerStyle' conformed to 'FloatingPoint'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Swift.BinaryInteger:2:24: note: candidate would match if 'TextContainerStyle' conformed to 'BinaryInteger'
public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
^
Swift._Pointer:2:24: note: candidate would match if 'TextContainerStyle' conformed to '_Pointer'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Swift._Pointer:3:35: note: candidate would match if 'TextContainerStyle' conformed to '_Pointer'
@inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
^
Swift.Strideable:3:35: note: candidate would match if 'TextContainerStyle' conformed to 'Strideable'
@inlinable public static func == (x: Self, y: Self) -> Bool
^
Swift.StringProtocol:2:35: note: candidate would match if 'TextContainerStyle' conformed to 'StringProtocol'
@inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
^
Swift.SIMD:4:24: note: candidate would match if 'TextContainerStyle' conformed to 'SIMD'
public static func == (a: Self, b: Self) -> Bool
^
Foundation.AttributedStringProtocol:5:24: note: candidate would match if 'TextContainerStyle' conformed to 'AttributedStringProtocol'
public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol
^
Foundation.__BridgedNSError:2:24: note: candidate would match if 'TextContainerStyle' conformed to '__BridgedNSError'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Foundation._BridgedStoredNSError:2:24: note: candidate would match if 'TextContainerStyle' conformed to '_BridgedStoredNSError'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Swift.Equatable:2:17: note: protocol requires function '==' with type '(TextContainerStyle, TextContainerStyle) -> Bool'
static func == (lhs: Self, rhs: Self) -> Bool
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainerStyle.swift:16:50: error: 'nil' requires a contextual type
static let none = TextContainerStyle(margin: nil, border: nil, padding: nil, backgroundColor: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainerStyle.swift:16:63: error: 'nil' requires a contextual type
static let none = TextContainerStyle(margin: nil, border: nil, padding: nil, backgroundColor: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainerStyle.swift:16:77: error: 'nil' requires a contextual type
static let none = TextContainerStyle(margin: nil, border: nil, padding: nil, backgroundColor: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainerStyle.swift:16:99: error: 'nil' requires a contextual type
static let none = TextContainerStyle(margin: nil, border: nil, padding: nil, backgroundColor: nil)
^
/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/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/Border.swift:18:60: error: cannot find type 'NativeColor' in scope
public init(shape: BorderShape, width: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:23:46: error: cannot infer contextual base in reference to member 'rectangle'
case blockBorder(Border = Border(shape: .rectangle(sides: .all), width: 1, color: .adaptableCodeBorderColor))
~^~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:23:64: error: cannot infer contextual base in reference to member 'all'
case blockBorder(Border = Border(shape: .rectangle(sides: .all), width: 1, color: .adaptableCodeBorderColor))
~^~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:23:88: error: cannot infer contextual base in reference to member 'adaptableCodeBorderColor'
case blockBorder(Border = Border(shape: .rectangle(sides: .all), width: 1, color: .adaptableCodeBorderColor))
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:26:26: error: cannot find type 'NativeColor' in scope
case blockBackground(NativeColor?)
^~~~~~~~~~~
/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:22:44: error: cannot find type 'NativeColor' in scope
backgroundColor: NativeColor? = .adaptableCodeBackgroundColor)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:32:36: error: cannot find type 'NativeColor' in scope
static func textColor(_ value: NativeColor) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:40:42: error: cannot find type 'NativeColor' in scope
static func backgroundColor(_ value: NativeColor?) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:48: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:48: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:52: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:52: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: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/Border.swift:13:15: error: type 'Border' does not conform to protocol 'Equatable'
public struct Border: Equatable {
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:16:16: note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'Border' to 'Equatable'
public let color: NativeColor
^
Swift.==:1:24: note: candidate would match if 'Border' conformed to 'RawRepresentable'
@inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
^
Swift.FloatingPoint:2:24: note: candidate would match if 'Border' conformed to 'FloatingPoint'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Swift.BinaryInteger:2:24: note: candidate would match if 'Border' conformed to 'BinaryInteger'
public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
^
Swift._Pointer:2:24: note: candidate would match if 'Border' conformed to '_Pointer'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Swift._Pointer:3:35: note: candidate would match if 'Border' conformed to '_Pointer'
@inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
^
Swift.Strideable:3:35: note: candidate would match if 'Border' conformed to 'Strideable'
@inlinable public static func == (x: Self, y: Self) -> Bool
^
Swift.StringProtocol:2:35: note: candidate would match if 'Border' conformed to 'StringProtocol'
@inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
^
Swift.SIMD:4:24: note: candidate would match if 'Border' conformed to 'SIMD'
public static func == (a: Self, b: Self) -> Bool
^
Foundation.AttributedStringProtocol:5:24: note: candidate would match if 'Border' conformed to 'AttributedStringProtocol'
public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol
^
Foundation.__BridgedNSError:2:24: note: candidate would match if 'Border' conformed to '__BridgedNSError'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Foundation._BridgedStoredNSError:2:24: note: candidate would match if 'Border' conformed to '_BridgedStoredNSError'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Swift.Equatable:2:17: note: protocol requires function '==' with type '(Border, Border) -> Bool'
static func == (lhs: Self, rhs: Self) -> Bool
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:45: error: cannot infer contextual base in reference to member 'rectangle'
public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
~^~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:85: error: cannot infer contextual base in reference to member 'clear'
public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
~^~~~~
/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/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/FourSidedValue.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:20:59: error: cannot infer contextual base in reference to member 'roundedRect'
border: Border = Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor),
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:20:107: error: cannot infer contextual base in reference to member 'adaptableCodeBorderColor'
border: Border = Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor),
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:28:49: error: cannot find type 'NSMutableParagraphStyle' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:28: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:90: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:53:35: error: cannot infer contextual base in reference to member 'adaptableBackgroundColor'
.backgroundColor(.adaptableBackgroundColor),
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:54:29: error: cannot infer contextual base in reference to member 'adaptableTextColor'
.textColor(.adaptableTextColor)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:45: error: cannot infer contextual base in reference to member 'roundedRect'
.blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:93: error: cannot infer contextual base in reference to member 'adaptableCodeBorderColor'
.blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:92:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
.blockBackground(.adaptableCodeBackgroundColor),
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:93:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
.backgroundColor(.adaptableCodeBackgroundColor)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:96:29: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteTextColor'
.textColor(.adaptableBlockQuoteTextColor),
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:45: error: cannot infer contextual base in reference to member 'rectangle'
.blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
~^~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:63: error: cannot infer contextual base in reference to member 'left'
.blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:88: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteMarginColor'
.blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:102:34: error: 'nil' requires a contextual type
.blockBackground(nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:109:34: error: 'nil' requires a contextual type
.blockBackground(nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:120:34: error: 'nil' requires a contextual type
.blockBackground(nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:130:34: error: 'nil' requires a contextual type
.blockBackground(nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:133: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:33: error: cannot infer contextual base in reference to member 'single'
.strikethrough(.single)
~^~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:151:29: error: cannot infer contextual base in reference to member 'adaptableLinkColor'
.textColor(.adaptableLinkColor),
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:152:29: error: cannot infer contextual base in reference to member 'single'
.underline(.single)
~^~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:8:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:66:72: error: cannot find type 'NativeFont' in scope
func defaultFont(for attributes: [NSAttributedString.Key: Any]) -> NativeFont {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:80:49: error: cannot find type 'NSMutableParagraphStyle' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:80:92: error: cannot find type 'NativeFont' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:95:49: error: cannot find type 'NSMutableParagraphStyle' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:95:92: error: cannot find type 'NativeFont' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:11:23: error: cannot find type 'NSUnderlineStyle' in scope
public let style: NSUnderlineStyle
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:12:23: error: cannot find type 'NativeColor' in scope
public let color: NativeColor?
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:14:24: error: cannot find type 'NSUnderlineStyle' in scope
public init(style: NSUnderlineStyle, color: NativeColor?) {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:14:49: error: cannot find type 'NativeColor' in scope
public init(style: NSUnderlineStyle, color: NativeColor?) {
^~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux