ios-sim: ios-sim does not work for iPad-Pro for iOS 10 runtime
Command and results (I’ve got iOS 10 and 9.3 simulators installed and I can launch the iPad-Pro 9.7 and 12.9 devices in the simulator but this is the result of my command.
bash-3.2$ ios-sim showdevicetypes
iPhone-4s, 9.3
iPhone-5, 9.3
iPhone-5, 10.0
iPhone-5s, 9.3
iPhone-5s, 10.0
iPhone-6, 9.3
iPhone-6, 10.0
iPhone-6-Plus, 9.3
iPhone-6-Plus, 10.0
iPhone-6s, 9.3
iPhone-6s, 10.0
iPhone-6s-Plus, 9.3
iPhone-6s-Plus, 10.0
iPad-2, 9.3
iPad-Retina, 9.3
iPad-Retina, 10.0
iPad-Air, 9.3
iPad-Air, 10.0
iPad-Air-2, 9.3
iPad-Air-2, 10.0
iPhone-7, 10.0
iPhone-7-Plus, 10.0
iPhone-SE, 10.0
Apple-TV-1080p, tvOS 10.0
Apple-Watch-38mm, watchOS 3.0
Apple-Watch-42mm, watchOS 3.0
Apple-Watch-Series-2-38mm, watchOS 3.0
Apple-Watch-Series-2-42mm, watchOS 3.0
Further if I try to install an app into the simulator like so
phonegap run ios --target "iPad-Pro" --emulator
I get this error
No available runtimes could be found for "iPad Pro (12.9-inch)".
Below is the requested version information.
sw_vers
ProductName: Mac OS X
ProductVersion: 10.11.6
BuildVersion: 15G1004
ios-sim --version
5.0.8
xcodebuild -version
Xcode 8.0
Build version 8A218a
xcode-select --print-path
/Applications/Xcode.app/Contents/Developer
gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 8.0.0 (clang-800.0.38)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 17
Tested and published https://github.com/phonegap/ios-sim/releases/tag/5.0.10
For cordova issues, try filing an issue at http://issues.cordova.io instead
Wow! That was fast! And it works, thank you!!
I’ll get a 5.10 patch out asap
@aharbick great! my patch is essentially the same, although I’m limiting the reach of this hack by the conditional
Thanks! evaluating this now in simctl.