(xcodebuild) Destination matching the provided destination specifier

Viewed 29

I used one of the available destination (Img attached) but it says it was unable to find a destination matching. What am I doing wrong.

xcodebuild build-for-testing -destination 'platform=iOS,name=Any iOS Device' -project xctests.xcodeproj -scheme Tests

xcodebuild: error: Unable to find a destination matching the provided destination specifier:
        { platform:iOS, name:Any iOS Device }

    The requested device could not be found because no available devices matched the request.

enter image description here

0 Answers
Related