You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/10/14 10:31:06 UTC

[GitHub] [cordova-ios] mesqueeb opened a new issue #686: Unable to find a destination matching the provided destination specifier

mesqueeb opened a new issue #686: Unable to find a destination matching the provided destination specifier
URL: https://github.com/apache/cordova-ios/issues/686
 
 
   # Bug Report
   
   I'm having an error when I execute `cordova build`.
   > error: Unable to find a destination matching the provided destination specifier:
   		{ platform:iOS Simulator, OS:latest, name:iPhone 11 Pro Max }
   
   Since my app only builds on iPad, I think I need to set a build target to an iPad, but I'm not sure how to do this.
   
   My config.xml has these tags to specify iPad only:
   ```
       <preference name="target-device" value="tablet" />
       <preference name="deployment-target" value="10.3" />
   ```
   
   The full error reads:
   ```
   Reading build config file:
   No simulator found for ". Falling back to the default target.
   Building for "iPhone 11 Pro Max" Simulator (com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro-Max, iPhone-11-Pro-Max).
   Building project: /Users/lucaban/.ghq/github.com/mesqueeb/sokketsu/src-cordova/platforms/ios/Sokketsu.xcworkspace
   	Configuration: Debug
   	Platform: emulator
   	Target: iPhone 11 Pro Max
   Running command: xcodebuild -workspace Sokketsu.xcworkspace -scheme Sokketsu -configuration Debug -sdk iphonesimulator -destination platform=iOS Simulator,name=iPhone 11 Pro Max build CONFIGURATION_BUILD_DIR=/Users/lucaban/.ghq/github.com/mesqueeb/sokketsu/src-cordova/platforms/ios/build/emulator SHARED_PRECOMPS_DIR=/Users/lucaban/.ghq/github.com/mesqueeb/sokketsu/src-cordova/platforms/ios/build/sharedpch
   Build settings from command line:
       CONFIGURATION_BUILD_DIR = /Users/lucaban/.ghq/github.com/mesqueeb/sokketsu/src-cordova/platforms/ios/build/emulator
       SDKROOT = iphonesimulator13.1
       SHARED_PRECOMPS_DIR = /Users/lucaban/.ghq/github.com/mesqueeb/sokketsu/src-cordova/platforms/ios/build/sharedpch
   
   xcodebuild: error: Unable to find a destination matching the provided destination specifier:
   		{ platform:iOS Simulator, OS:latest, name:iPhone 11 Pro Max }
   
   	Available destinations for the "Sokketsu" scheme:
   		{ platform:iOS Simulator, id:B90FC025-F8EB-40B3-90C5-E9094C0FFD17, OS:13.1, name:iPad Air (3rd generation) }
   		{ platform:iOS Simulator, id:3131A6AD-3C4E-4CEA-8889-9C7E22EAF816, OS:13.1, name:iPad Pro (9.7-inch) }
   		{ platform:iOS Simulator, id:A8055BC4-F95C-43FA-8B28-7FACBD3D57B6, OS:13.1, name:iPad Pro (11-inch) }
   		{ platform:iOS Simulator, id:7FAD7B1C-70DD-407A-AC99-3ACAD2670726, OS:13.1, name:iPad Pro (12.9-inch) (3rd generation) }
   
   	Ineligible destinations for the "Sokketsu" scheme:
   		{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Generic iOS Device }
   		{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Generic iOS Simulator Device }
   xcodebuild: Command failed with exit code 70
   ```
   
   ### What is expected to happen?
   
   For it to build. 😄 
   
   ### What does actually happen?
   
   The above error.
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   I also tried stuff like
   ```
   cordova platform rm ios
   cordova platform add ios@5
   ```
   
   But without luck.
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   `cordova build`
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   - MacOS: 10.15 Catalina
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   
   - XCode: Version 11.1 (11A1027)
   - Cordova: cordova@9.0.0
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org