Ting Yi Shih
Ting Yi Shih

Reputation: 896

AppCode found no simulators to run

AppCode found no simulators to run

I open my project with AppCode, and it shows Nothing to run on.

I cannot figure out where to configure my simulators.

Need somebody to help me. Running my project with Xcode is fine.

Upvotes: 1

Views: 821

Answers (3)

Jordan
Jordan

Reputation: 4212

I've had this happen when I have more than one version of Xcode installed (AppStore & Beta versions).

What happened for me was I had my default Xcode set to the AppStore version, but I created a project with the beta version so the target OS was the latest iOS beta. When AppCode launches, it checks the simulators provided by the version of Xcode it is set to in Preferences->Tools->Xcode->Selected Xcode and if it doesn't find one that matches the target version or higher it will show 'Nothing to run on'.

For instance (I'm just making up hypothetical version numbers as an example), if you have Xcode 11.1 installed with the iOS 13.1 simulator runtime & AppCode is set to use Xcode 11.1 in the Tools->Xcode preferences, but you have Xcode 11.2-Beta installed, which includes the iOS 13.2 simulator runtime, and created a new project with it (or edited an existing project) and have the target iOS version set to 13.2, when you load the project in AppCode it will check the Xcode 11.1 installation for the 13.2 simulator runtime. Since it won't exist in that version of Xcode, AppCode will report 'Nothing to run on'.

To fix it, either change AppCode's Xcode Version, or change your projects target iOS version.

Upvotes: 4

Anil Kumar
Anil Kumar

Reputation: 1984

Create a new scheme for run from build settings

Upvotes: -1

Ting Yi Shih
Ting Yi Shih

Reputation: 896

It's solved after I upgrade my Xcode... Still don't know what happened to AppCode

Upvotes: 0

Related Questions