Xcode 9 - How to Remember the Last Simulator

I select and run the application on the iPhone 8 simulator. Then I will leave and open Xcode again. The default is iPhone 8 Plus . How to remember the latest Xcode 9 simulator? My project uses CocoaPods.

+5
source share
1 answer

Even new projects seem to exhibit this behavior. To solve this problem, here is the hack I found to fix the problem. Unfortunately, you need to do this for each project:

  • Select Edit Scheme: CMD + <
  • In the "Run" → "Information" section: change the Assembly Configuration from "Debug" to "Release". Then change it to "Debug"
  • Click Close
  • Go to the simulator you want to use and close the project.

After re-opening the project, he must remember on which simulator you left it. Hope this helps you!

+10
source

Source: https://habr.com/ru/post/1271980/


All Articles