-1

image

Reset the simulator:

  • Hardware -> Erase All content and settings...

  • Clean my project:

still getting an alert message from Xcode 9.2 when I run the application on the simulator.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Pratik Panchal
  • 339
  • 5
  • 13

2 Answers2

0

try to clean your project

shift+cmd+K

shift+opt+cmd+K

OR

  1. Check simulator logs, if its printing something useful. First, select
    simulator then from menu option open Debug -> Open System Logs.
  2. Make sure only 1 simulator is running.
  3. Delete the older version of app from the simulator.

This should fix your issue

Cœur
  • 37,241
  • 25
  • 195
  • 267
saj
  • 144
  • 1
  • 8
0

1) Install the latest version of Xcode and make sure your XCode should be in Applications.

2) Delete the derived data from path

/Users/apple/Library/Developer/Xcode/DerivedData/

3) Clean your project using the below commands:

shift+cmd+K

shift+opt+cmd+K

4) Restart your system.

5) Run the project.

Prashant Pimpale
  • 10,349
  • 9
  • 44
  • 84
Shami
  • 11
  • 2