Where is the Unique Device Identifier (UDID) for an Iphone? - iphone

I want to add device to my developer account. Where can I find the device id?
There is no Itunes anymore. I have my imei and serial but they are both invalid.

You can now find this information in Finder. From Apple’s help topic:
Connect your device to your Mac.
In Finder, select the device under Locations. If a Trust button appears, click it.
Under the device name, click the device family name to show the serial number and device ID (UUID).
Copy the device ID by Control-clicking the identifier and choosing Copy from the pop-up menu.

Related

How to have a long name for the app store and then a short name under the icon?

How can I have a long name for the app in the app store and then a shortened name under the icon once it's downloaded? Is it possible?
When creating a new app in iTunes Connect:
Then in your apps info.plist file:
The App Store name is set in iTunes Connect when you actually submit your app. The one on the home screen is the one you set in your Info.plist, so you can easily use two different names.
You can set the name of the app for AppStore in itunesconnect. And the name of the app that will be visible for the user on his/her device can be set in the info.plist file of the app. If I remember correctly it was Bundle Name, but I can be wrong. Don't have a Mac nearby at the moment
The long name is set by iTunesConnect; the short name is set in the build settings under "Product Name".

How to install a iphone app in device creating provisioning account in apple developer site?

I have developed an app in xcode. Now I need to install it in iphone device so that I can test it. But I am not getting any idea how to do that as i am very new to this field. I want to install it creating provisioning account in apple developer's site (As by instruction). Please I need a step by step guidance how to do that. I stuck here for a long time. Please refer if you have any link or tutorial. Thanx in advance.
Everything explained in detail
Hope this helps you
http://www.raywenderlich.com/8003/how-to-submit-your-app-to-apple-from-no-account-to-app-store-part-1
http://www.raywenderlich.com/8045/how-to-submit-your-app-to-apple-from-no-account-to-app-store-part-2
Always try to read and use the Apple developer website to do it.
You can start from here
However I'm writing down the steps in detail.
Here are the details that you must do for deploy an IPA to IPhone/IPAD.
Create Developer account and Developer Certificate
Create Key-chain certificate
Adding a Device
Create App IDs
Create Provisioning profiles
Build your App using the created Developer Certificate & Provisioning profiles.
Create Developer account and Developer Certificate
Step1: go to the site http://developer.apple.com/iphone/program/
Step2: Please click on the ‘Enroll Now’ button
Step3: A window will appear with some info and a Continue button.Click Continue button
Step4: Another window will appear that ask "Are you new or a registered Apple developer?" .
Step5: Please choose the proper option (let consider we registered Apple developer earlier).
Step6: There is another window which will ask your role. it may be a Individual or Company.
Step7: Select proper option and Sign-In with your Apple ID.
Create Key-chain certificate
Step8: After Signed up , you have to use the ‘Keychain Access’ tool.
You can search "Keychain" in the Finder search location and double click the displayed file.
This will be used to authenticate your computer.
Step9: Click on the Keychain Access menu-->Certificate Assistance -->Request a certificate from Certificate Authority.
Step10: A new window will appear with the Email address,common name etc.. sections.
Step11:Type in the email address you used for your apple developer certificate in the ‘user email address’ field.
Step12: Use any one name as Common Name.
Step13: Click ‘Saved to disk’ button.
Step14:Another widow will appear with two combo boxes.they are Key size and Algorithm.
Step15:Select 2048 as Key Size and RSA for the Algorithm
Step16:Hit Continue button. This will generate the key and save it to the location you specified.
Step17:Click ‘Done’ in the next window.
Step18: Please visit http://developer.apple.com/iphone/manage/overview/index.action
Step19:You can see a Table of contents as Home,Certificates,Devices, App IDs,Provisioning, Distribution on left side of the window.
Step20:Click on Certificates and click on the ‘Add Certificate’ button.
Step21:Click on the ‘Choose File’ button and locate your certificate file that you saved earlier, and hit the submit button.
Step22:after you hit submit, an email will be sent to the email address you specified in the Certificate Authority (CA) request form from Keychain Access.
Step23: Open you mail account and approve the request.
Step24:The Approval status will display in the developer site Certificates section.
Step25: After your approval, download the certificate using download button and save the certificate to a location
Step26:Double click on the file and you will see a dialog window which will ask a permission to add the certificate to the key chain..
Step27:Click ‘OK’. This will install your iPhone Development Certificate in your Keychain.
Adding a Device
Step28: iPhone developer program allow you to have up to 100 devices per team.
To register a device you have the Uniques Device Identification (UDID) number. This can be found in Xcode.
Step29:Connect your device with machine, and then open XCode-->Window-->Organizer.
Step30:A window will appear with the name of your device in the ‘Devices’ list on the left.
Step31: Click on the device name and copy the identifier string from the Summary tab.
Step32: Now we are going to add a device.Go to the Developer.Apple site which we signed-in earlier.
Step33: Click on ‘Devices’ and click on ‘Add Devices’.
Step34:Provide you device name and Device ID that you have copied identifier string from XCode-->Window-->Organizer .
Step35: In order to obtain provisioning profiles, you will first need to create an App ID. The App ID allows an application to communicate It can also be used to share
keychain information, such as passwords, between a suite of applications.
Step36:To create a new App ID, click on the ‘New App ID’ button in the ‘App ID’ section of the program portal.
Step37:An App ID consists of a 10 character “Bundle Seed ID” prefix generated by Apple and a “Bundle Identifier” suffix that is created by the Team Admin in the Program Portal. An App ID could look like the following example: 9F456G1234.com.apple.YourApplication or 9F456G1234.com.YourApplication.
Step38: Fill all required info and click Submit button.
Create Provisioning profiles
There are three types of provisioning profiles
They are:
Ad Hoc
Development
Distribution.
Note: The Ad Hoc and Distribution provisioning profiles are not available when running the trial version . If you are running the trial version, you should build with the Developer's provisioning profile.
Step37:To create it,Click on the "iPhone Developer Program Portal" in the Developer.Apple site, on the right side of the page, under "iPhone Developer Program".
Step38:Click on "Provisioning" on the left side of the page.
Step39:Click on the "New Profile" button on the top right, while under the development tab.
Step40:Enter a profile name, pick the certificate you would like to verify the profile with, select the App ID for this profile to be associated with and then choose which devices you'd like the profile to support.
Step41: Click submit.
Build your App using the created Developer Certificate & Provisioning profiles.
Here is the details to install the Provisioning profile after added new devices.
Step 1: Go to the Developer.Apple site URL: https://developer.apple.com/devcenter/ios/index.action
Step2: Log - in with your User Name and Password
Step3: Click iOS Dev Center tab .You can see the iOS Developer Program section on right side of the window.
Step4: You can see a tab named as "iOS Provisioning Portal" under the iOS Developer Program section.
Step5: Click the tab.You can see a Table of contents as Home,Certificates,Devices, App IDs,Provisioning, Distribution on left side of the window.You can see the newly added devices under Devices -->Available Devices section.
Step6: Go to Provisioning Tab-->Profiles. You can see the Provisioning profile there Status as Active.
Step7: Click the download button corresponding to the Provisioning profile name and the file will be in your Downloads folder after downloaded successfully.
Step8: Open Your Xcode interface and go to Window-->Organizer.
Step9:Click the Organizer and you can see the Organizer window appeared.
Step10: Double click the downloaded provisioning file. You can see the Profining profile in Organizer window Developer profile tab.
Step11: Also you can see Include number of device in Provisioning Profiles-->Included Devices section.
Step12: Close the Organizer window and go to the Xcode-->Project-->EditActiveTarget "Your Project" tab.
Step13: Switch to the Build section and serach "Code Singing Identity" in the search area.
Step14: You can see the Code signing section in the window and set the Code Signing Identity and Any IOS as your provisioning profile name.
Step15: Close the Window ,go to Build menu and clean all Targets of your project using the Clean All Target Option.
Step16: Build and Run the Application.
Steps to Create an IPA from Xcode 4.3
Step1: set your project bundle Identifier name and deployment target in build settings.
to do this,please click on your project and click target-->summary tab.
Step2: Navigate to the Build tab from the same above window and set your Base SDK ,IOS deployment target,target device family.
Step3: In the scheme drop-down on the top right of the IDE ,select iOs device.
Spep4: In the scheme editor window , select the "Archive" scheme in the left and change the build configuration settings to release.
to do this,please click on X-code menu:Product -->Edit Schema
Step5: Then go to X-code menu:Product and select Archive.
Step6: Application will start building when done the above action and will appear a Organizer window when the build process is get done.
if the Organizer window doesn't appeared, please go to X-code menu: Window -->Organizer
Step7: Organizer window will appear with the Application name and created date &time. please enter the proper comment .
Step8:Click Distribute button.
Step9:A window will appear and choose the "Save for Enterprise or Ad-Hoc Deployment" option.
Step10: Click Next button.
Step11: Choose your Code signing identity and click Next button.
Step12: A save window will appear after teh Next buton clicked. Choose your location and Enter your IPA name .
Step13: Click Ok. You should able to see the IPA in system saved path.
Step14:Install the IPA to your device through iTunes
There is step by step instructions on the apple developer site.
you need to create and app id, create a provisioning profile based of that id, install that onto your device with your developer certificate and make sure the app id matches the one in the app itself.
Then build the app for release, take the app and place it into itunes and sync with your device

