I select and run the app on the iPhone 8
simulator. Then, I quit and reopen Xcode. The iPhone 8 Plus
is selected by default. How to remember the latest simulator on Xcode 9? My project is using CocoaPods.
Open Xcode and click Menu > Xcode > Preferences > Select Components, and then choose the simulator version you want to download. When a simulator is opened from AppStudio, AppStudio Player automatically installs (if necessary) and opens in it.
The basic way to open a list of simulators is to use Xcode -> Window -> Devices and Simulators. Here you can create and manage all available simulators. But you cannot run them directly. You need to build your application on the simulator, and then you can run it.
To remove all data and settings from an iOS simulator, just click Device then select Erase All Content and Settings from the drop-down menu: A confirm dialog will show up. Click on the Erase button: The process will take a while to finish.
In the iOS Simulator, press iOS Simulator in the menu at the top of the screen, and press 'Reset Content and Settings...'. This will clear the entire simulator.
iOS Simulator is an integral part of any iOS development process. We just can’t ignore it. New Simulator from Xcode 9 brings a lot of useful tricks, which could make you even more productive. Finally, Apple recalled they have Simulator out there!
In the official “What’s new” document for Xcode 9, Apple claims that now you can record a video of simulator’s screen. It’s not completely true. You can do it even in the older versions with simctl.
Each simulator comes with a particular OS version such as iOS 14.1, iOS 15.0, iOS 15.2, tvOS 14.0, watchOS 7.0, etc. You can easily install the one you need via Xcode. This article shows you how to do so in Xcode 12.x, Xcode 13.x, and newer. 1.
When you have 13″ screen the full-screen mode for Xcode is a just life saver. Unfortunately, you couldn’t use Simulator with Xcode in the full-screen mode previously. Well now you can This feature is enabled by default starting from Xcode 9b3. So you don’t even need to do anything to make it work.
Even newly created projects seem to exhibit this behavior. To resolve this, here is the hack I've found that appears to correct the problem. Unfortunately you need to do this for every project:
Upon opening the project again, it should remember what simulator you had it left at. Hope this helps you as well!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With