Xcode cannot deploy to iPhone - ios

I got the error message "Xode cannot run using the selected device" when I try to deploy my project to my iphone (iOS 9.1).
Here are some screenshots :
And if I click on the "Reset" button of Signing identities, it would grey out, but it still show "Reset" next time I go in.
Does anyone has a suggestion dealing with this problem?
Thanks!

Your deployment target is 9.0 while your iPhone device is 9.1. You should update Xcode to get the newest iOS available.

Related

Select simulator or iOS device for testing on Xcode not appearing

My Xcode 6.4 isn’t showing up the option next to run button to select any simulator or physical device.
I know I can select any iOS device or simulator from the below menu but I would love to bring that option back.
This is discussed here not able to select ios device or ios Simulator for running the project but doesn’t reply to my question.
How can I bring that back?
Stretching Xcode’s window in horizontal position will solve the problem.
Don't worry.Sometimes it happens. You can resolve by creating new Schema also.

Xcode Beta 6 with iOS 8.0

When I connect my iPad with iOS 8.0 to xcode beta 6, I can't find the "Use For Development" button that usually appears when selecting your iPad in the "Devices" window. I reset and wiped my iPad so now I need to set it up again for development use. Anyone know how to do this in the new xcode?
I've seen some buggy things going on with Xcode betas (no surprise). Try unplugging the iPad, restart Xcode, and plug it back in. I would even go as far as a reboot to your machine.

ipad simulator not an option

I have Xcode 5 DP and am trying to run iPad applications. However it only shows "iOS Device" under the scheme and not a simulator. If I go to General --> Devices and change it from iPad to Universal I can only run the iPhone simulator but not the iPad one. There are no updates available for Xcode. Under Build Settings, I've tried changing the Code Signing Identity to Don't Sign but that didn't do anything. Also, I've changed the deployment target from iOS 7.0 to a lower version with no results. Any ideas? Thanks in advance!

New ios7 update & xcode 5 no device found

I just updated my iPhone4s to ios7 and xcode to 5.
I am trying to run my app on the iphone which worked for 6.1.x and 4.xx. However,
after the update xcode claims not to find my connected iphone testing my app.
Xcode cannot run using the selected device.
No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination?
Window -> Organizer.
Click on device tab.
Click on the iOS device on the left side and click the button 'Use for development'.
Check in Organizer if device is used for development or has lost this property on xcode actualization.
check the organizer like Rauru Ferro said. It might need some time to update the settings in Xcode. You should see a progress bar loading, after that everything should work fine.

How can I choose an iOS simulator as the destination in Xcode?

I am an iOS noob. I had a project running on the iPhone simulator in Xcode 4.4. To resolve a different issue, I un-installed 4.4 and then installed 4.5.1. Now when I try to run my project on the simulator I get an error "Xcode cannot run using the selected device: No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination."
How do I choose an iOS simulator as the destination?
Where do I click?
There should be a menu in the top left region of the toolbar section of the IDE. It should have a run button, a stop button, and then the name of your app and a label saying IOS Device. Click view-->show toolbar if you don't see it. Click on IOS Device and you should get a drop down menu of devices. The simulator should be in that list.
This should do it, its very simple actually
Just in case anyone finds this helpful --
Sometimes your version of xCode doesn't support the deployment targets.
My iOS simulator did not show up as a destination until I set the deployment target down to 7.0 (it seems like 7.1 may not be supported by xCode 5.0, but only 5.1 [not confirmed]).
Hope that helps if anyone stumbles across it.
For me the problem was that the selection in the toolbar only shows up for a certain width of the XCode window
I was able to add devices to the Simulators list by clicking on Window->Devices (Shift+Command+2), and clicking on the + at the bottom left to add Simulators.
After you click on Create, the device(s) will show up
Make sure to set Supported Platforms correctly
I had the same issue. The simulator would run a different device than chosen in the size field under "Simulated Matrix".
I dug around and found in Xcode's menu: Product/Destination. screenshot I was then able to run the simulator for the correct size.
Hope this helps !!

Resources