Can any body tell me where xcode organizer saves the list of devices attached with it???
I need that urgently. I am unable to add device from provisioning portal and need to add device from xcode organizer but that needs the device. i currently don't have the device just have the UDID.
I think i could add the device UDID in the xcode organizer list then i can add the device from the xcode organier to the program portal.
Regards
Abdul Samad
~/Library/Preferences/com.apple.xcode.plist
Look for the XCKnownRemoteComputers key.
Related
Today I want submit my app to app store, I created apple ID and prepared app for upload. I created Distribution Provisioning Profile and I prepared everything in xcode but when I change
iPhone Simulator 6.1 -> iOS Device (button archive is unavaible)
Check dependencies
Code Sign error: A valid provisioning profile matching the
application's Identifier 'com.etomek.Ukladanka' could not be found
I thought that I need Developer Provisioning Profile? But I don't have any iPhone/iPad
So Could I submit app to appstore without ios device ?
You do not need a device, and can archive when it's set to iOS Device. The best bet is to test on as many devices as you can, and archive when it's plugged in. Although when it says iOS Device, you can archive. The reason it's grayed out is probably an error in your provisioning profile or certificate. You may want to look under Organizer under profiles or under your build settings.
You need a development certificate for testing locally and distribution certificate for submission to the app store. You need to create a request in keychain then submit it using iTunes Connect, and then download the proper provisioning profiles and certs, and install it in XCode Organizer.
Best bet is to purchase a cheap device like an iPod Touch or iPhone, that can test most of your capabilities (iPod doesn't have most capabilities). You can compile for iPad with iPod or iPhone. So you just need an iOS device that can support your version 4.3+ or 5,6,7.
My previous answer was not correct, but this one is. Trausti was actually correct.
From Official Apple Documentation
To create an archive
For iOS, tvOS, and watchOS apps, choose a generic device or your device name from the Scheme toolbar menu in the project editor.
You can’t create an archive of a simulator build. If a device is connected to your Mac, the device name appears in the Scheme toolbar menu. When you disconnect the device, the menu item changes to the generic device.
Choose Product > Archive.
The Archives organizer appears and displays the new archive.
So you don't need an iOS Device to create an archive and distribute it on the App Store or for beta/ad-hoc testing.
Yes, you can submit your app to app store without having a device.
The error you have is most likely because of incorrect name of your application.
No you can not. Also if you are wanting to do a clean distribution you will need to get a distribution license so you can do the distribution directly from xcode. Here is a good tutorial.
http://docs.xamarin.com/guides/ios/deployment,_testing,_and_metrics/app_distribution_overview/publishing_to_the_app_store
You will need to have a device in order to submit:
You cannot archive the app if xcode is set to simulator
You do not have to run the app on the device, but you must connect
it in order to archive it. That is why the menu is not
avalaible(grayed out)
PS: Also , you do not want to submit an app wihtout testing it on a real
device, that's just my opinion though.
Thanks in advance
I attached a device to my mac but it is not recognized in the xcode organizer window. It is showing in itunes.It is showing yellow light in the organizer.
Device should be added to device list on provision portal. After that, open it's page in organizer with device attached and press button that says "Use for development". If you don't have that button and still can't use device for development, you're probably have wrong SDK installed.
A solution that worked for me was opening iTunes.
In iTunes it was asked to trust the device and then it recognised in Xcode organizer.
I can't add one to devices in xcode organizer...
When I build the app for release, should I choose simulator or device?
For releasing your application you can not use simulator , you have to specify device or distribution.
you can use simulator for only testing purpose in ur pc.
I didn't understand the question at all. But you need to choose "Device" for distribute your iPhone App, otherwise your App gets rejected before the Review has begun or it's not possible to use it for AdHoc.
For using an AdHoc Distribution Profile you need to register your Device in the iOS Developer Portal, and add it to your AdHoc Distribution Profile. Download it and drop it on the Xcode Icon. Choose the Code Signing Identities, add the Entitlements.plist, Archive your App, drop the IPA on iTunes and install it.
If you need more infos please leave a comment.
There is actually a complete tutorial for the process at iOS developer center. See: https://developer.apple.com/ios/manage/distribution/index.action
You can not add a profile directly to your device. (Actually, I don't know if you can but its of no use really). You have to SIGN your app using a profile.
You can choose either simulator or device for building for RELEASE. Though simulator build will only work on simulators and are only good for testing on it using RELEASE settings (if any).
I have been through the device provisioning several times, and I still don't understand it.
I have one phone and one ipad provisioned to work, but I can't get another phone to work.
All the devices are listed in the apple provisioning profile-devices and show the provisioning profile that I am using.
On both phones, in XCode 4, under organizer-devices, I deleted the existing provisioning profiles on each device. Then I downloaded the current provisioning profile from the apple provisioning portal and dropped it onto the XCode organizer-devices for each device.
I can still load my application on the two devices that were working originally. But the third device is a no-go.
The ipad runs ios version 4.3
The working phone runs ios 4.01 (jailbroken)
The non-working phone runs ios version 3.1.3 (jailbroken)
The non-working phone does not show up in the schema device list in Xcode 4.
I'm obviously not sure what it is that I missed. Thanks for the help.
You need to have the device ID of all devices you use in the provisioning profile. The minimum OS version of the project must be <= your device OS version. If the device is an arm6 based device you might have accidentially disabled dual builing for arm6/arm7.
I think you probably set the deployment target too high and/or statically linked a framework that required >= iOS 4
PS: it is also very likely that Jailbreaking is responsible for the device not being recognized by the organizer. Have a look at the console log both on Xcode and on the device. Jailbreaking might be causing a crash in your baseband when Xcode tries to probe it.
I would know is there is a reason to a non-detection of any device by Xcode but Organizer yes. This fail happen only when I create a new project under Xcode4...
Any suggestion ?
Do you have a developer certificate in XCode to work with the device? If you don't, or if you are targeting a version of iOS higher than the one on your device, XCode may not show it as an option to deploy your application. A workaround for not having a developer certificate from Apple is jailbreaking your device.