skip to Main Content

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.

2

Answers


  1. 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.

    Login or Signup to reply.
  2. For me, changing the deployment target to a simulator version you have installed solved the issue. Here’s how to download earlier simulator runtimes.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search