Device Id and Provisioning Profile

Is it possible to test an app which has apples push notification service enabled (APNS) on simulator? If so, where can I get the device id (UUID, it should be 40 hex characters) so that I can create a provisioning profile?
In short, I am unable to create a provisioning profile since I am unable to get the device id which is 40 hex characters. Currently I have this uuid D1648548-6C35-511B-B0D0-258808BD2026, which is only 36 including 4 hyphens.
On simulator the push notification doesn't work. You need a device.
Coming to provisioning profile, device id and device token both are 2 different hex characters. If you connect the device with the mac you can get the device id from xcode in organizer tab. This is device id which need to be added to the provisioning profile.
When you implement push notification and run that app on device you get the device token which is used as a communication with APNs and device.
Hope this help.
push notification service is not enabled by apple on simulator. u need to use a device. see apple guide about push notifcation. you will be told in detail about it
http://developer.apple.com/library/mac/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/ApplePushService/ApplePushService.html

App Name and name on device, on iTunes Connect

I rather stupidly removed an app on iTunes Connect, thinking I could re-create it with the same name.
No you can't do this!
So, when creating the app in iTunes Connect, on the first screen, can I call the app: "Xxxxxx for iPhone"
.. and this will be the name in the store (?). Then could I make the app just show up as Xxxxxx on the actual device when people install it?
Yes, if you type "XXXX for iPhone" in iTunes Connect, that is the name of your app that will show up in the App Store. While il Malvagio Dottor Prosciutto is mostly correct about not being able to use iPhone or iPad in your app name, Apple does allow you to use it if your app name ends with "for iPhone" or "for iPad". That is fine while "iPad Drawing" or anything of the likes is not good.
The name that appears under your app on the home screen of iOS devices is called the bundle display name. This does not have to be exactly the same as the iTunes Connect name, and you can set this up and change it when making your app (i.e. it is not linked to iTunes Connect, it is changeable). Apple requires it to be similar to the app name on iTunes Connect as obviously the users won't know what the app is if it has a different name.
First you can't use iPhone, iPad or any other copyright word in your app name: 99% they'll reject your app! (I say 99%, 'cause review process sometime ends with unpredictable results...). I mean in the name that Users will see both on App Store and on Springboard (They can be different).
The name in App Store is configured in iTunesConnect site, while the app name on device is taken from the bundle infos you set with XCode.

How to identify iPhone/iPad user's itunes account information?

I am working on a sync solution for my app, and I would like to be able to find out if the user who has just downloaded my app would like to sync the app's data with the same app but hosted on another device (e.g., installed on both an iPhone and an iPad), so I can prompt the user to set up syncing. Is there a way to either (a) get the user's iTunes account information (the email address or some other unique identifier), or (b) identify if the user's iTunes account has already installed the app on another device?
Theres absolutely no way to get user's iTunes account information; that would be a security issue. The devices themselves have a Unique Device ID which can be obtained using:
[[UIDevice currentDevice] uniqueidentifier];
If you implement UrbanAirships AirMail /Push feature, if the user opts to receive push messages from your app, you can view how many users are opt'd in, and if you set the device name property, but thats about it.
Also, to sync data between multiple devices and such, I would suggest Dropbox.