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

Workaround to ignore spurious simctl warnings #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

davidme-stripe
Copy link

We've seen a few situations where pod lib lint fails while parsing the list of simulators on Apple Silicon Macs:

 - ERROR | [iOS] unknown: Encountered an unknown error (859: unexpected token at 'objc[76557]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libamsupport.dylib (0x1f700e098) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1065842c8). One of the two will be used. Which one is undefined.

This appears to be caused by extraneous warnings when running xcrun simctl list -j devices.

It looks like there was a workaround in #27, but it doesn't cover every type of error. I think it might help to filter out every line before the opening {.

This might also be related to this comment.

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

Successfully merging this pull request may close these issues.

1 participant