How to install video player in iOS Simulator? - ios-simulator

I am using iOS simulator 6 and platform version as 8.3.
I need to install video player for iOS simulator.
I tried to install video player, but it shows as invalid Url.
I have attached the screen shot for reference.

Assuming you had a simulator app bundle available, you can run:
xcrun simctl install booted /path/to/the/videoPlayer.app

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

iPhone 6 and iPhone 6+ selection missing from Xcode 6.1 Interface Builder

Im working on an application for iPhone 6+ with Xcode 6.1 and i can select the size for iPhone 6+ from the Interface Builder.
Yesterday my hard disk crashed, and i did a Time Machine restore. After that, my Xcode 6.1 does not support iPhone 6 and 6+ anymore, and all my simulator is missing. I tried to run my application on the iPhone 6+, all the screen is shrink to iPhone 5 size.
And all my simulator are missing.
Please help.
This is probably a bug in the simulator.
We intentionally exclude the simulator data and logs from time machine backups, but I suspect there is a bug that is causing ~/Library/Developer/CoreSimulator/Devices/.default_created.plist to be backed up. The existence of this file will prevent the sim from creating devices that it previously automatically created for you.
Assuming you have the file (please comment to confirm that my hunch is correct or if it is off base), delete it and then kill the simulator service and then check again:
rm ~/Library/Developer/CoreSimulator/Devices/.default_created.plist
sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService 2> /dev/null
simctl list
You can go to the iOS Simulator (by clicking on Xcode -> Open Developer Tool -> iOS Simulator), then go to menu Hardware -> Device -> Manage Devices...
After that, in opened window under SIMULATORS you can press "+" button and add new simulators by choosing iOS Device Type.

where are my iOS simulators in xcode 6 after yosemite installation?

I upgrade to Yosemite my Mini Mac (yesterday) and after a long hours (almost a day) the installation was succeeded.
I enter in my source code in Xcode 6.0.1 and after automatically install several things (i just saw the message and wait) i can't see the iOS simulators just iOS Device.
I check in Preferences but i have iOS Simulator 7.1 checked but i don't have any other simulator and i can't see 7.1 simulator either.
Thanks for your help.
EDIT ****
After install Xcode 6.1 I saw my iOS simulators again in Xcode. I saw a message "installed required components" when first launched the new Xcode version, so I supposed that fix it.
Thanks for your help.
In Xcode 6.1 you can add simulators manually.
To do so go to Window -> Devices and press the + symbol left at the bottom.
Then you can choose a combination of device type and iOS version to create.
if the iOS version you wanted is not there you'll be ask to download more simulator and directed to Xcode->Preference->Downloads.
Note: you can directly go to Xcode->Preference->Downloads and download more simulators and it will automatically available in simulator list after download.

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