New ios7 update & xcode 5 no device found - ios

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.

Related

Xcode cannot deploy to iPhone

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.

iOS simulator version

I tried Appium iOS tutorial and ran the example successfully. I noticed the UICatalog6.1.app runs on iOS simulator with title "iPhone 6/iOS 8.2" on the top of the simulator.
However the title is "iPhone 6/iOS 9.0" when I run the app developed by myself from Xcode. I am wondering which part controls to use different version of iOS simulator?
When you install Xcode, you automatically get the most recent version of the simulators. However, if you would like to define additional simulators with older iOS versions, you can.
In Xcode, go to Window (on the tool bar), and select Devices. There, you can see a list of all of your current devices and all of your currently setup simulators. If you click the plus on the lower left corner of the screen, you'll get to this screen:
Here, you can select the device you'd like to use for the simulator and its iOS version. By default, you'll only have the most recent version of iOS, but if you'd like to add older versions, just select 'Download more simulators' and you'll be given the option to download older versions and use them for testing.
Once you've set up the new simulator, you'll be able to select it from the list of available devices to run your app on. Good Luck!

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.

updated iOS 6.1.2 now I can't archive app xcode

When I want to distribute my app from XCode I select my device in the list at the top and that enables the option to Archive my application.
I upgraded to iOS 6.1.2 last night and now my device will not show up in the drop down list at the top so I can't archive the app.
How do I fix this?
You don't need to have a device plugged in to Archive. In Xcode click the dropdown next to the Run and Stop buttons and change the selection from iPhone 6.1 Simulator to iOS Device. You should then be able to Archive your build as usual.
In order to have your 6.1.2 device show up in the dropdown, you may need to update Xcode to the latest version.

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