Creating a provisioning profile for a device id - iphone

I have been given an iPhone device ID and asked to create a provisioning profile (or something where he could run it on his device) for that device ID so he could run it on his device.
How can I do this? This might sound duplicate for some, but I am really lost. Can someone point me to a tutorial or provide me steps to solve this ?

You should have access to some Apple Developer Program (iOS Developer Program in your case). And after successful login to this Program on the developer.apple.com you can see something like this:
Enter into iOS Provisioning Portal and select Provisioning section. You can find there How To area which fully describes this procedure.

This
article will provide complete tutorial to create developer and distribution provisioning profile with specific device UDID's

research testflightapp.com (for distributing after cert creation) but really you will need to create the cert on the apple dev site. so go to the dev site, login, go to ios provisioning and walk through the steps to create your certs.

Related

The executable was signed with invalid entitlements

This is the first time trying to test an app I created with LiveCode on an iPad.
I made sure that the IOS Provisioning Portal had the following set up as ad hoc:
certificates in Development and Distribution.
Ipad is registered
Apple ID is set up
provisioning in Development and Distribution.
When I try to get the app into Xcode the following error is displayed:
The executable was signed with invalid entitlements.
How do I get all of this into xCode so my LiveCode app can be tested in the iPad?
Probably, you used a distribution profile instead of a developer's profile.
The creation of the developer certificate and provision profiles are described step by step on Apple's website. I strongly recommend that you take your time to read these steps and to make sure that you follow each step correctly.
Apple's provision portal also has an assistant that helps you to create a developer's provision profile. You need to use this developer's provision profile instead of an ad-hoc prodile if you want to install your app through XCode on your own device(s).
You can use the devloper's profile in LiveCode's Standalone Application Settings window.
This is a ENTITLEMENTS error, not a code sign issue. Entitlements have to do with iCloud. In Xcode 4 this was done on the Summary page at the bottom. In Xcode 5 it is on a new page called capabilities at the top. It will be lit up with a FIX this Issue Flag. Simply select your Devel profile and you're good to go. It does require an AppID set-up with iCloud Checked. If you're not using iCloud simple delete whatever is in the Entitlements field in the build Settings.
Although I see the "read the doc" answers often. a.) Most of us do try to read the doc and b.) It rarely contains and useful granular detail needed to code or troubleshoot anything. Cheers
Entitlements are also used with the Game Center, Passbook, In-App Purchases and Maps. All are setup in the Target Tab called Capabilities.

How to test app on Ipod Touch from xcode 4.3.1?

I am very new to iOS development. I am developing an app, currently i am testing it on emulator. Now i need to test the app on ipod touch. I have tried to test but it says
The identity 'iPhone Developer' doesn't match any valid, non-expired certificate/private key pair in the default keychain
*I am looking for steps or any posts.*Much appreciated.
I got Apple developer License .
Thanks for your help guys.
you have to jump through a big hoop :) Code Signing
You'll need to get a developer certificate.
Go to applications / utilities and run Keychain Access.
Request a Certificate From a CA
Follow those instruction.
This certifies you.
Next, certify your device.
login to your developer account.
Go to the Provisioning portal (link from main dev. page)
Left side > Devices (you can get the UUID from iTunes or from Xcode organizer).
Add your device. Download the device certificate. Double click it to add it to Xcode.
Certify your App.
Same page in the Provisioning Portal.
Get new app id.
Then go to Provisioning.
Repeat the certificate process to get a developer distribution certificate for your app.
Download these, and see how things look in Xcode Organizer.
Finally, in the main code page of the app itself:
see if you can set the code signing to your developer certificate.
You will know when this is all set, as when you look at Xcode schemes, you should see you iPod listed.
You'll probably get stuck at various points in this process. I did. You might want to ask (or look for) a specific question, whether it's the AppID, the Developer Cert, or code signing.
There are some videos on the Apple site, but they are using an older version of Xcode..
Hope this helps.

Release an ios application?

