Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mman opened this issue Mar 23, 2022 · 2 comments

Comments

@mman
Copy link

mman commented Mar 23, 2022

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"]
@phimage
Copy link
Member

phimage commented Mar 24, 2022 via email

@mman
Copy link
Author

mman commented Mar 28, 2022

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants