How to add IOS 12.2 simulator to Xcode 10.0?

Asked

Viewed 809 times

0

I need to emulate the iphone with IOS 12.2 but my Xcode does not have this option. I saw that in Xcode 10.2 comes with IOS 12.2 but the company mac does not let install because it needs a newer macOS. I tried the solution> Download the image of 12.2 and play along the way: Contents > Developer > Platforms > iphoneOS.Platform > Devicesupport I restarted the Xcode and tried to add this simulator with this new OS, but the option of this OS 12.2 does not appear, there is some other solution?

  • 1

    After copying the iOS 12.2 image to device support, did you try to create a new simulator by going to "Window -> Devices and Simulators -> Simulators -> +"? The "OS version" option does not show 12.2?

  • Sorry to ask, but have you tried by Xcode? Window -> Devices and Simulators -> Simulators -> + -> OS Version -> Download More?

2 answers

1

You need to download the "Device support" for the version that you want to build your app, at that link you find all the necessary files.

After downloading the file you need to go to:

Applications⁩⁨Xcode.app⁩Show package Contents Contents⁩ Developer⁩ Platforms⁩⁨iPhoneOS.platformDeviceSupport⁩

Play the file you downloaded unzipped in that folder, close the Xcode and open again

Okay, now you can run your app

1

I have been researching this and unfortunately it is not possible to install more recent simulators in older versions of Xcode. The SDK versions required for the simulator are in Xcode itself, and installing these simulators manually does not work.

Down with Xcode 10.2 release note:

Xcode 10.2 includes Sdks for iOS 12.2, watchOS 5.2, macOS 10.14.4, and tvOS 12.2. Xcode 10.2 Supports on-device debugging for iOS 8 and later, tvOS 9 and later, and watchOS 2 and later. Xcode 10.2 requires a Mac running macOS 10.14.3 or later.

That said, you can use a physical device running iOS 12.2 to test an application on Xcode 10.2 by following Rodrigo solution.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.