I've an iOS project developed by someone else, now I have to update it and build a release for client so that they test it.
I've updated it and while archive it in release mode, get error-
The identity 'iPhone Developer: XYZ' doesn't match any valid, non-expired certificate/private key pair in the default keychain
I am new to iOS. I have some idea that I have to change developer id or something similar in certificate. But do not know how. Can anyone help me to fix this issue?
Thanks.
You need to have Apple development certificate and .p12 file of that account of which that provisioning profile exists.
If you don't have, you need to create it from keychain, by requesting a certificate from authorised authority->generate csr and submit in you developer account.
hope it helps you........
You need to do an "Ad Hoc" distribution.
Build your App for "Release".
Go to the "Organizer" and select the Archive.
Select your build in the Archive.
Use the "Distribute" button and select the middle radio button. "Save for Enterprise or Ad Hoc Distribution".
That will produce a .ipa and ask you where you want to save it. You can put that on your desktop and distribute it.
In order to build an Ad Hoc Build, you have to get yourself an "Ad Hoc Distribution" certificate. You do that in the Apple iPhone Developer site in the provisioning portal area, located here:
iOS Provisioning Portal
You will also need to authorize the devices you want run test versions on in the same way you authorized your own devices for development.
If you have to run the App on many test devices and the testers are not technical. I suggest you take a look at a pretty good service online called "TestFlightApp".
You don't have a valid keychain item for the developer certificate, is what the error is telling you. It's a case of creating one and installing it.
But for delivering a test build - you need to create an adhoc distribution, using a distribution certificate that has the test device's udid included.
In either case - and for further troubleshooting - Apple have a handy Technical Note for dealing with these kinds of issues and how to solve them.
If you go to your project in Build Settings -> Code Signing -> Code Signing Identity, you can change the signing certificate to your own.

Certificates and provisioning profiles

I am looking for a more thorough guide on what the different steps of code signing an application. I have read the guide which is available in the provisioning portal, but I do not grasp the concept of certificates and provisioning profiles and the difference between developer and distribution.
In XCode there are also different schemes (using XCode 4). I do not understand the purpose of it. I have successfully uploaded an application to AppStore so I do not need a guide on how to do it. What I am searching for is links to a more detailed "text" where I can read about this, or if anyone wants to explain it for me it will be much appreciated. Thank you!
Everything is easy - certificate is that thing that allows you to produce digital signature over data, binding your developer identity to your application (i.e. ensuring 'developer John' created this application).
Provisioning profile binds developer to devices - i.e. it claims 'Developer John can upload apps to device iPhone1,iPhone2,iPhone3'.

Is it possible to Test iPhone Application on Actual Device rather than Simulator?

I wants to test my own application to my actual iPhone Device rather then simulator.
So, is there any chance to do so with ?
I have an apple developer account.. But don't know the procedure, Please help me if u have any solutions..
Thanks in advance...
Log in to http://developer.apple.com/iphone/ with your developer id and password.
Then:
http://developer.apple.com/iphone/manage/team/index.action and set up your team.
http://developer.apple.com/iphone/manage/certificates/team/index.action to create your certificate
Download the certificate you just created and double click on it to run Keychain Access and install it.
http://developer.apple.com/iphone/manage/devices/index.action to enter your iPhone's id
http://developer.apple.com/iphone/manage/bundles/index.action create an appID
http://developer.apple.com/iphone/manage/provisioningprofiles/index.action to download a provisioning profile
Drop that provisioning profile onto Xcode
Go into your project's info.plist and change your Bundle identifier to be the same as you used for the provisioning profile, minus everything up to the first "."
Go into your project's Build Info, and select the appropriate Code Signing Profile
I think now you're ready to go. Select an iPhone Device from the pop-up menu in your main project browser window, plug your iPhone in and let Xcode see it, and then Build and Run.
You can, but as iPhone applications need to be signed - you need to be a paid developer. It is then a case of logging into the portal, assigning a test device, application settings and then downloading a provisioning certificate.
The procedure is cumbersome, however it is very well documented.
You need to create your Developer Certificate and a Certificate for your software projects.
Go to http://developer.apple.com/iphone/, log in and click iPhone Developer Program Portal on the right side. You will find a "launch Assistant" there that will guide you through the next steps. It's pretty easy.
You have to join the iPhone Developer Program, which is $99 for the Standard Program, $299 for the Enterprise Program.