IBLinter icon indicating copy to clipboard operation
IBLinter copied to clipboard

'Parse XML error XML Element Error: Incorrect key ["archive"]' when analyzing WatchKit storyboards

Open mman opened this issue 3 years ago • 2 comments

I have it integrated as a build step for my iOS app like this:

if which iblinter >/dev/null; then
  iblinter lint
else
  echo "warning: IBLinter not installed, download from https://github.com/IBDecodable/IBLinter"
fi

And it automatically detects all .storyboards and fails with the following errors for the watch kit storyboard.

WatchKitApp/Base.lproj/Interface.storyboard:0:0: warning: Parse XML error XML Element Error: Incorrect key ["archive"]
WatchKitApp/Base.lproj/Interface.storyboard:0:0: warning: Parse XML error XML Element Error: Incorrect key ["archive"]
WatchKitApp/Base.lproj/Interface.storyboard:0:0: warning: Parse XML error XML Element Error: Incorrect key ["archive"]
WatchKitApp/Base.lproj/Interface.storyboard:0:0: warning: Parse XML error XML Element Error: Incorrect key ["archive"]
WatchKitApp/Base.lproj/Interface.storyboard:0:0: warning: Parse XML error XML Element Error: Incorrect key ["archive"]

mman avatar Mar 23 '22 16:03 mman

Watch storyboard are not supported.

If you have an error with something parsed, please provide it….

Le mercredi 23 mars 2022, Martin Man @.***> a écrit :

I have it integrated as a build step for my iOS app like this:

if which iblinter >/dev/null; then iblinter lint else echo "warning: IBLinter not installed, download from https://github.com/IBDecodable/IBLinter" fi

And it automatically detects all .storyboards and fails with the following errors for the watch kit storyboard.

WatchKitApp/Base.lproj/Interface.storyboard:0:0: warning: Parse XML error XML Element Error: Incorrect key ["archive"] WatchKitApp/Base.lproj/Interface.storyboard:0:0: warning: Parse XML error XML Element Error: Incorrect key ["archive"] WatchKitApp/Base.lproj/Interface.storyboard:0:0: warning: Parse XML error XML Element Error: Incorrect key ["archive"] WatchKitApp/Base.lproj/Interface.storyboard:0:0: warning: Parse XML error XML Element Error: Incorrect key ["archive"] WatchKitApp/Base.lproj/Interface.storyboard:0:0: warning: Parse XML error XML Element Error: Incorrect key ["archive"]

— Reply to this email directly, view it on GitHub https://github.com/IBDecodable/IBLinter/issues/180, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACDW56GSIY3S3ESVYBRL3OLVBNC7FANCNFSM5ROQPYRA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

phimage avatar Mar 24 '22 05:03 phimage

@phimage I'm fine with WatchKit storyboards not supported, but I do not see a way how to skip/exclude them from the check.

Am I missing something? Is there a way for IBLinter to ignore them?

mman avatar Mar 28 '22 08:03 mman