How to add the platform version in appium for iOS

Ok will do that … And by the way do you have java code to connect to physical device using eclipse… I tried and getting "Selection cannot be launched and there are no recent launches” and unable to resolve the same

@hemche,

No change getting the same error after simulator installation also.

Did you get a pop up saying Install Additional tools? while trying to open simulator manually from Xcode? If so, you also need to install those components.

Nope I did not get any. As per the screenshot need to install anything else?

Screenshot: http://screencast.com/t/BDrI7ob8HI

Try opening simulator manually by right clicking on the xcode icon in the dock and go to Developer tools --> simulator

As per the attached screenshot, it loads me this page

Screenshot: http://screencast.com/t/YnW1AaUClbO

Which appium version are you using?

Appium version is 1.4.13

I get below error Original error: Platform version must be 9.3 or above. ‘9.2.1’ is not supported.

How to add all other versions to appium devices
below is the list displayed after running scrub simcti list and it has 10.3 devices not lower versions

xcrun simctl list
== Device Types ==
iPhone 4s (com.apple.CoreSimulator.SimDeviceType.iPhone-4s)
iPhone 5 (com.apple.CoreSimulator.SimDeviceType.iPhone-5)
iPhone 5s (com.apple.CoreSimulator.SimDeviceType.iPhone-5s)
iPhone 6 (com.apple.CoreSimulator.SimDeviceType.iPhone-6)
iPhone 6 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6-Plus)
iPhone 6s (com.apple.CoreSimulator.SimDeviceType.iPhone-6s)
iPhone 6s Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6s-Plus)
iPhone 7 (com.apple.CoreSimulator.SimDeviceType.iPhone-7)
iPhone 7 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-7-Plus)
iPhone SE (com.apple.CoreSimulator.SimDeviceType.iPhone-SE)
iPad 2 (com.apple.CoreSimulator.SimDeviceType.iPad-2)
iPad Retina (com.apple.CoreSimulator.SimDeviceType.iPad-Retina)
iPad Air (com.apple.CoreSimulator.SimDeviceType.iPad-Air)
iPad Air 2 (com.apple.CoreSimulator.SimDeviceType.iPad-Air-2)
iPad (5th generation) (com.apple.CoreSimulator.SimDeviceType.iPad–5th-generation-)
iPad Pro (9.7-inch) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro–9-7-inch-)
iPad Pro (12.9-inch) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro)
iPad Pro (12.9-inch) (2nd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro–12-9-inch—2nd-generation-)
iPad Pro (10.5-inch) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro–10-5-inch-)
Apple TV 1080p (com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p)
Apple Watch - 38mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-38mm)
Apple Watch - 42mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-42mm)
Apple Watch Series 2 - 38mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-2-38mm)
Apple Watch Series 2 - 42mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-2-42mm)
== Runtimes ==
iOS 10.3 (10.3.1 - 14E8301) (com.apple.CoreSimulator.SimRuntime.iOS-10-3)
tvOS 10.2 (10.2 - 14W260) (com.apple.CoreSimulator.SimRuntime.tvOS-10-2)
watchOS 3.2 (3.2 - 14V243) (com.apple.CoreSimulator.SimRuntime.watchOS-3-2)
== Devices ==
– iOS 10.3 –
iPhone 5 (95C0A6B3-88F0-484A-9D83-80B66E4EF4D2) (Shutdown)
iPhone 5s (C43DD2FF-98A0-4F3B-8CFA-541D99C28461) (Shutdown)
iPhone 6 (2F39A552-B299-45E7-BE03-4CEFD681BFAA) (Shutdown)
iPhone 6 Plus (AC5D73FC-E83B-4FB5-A2C7-83EF41DE96DD) (Shutdown)
iPhone 6s (EC00E6A8-A408-42AE-85D4-58EF0DE74180) (Shutdown)
iPhone 6s Plus (B74E3396-0785-4E2A-AAD8-EEE8445E7BFC) (Shutdown)
iPhone 7 (B965A394-88BB-48A6-AD02-F65600AEB0D7) (Shutdown)
iPhone 7 Plus (B599EADB-67CD-4A86-9C62-2088DB834687) (Shutdown)
iPhone SE (1208ECC5-627B-4150-B94D-1AA132D8D290) (Shutdown)
iPad Air (0E2296C0-E403-418D-A1F2-AF03A3DDC94C) (Shutdown)
iPad Air 2 (830A8ABD-D1E0-4BC9-A85F-D360F2CF392D) (Shutdown)
iPad (5th generation) (A95031FD-6D65-4CDE-B441-BF07D76AC8BD) (Shutdown)
iPad Pro (9.7 inch) (81020230-0B54-4CC0-B618-B8B862B38761) (Shutdown)
iPad Pro (12.9 inch) (5E8F1548-7C2D-446C-8B99-A84057681644) (Shutdown)
iPad Pro (12.9-inch) (2nd generation) (9C41FB5F-F810-41B1-9B59-4E0C7F8C0D57) (Shutdown)
iPad Pro (10.5-inch) (346C548A-40B9-40A6-97E2-1DAE87D57460) (Shutdown)
– tvOS 10.2 –
Apple TV 1080p (EB418F95-AC75-46F9-B27E-D918AAD3681A) (Shutdown)
– watchOS 3.2 –
Apple Watch - 38mm (F7DBCB5E-0365-4474-8140-11BD43157A9F) (Shutdown)
Apple Watch - 42mm (9597389F-B7F7-4269-B7DE-BC5C7E2EF2A8) (Shutdown)
Apple Watch Series 2 - 38mm (462F8305-F3A2-4AC7-8E6E-C830361E27CD) (Shutdown)
Apple Watch Series 2 - 42mm (D456E562-21DC-43CE-A92E-4F0A75826BE3) (Shutdown)
== Device Pairs ==
768E3393-6894-411B-BA32-CA34796DEA3B (active, disconnected)
Watch: Apple Watch - 38mm (F7DBCB5E-0365-4474-8140-11BD43157A9F) (Shutdown)
Phone: iPhone 6s (EC00E6A8-A408-42AE-85D4-58EF0DE74180) (Shutdown)
C474F40A-B4B4-4166-AA35-D24784F685A7 (active, disconnected)
Watch: Apple Watch - 42mm (9597389F-B7F7-4269-B7DE-BC5C7E2EF2A8) (Shutdown)
Phone: iPhone 6s Plus (B74E3396-0785-4E2A-AAD8-EEE8445E7BFC) (Shutdown)
0DAC1161-D1E0-4C9E-9B27-AE74775334F0 (active, disconnected)
Watch: Apple Watch Series 2 - 38mm (462F8305-F3A2-4AC7-8E6E-C830361E27CD) (Shutdown)
Phone: iPhone 7 (B965A394-88BB-48A6-AD02-F65600AEB0D7) (Shutdown)
0F33D2F1-2EF8-4DD1-882B-9AFC68E4D202 (active, disconnected)
Watch: Apple Watch Series 2 - 42mm (D456E562-21DC-43CE-A92E-4F0A75826BE3) (Shutdown)
Phone: iPhone 7 Plus (B599EADB-67CD-4A86-9C62-2088DB834687) (Shutdown)

Have you ever read the Simulator’s User Guide?

https://developer.apple.com/library/content/documentation/IDEs/Conceptual/iOS_Simulator_Guide/GettingStartedwithiOSSimulator/GettingStartedwithiOSSimulator.html#//apple_ref/doc/uid/TP40012848-CH5-SW1

You add them through Xcode. Full process in the link above along with a wealth of other info.