When I run the following code, the preview of my view crashes.
let data = "123;456;"
let dataArr = data.split(separator: ";")
The Diagnostics always show the following:
argument type 'String.Element' (aka 'Character') does not conform to expected type 'ExpressibleByStringLiteral'
let dataArr = data.split(separator: __designTimeString("#9734.[1].[4].[0].value.modifier[0].arg[0].value", fallback: ";"))
Does anyone know how to fix this?