Since updating to Xcode 6.1, I cannot add any iOS devices to run on. Clicking add in the device window only asks to install more simulators. Itunes is 'seeing' the devices connected to the computer, but not Xcode.
Normally the devices I have on hand are an ipad2 running ios 7 and an older ipod touch running ios 5.1. I have set the build targets in the xcode project to include at least ios7.x but still can't see any device.
I have reviewed all my certificates and provisioning profiles in the developer portal. The ones generated by Xcode 6 seem to all start with "XC:..." If I generate and then download any of the older ones, they are greyed out in the add provisioning profile window from devices in Xcode.
Obviously, its critical that I can run on attached devices. Any suggestions would be appreciated.
thanks
r
Go to Windows -> Devices (or ⌘Shift2). Click on the device in the left column, and then "Use for development." If you don't see it there, you may need to restart Xcode, the device, and/or your computer.
Related
I have been trying to install an .ipa using itms-services to an iPad with iOS 9.1. However, it shows the "Install..app?" and "Unable to install.." pop-ups the same as asked in this question:
iOS 8 - Can't Install Enterprise App
The installation is successful in iPhone with iOS 9.1 (same version as iPad). I tried the installation in another iPad with iOS 8.1. I tried the suggested fixes in the accepted answer of the above mentioned question. Also, tried cleaning the Downloads folder using iExplorer. Still unable to download.
I'm able to install app using iTunes, so it's not a provisioning profile issue.
Any suggestions? Thanks in advance.
There are many reasons why this stupid error can occur. To be overly cautious, let's..
1) delete the app from your ipad
2) delete all of the related provisioning profiles from your ipad
3) in xcode make sure you are using the provisioning profile correctly associated with the enterprise account (bundle identifiers must match properly) .. also make sure the DEPLOYMENT TARGET is lower than the ios version on the ipad
4) in xcode -> product-> clean
5) xcode -> product-> archive
6) while its building, turn your ipad off then back on
7) upload the enterprise build
8) try to redownload and install it on the ipad
there is a VERY VERY small chance that your wifi is corrupting the downloaded file, to check, see if you can get it to install on your iphone via wifi as well.
connect the ipad to your computer via usb, while doing the install, open up in xcode -> window -> devices, pick your ipad in the left column and hit the very tiny little square with an up arrow in it to show the console.. clear it before you open the app, then open the app and see what it says, this will give you more clues hopefully of whats going wrong
I have a new iPad Retina and I'd like to use it for development with Xamarin Studio and XCode 6. In the past, with XCode 5 you simply connect the device and click the button that says "Use for Development". But XCode 6 doesn't have that button anymore and when I try to build my application to the device in Xamarin Studio i get the error message saying "Could not install the application '/Users/jzacherl/Projects/CyCom/CyCom/CyCom/bin/iPhone/Debug/CyCom.app' on the device iPad: Your application failed code-signing checks. Check your certificates, provisioning profiles, and bundle ids. Probably your device is not part of the selected provisioning profile (error: 0xe8008015).
".
My application should support both iOS 7 and iOS 8. I've tried changing target deployment to and from 7 & 8 and I've tried restarting my mac/device and build/cleaning my project.
Despite the hints here and elsewhere, it took me awhile to find the exact solution. So, for others who are new to Xcode:
The navbar at the top of the main Xcode 6 window has a triangle run/play button, a square stop button, the app's name, then a target name, e.g. "iPhone 6" for one of the simulator options. The target name is actually a drop-down menu! That is where to select your actual device.
Now click the triangle button to build & run. Likely result: "No non-expired provisioning profiles are installed" with a button to "Fix Issue". Click that, wait a bit ... done!
Hat tip (and screenshots): http://www.bignerdranch.com/we-teach/how-to-prepare/ios-device-provisioning/#loc-provisioning-easy
Cross reference to a later question with a more descriptive title: There is NO Use for Development in Xcode's Organizer window
You can register a device with your Developer ID at:
https://developer.apple.com/account/ios/device/deviceList.action
(You will have to be logged into the developer site to do so.)
After that, everything should work fine. You can get your device's UDID from iTunes.
Try building and deploying an Xcode app and see what happens.
I believe Xcode will popup a helpful dialog if you need to do something Xcode can't do automatically.
First you have to register the UDID of the device in iOS member center and add with the provisioning profile and install the provisioning profile
In versions of Xcode prior to Xcode 6, you can connect the device to your computer over USB, open Xcode -> Organizer and select Use for Development.
Use for Development was removed from Xcode in Xcode 6 and later. It is no longer possible to do this for devices using Xcode 6 or later, even with the Devices page
Try going to Window->Devices. You should see your attached device in the list so right click on the device and select Show Provisioning Profiles.It will show a window where you can add your profile.
After that you will be able to install your app in that device.
I get the following message:
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.
Tried connecting to multiple USB ports, deleted xCode with the delete developer tools command in terminal, reinstalled and rebooted.
Please help me out!
Check Architectures Section in Build Settings tab of your Project. iOS 7.1 must be set as Base SDK. If it's not in list, update your xCode to last version. Also try select from list and set again Certificate and Provisioning profile. Sometimes it helps.
I couldn't see my device in the organizer, although I installed the latest version on my device, so the problem doesn't related to the iOS deployment target.
if you are using iOS 7 in your device then first time when you connect your device to system there is one popup will appear in your device for permission and you need to click on Trust, after that your device will be detected for development in xCode
I'm trying to install an app onto an iPhone 4 and I get:
no provisioned iphone os is connected
I am using:
Xcode 3.2.3
iTunes 9.2
iPhone 4.0 with iOS 4.0 (8A293)
I have the development provisioning profile in XCode and in the phone.
The Organizer window shows the iPhone 4 with a green circle next to it. I have the correct App ID in the bundle identifier in Info.plist.
I've tried powering on/off phone, stopping/re-starting Xcode and iTunes with no luck.
Any ideas what is wrong?
If the profile is installed, you are probably trying to install the app on the device with the build configuration set to "Distribution"... you need to set it to "Debug" or "Release" in the drop-down menu in XCode on the main window.
So, build options should be "Debug" and "Device"
Did you check the status of the Organizer? From Xcode, go under Window->Organizer, and look under the DEVICES section on the left pane. It should show the connected devices, and provide a more detailed explanation (e.g., device is not enabled for development, OS installed on phone is not supported by SDK, etc).
One possibility is that you are running 4.0.1 on your phone, but only have the 4.0 SDK installed.
Double check the provisioning profile is tied to the build you are doing: Right click-> Info on the project icon in Groups & Files then Build and scroll down to Code Signing.
There seem to be a million different things that can go wrong with getting the app to the iPhone, I never get it right the first time.
I've followed this before: http://adeem.me/blog/2009/04/24/tutorial-list-guideline-for-building-ad-hoc-application-for-iphone/
It's for Ad Hoc but most of the steps are the same.
I figured out what the problem was. I had the build set to iPad and I was trying to download to an iPhone! I hope this helps someone else.