SamBo
SamBo

Reputation: 551

Changed Target name in Xcode now it runs a black screen

So I changed the name of my target in xcode for some stupid reason, then changed it back immediately and my application won't run. The simulator just displays a black screen.

This is stressing me alot. Willing to try anything at this point

Upvotes: 1

Views: 553

Answers (2)

JRG-Developer
JRG-Developer

Reputation: 12663

Did you say "yes" when it prompted you to allow snapshots?

If so, you can try to revert this change by going to File > Restore Snapshot.

Edit

Bummer about the "no" answer...

Based on your comments though, it's possible that your schemes may be messed up. Try this:

1) Click on the project name drop-down (to the right of stop button)

2) Click on "Manage Schemes"

3) Select all schemes and press delete

4) Click on "autocreate schemes now" at the top right

5) Clean, then try building and running again

Upvotes: 3

Fernando Mazzon
Fernando Mazzon

Reputation: 3591

Delete app, clean, reopen xCode. yes, xCode is dumb sometimes

Upvotes: 2

Related Questions