No choice icon to run on simulator in Xcode - ios-simulator

I just downloaded a code pack from github. But there is no choice to run the app on simulator and I can only choose to run on iOS device. Why does this happen? Can I make any change to enable it to run in simulator?
Thanks!

Related

AndroidTV app builds ok and will install but can't be opened. Android 7.1.1 TV

I'm at the bottom of the J curve as far as Android development goes, but I can't even get the demo app to work on my Android TV. I build the TV device blank activity in Android Studio, and it works fine in an emulator. I have a banner(320x180pixels), android.hardware.touchscreen(false), android.software.leanback(true), and LEANBACK_LAUNCHER in the intent.
The APK (which I have signed with V2 and marked as a release) installs with warnings from playprotect (which I can't shut off in this locked-down TV) but cannot be opened. I have sideloaded other APK's via the same method. I have also tried not signing the APK.
The TV is an Axis 1832S running Android 7.1.1. I CAN put it into developer mode if that helps.
Does anyone have any hints, or a simple 'hello world' apk that works that I can try?

Simulator build for Apple Watch

I want to know if anyone could suggest that how can I create Simulator build for Apple Watch.
I'm following the steps in this [link to create simulator build](https://developers.facebook.com/docs/iOS /creating-iOS -simulator-build-for-review)
but if we use command like xcodebuild -showsdks
It only showing iPhone Simulator.
Though I've created simulator build using these command for project having target for Apple Watch, but it do not run on watch simulator.
So, it will be helpful if anyone could suggest how to create Simulator build for Apple Watch.
Since your WatchKit app and extension are part of your iPhone app you just need to create simulator build for your iPhone app. Then when you install your iPhone app in the iPhone simulator it will also install your WatchKit app on the watch.
If you just want to run your app on the Apple Watch from Xcode then you can just select your WatchKit app in the list of schemes and then build & run. You will need to enable to Apple Watch display as Pablo A. mentions.
Go to the simulator (iOS 8.2 or greater) and
Hardware - External Displays - Apple Watch

watchkit extension not starting

I cannot start iOS Watch App on simulator. Installed latest Beta 6.2 on Yosemite
1) I create a single view based application,
2) Add App Watch target
3) Extension and Watch App automatically created
4) Run App and start simulator and enable Apple Watch simulator
5) Switch Scheme to app Watch App and start Run
Xcode status bar showing Running App...... and never jumping to second step of
Running App extension, so nothing is showing on Apple Watch!!
1. Select you "... Watch App" Run it on iPhone 5 simulator and higher
(watch simulator not working with iPhone 4s)
2. Go to Hardware > External Displays > Select one of Watch external displays.
As a result you should see the log on the console from your WKInterfaceController WathcKit Extension
I have exactly same problem. I created a new project and added WatchKit extension in Xcode 6.2 beta 4 with WatchKit. I tried all ways mentioned in other answers but still failed to let watch app run in the simulator. Finally, I made it work.
My steps:
Delete the containing app in the iPhone simulator.
Clean your project in Xcode.
Do not run the containing app, run the WatchKit app from Xcode.
1. Dont run main target, run watch extension target. you can find below attachment, so that you can get an idea
2. Go to Hardware > External Displays > Select one of Watch external displays

Why is iOS Simulator not running?

When I try to run my program, iOS Simulator goes black and displays this error:
Unable to boot the iOS Simulator.
When I click OK, Xcode shows this error:
Unable to run app in Simulator. An error was encountered while running (Domain = NSMachErrorDomain, Code = -300)
How I can I make it run again?
You probably are running two different instances of the iOS Simulator.
Clean the project. (CMD+SHIFT+K)
Quit Xcode.
Quit all instances of iOS Simulator.
Restart the computer.
Log in.
Make sure no instances of iOS Simulator are running (I had a wrong version set to Open At Login)
Run your project, and let Xcode open the right Simulator.
If you've recently updated XCODE and possibly have more than one installation you may need to specify which XCode is being used via the command line.
sudo xcode-select -s /Applications/Xcode6-Beta4.app/Contents/Developer/
Just Reset Content and Settings worked for me. Also clean the project once and build.

Installing iOS 5 for simulator

I've downloaded the iOS 5 beta and want to test my app, but since I don't want to install this on my iPhone, I'd like it to be only installed on the Simulator. Does anyone know how to do this? In the Xcode Organizer, the software image shows up, but I can't run the app in iOS 5.
You cannot install or update iOS software/firmware for iOS devices on a Mac because of the different computer architecture.
Download and install Xcode 4.2 with the beta iOS SDK, then you can test the app on the iOS Simulator.
You need to install newer version of xcode.
Be careful with Xcode 4.2 .... I believe it's only in preview mode.
You cannot upload apps with preview Xcode
!
1.Partition your MAC, obviously installing OS X on a partition other
than the one you use.
[ if you can't do it yourself, don't try it]
Put Test Xcode and dev stuff in one. The real deal in the other.
That way you can mess about with upcoming cool stuffs.

Resources