Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A gear icon appeared in my Xcode app icon project and I cannot run it anymore

I've added a framework and a library (spring) to perform animations with buttons, etc. Now instead of one app icon to launch, in x-code, I got three, and can launch them all except the main one. The main app icon it's now a gear, and I cannot run it because x-code don't let me select any device to launch it. I can only select my mac, as you can see in image...

enter image description here

There is also another thing. The yu.app in product folder turns to red only when I'm in the main app. When I choose spring it turns black again. Anybody know how to fix this issue?

enter image description here

enter image description here

like image 751
Alfro Avatar asked May 04 '16 12:05

Alfro


1 Answers

Do following

1 - Navigate to manage scheme

2 - Remove older scheme

3 - Create new scheme

For removing files of older scheme you need to remove derived data.

From XCode Window > Projects > Select Your Project > delete derived data

like image 106
MOHAMMAD ISHAQ Avatar answered Oct 18 '22 18:10

MOHAMMAD ISHAQ