xcodebuild: error: Unable to find a destination matching the provided destination specifier:

This message may appear when trying to build an iOS app. Sometimes the simulators are not ready before the build step. In this case, you can pre-start the simulators:

      - run:
          name: pre-start simulator
          command: xcrun instruments -w "iPhone 7 (10.2) [" || true

You can also add the following run step to check for available simulators:

- run: xcrun simctl list &>/dev/null


Was this article helpful?
0 out of 5 found this helpful



Article is closed for comments.