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 https://github.com/CocoaPods/fourflusher/pull/27, but it doesn't cover every type of error. I think it might help to filter out every line before the opening {.
We've seen a few situations where
pod lib lint
fails while parsing the list of simulators on Apple Silicon Macs:This appears to be caused by extraneous warnings when running
xcrun simctl list -j devices
.It looks like there was a workaround in https://github.com/CocoaPods/fourflusher/pull/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.