IBDecodable / IBLinter

A linter tool for Interface Builder
MIT License
950 stars 41 forks source link

image_resources rule fails when using SF Symbols #129

Closed grantneufeld closed 4 years ago

grantneufeld commented 4 years ago

The image_resources rule triggers a build failure when using icons from the SF Symbols built-in for iOS 13.

For example, I have a fresh “Tabbed App” where I replace the “Image” attribute of the “Bar Item” component of a “Tab Bar Item” with doc.on.doc.fill (one of the built-in SF Symbols icons). IBLinter then reports the image as missing when I have image_resources as one of the enabled_rules: in my .iblinter.yml config file.

Ideally, using SF Symbols would only trigger a failure from the image_resources rule in projects building for compatibility with iOS versions prior to 13.