Search code examples
swiftxcodecocoapodswatchos

Pod lib lint command cannot find watchos simularor


I am writing library which I am trying to distribute via cocoa pods, but when I run pod lib lint my build fails only for watchOS, it says that can not find watch OS simulator with specific ID, but after that list all simulators and at that list there is a simulator with that ID. Please take a look at image.

enter image description here

why is this happening and how I can resolve it?

I've tried to keep open that watch os simulator and closed also while I am running pod lib lint command, but same result.


Solution

  • This issue was introduced with Xcode 14. The CocoaPods tracking issue at https://github.com/CocoaPods/CocoaPods/issues/11558.

    One workaround is to use Xcode 13.