Duolith docs

Errors E0200 to E0299

E0205 Selector a phone cannot match

Message selector cannot be matched on iOS or Android: reason

Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.

Why

Lynx, which draws the native targets, keeps a rule whose selector it cannot match, and the rule never applies. It matches classes, ids, element names, *, the descendant, > and + combinators, :active, :not(), :first-child, :last-child, :nth-child(), ::before, ::after and ::placeholder. The engine stands in for :focus, :focus-visible, :focus-within, :disabled, :enabled and :empty, and for the attributes [aria-current], [aria-selected], [data-state="open"], [data-detent] and [data-side], with classes it sets. Anything else, such as :checked, :visited, :has(), ::selection or ~, would never apply, so the native build stops instead (decision 0049).

How to fix it

Select by class, and set the class with class: from the state you were selecting.

In a terminal

duolith explain E0205

Mentioned in