Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11876

Cannot build iOS project by `-destination platform=iOS Simulator` option

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • None
    • cordova-ios
    • None

    Description

      I got the following errors when I execute `cordova build ios` command.

      xcodebuild: error: Unable to find a destination matching the provided destination specifier:
      		{ platform:iOS Simulator }
      
      	Missing required device specifier option.
      	The device type “iOS Simulator” requires that either “name” or “id” be specified.
      	Please supply either “name” or “id”.
      
      	Available destinations for the "**************" scheme:
      		{ platform:iOS Simulator, id:BA7F3550-D421-4B37-AC28-BB4135037EE6, OS:8.1, name:iPad 2 }
      		{ platform:iOS Simulator, id:03AB49D4-95FD-4B8F-A910-D4846956BBF9, OS:9.3, name:iPad 2 }
      ***SNIP***
      		{ platform:iOS Simulator, id:9DC0E0BD-524B-431E-93F2-30D479D08AA8, OS:9.3, name:iPhone 6s Plus }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            co3k Kousuke Ebihara
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: