Important note: As of Delphi 10.4, it’s near impossible to make an app work with the older iOS simulators. 10.4 users will need to wait until an update that supports the newer simulators.
If you’re starting with a newer version of Xcode on the Mac, you will find that the iOS simulators supplied will not work with Delphi (as at version 10.3.2). In this article I describe the procedure for working with the older iOS simulators.
Adding older simulators in Xcode
- Open Xcode on the Mac, and click Window > Devices and Simulators, or just press Shift-Command-2, and click the Simulators tab
- Click the + button that appears in the lower left of the window:
- Select a simulator device that is available for iOS 10.3. The following is a list of those devices:iPhone 5
iPhone 5S
iPhone 6
iPhone 6 Plus
iPhone 6S
iPhone 6S Plus
iPhone 7
iPhone 7 PlusiPad Mini 2
iPad Mini 3
iPad Mini 4
iPad Air
iPad Air 2
iPad (5th generation)
iPad Pro (9.7-inch)
iPad Pro (10.5-inch)
iPad Pro (12.9-inch)
iPad Pro (12.9-inch) (2nd generation) - Click Create:
- Repeat steps 2-4 for the devices you wish to have simulators for.
Refreshing the list of simulators in Delphi
Make sure you have imported an iOS simulator SDK. It won’t matter what version it is; I’m unsure as to why this is so.
- In Delphi, start a new FMX project, or open an existing one
- In Project Manager, expand the Target Platforms node, and expand the iOS Simulator node
- Right click the Target node, and click Refresh:
This should make the simulators that you added appear in the Targets list. You may target those that you added.
Dear Dave,
My Mac recently updated to Catalina. Now I cannot even connect on a profile I previously had running between my Delphi development machine and my iMac and iPhone. Does this simply mean that Delphi can, effectively, no longer compile anything for macOS and/or iOS devices? Catalina is only 64-bit with no backward compatibility. This resulted in PAServer 19 and 20 stopping working, along with PAServerManager not working (because these apps are all still only 32-bit). I have only Delphi 10.2. Does this finally mean that I am now screwed (having to fork out thousands of dollars again), or is there a way to make all this expensive hardware and software still work together?
I have a mobile app that works beautifully on Android, and my customer now also needs this app to run on iOS.
I look forward to hearing from you…
My apologies for the late reply, however Gmail seems a bit hit and miss with what is spam or not with comment notifications.
Support for iOS simulator went off the map a while ago when Apple stopped producing 32-bit simulators for iOS 11 or above. iOS simulator support should re-appear in an update for Delphi 10.4
If you are developing apps that need to be for iOS to be distributed to others (either via Ad-Hoc, Custom Apps, or App Store), you absolutely need to stay current with your Delphi version, since most changes are not retrofitted into earlier versions of Delphi to comply with Apple’s ever changing requirements.
For Android development, even if you are not distributing via Google Play, if your customers have devices with later versions of Android, the easiest path is to stay current with your version of Delphi.
Your tutorial saved me. I was no longer able to send the apps to the store because my screens were always going badly resized. Now I managed to generate the scrennshots.
Show