Where does an APN profile get saved in your iphone? - iphone

I'm wanting to view an existing profile that I have already installed on my iphone. I wanted to know where and how can i view the details?
Thanks

There is no such term as APN profile. There is provision profiles and there is APN certificates that embedded into provisioning profiles. You can check list of all provisioning profiles in Settings -> General -> Profiles. You will be able to get a minimal information about required provisioning profiles such as when it received and expires. You will also be able to remove it if you want. They do not provide any specific information related to APN through this UI.

In device , you can see it in
Settings->General->Profiles
In development system, You can see it in Keychain
Open the Finder->Applications->Keychain
In key chain you can use search option and use the searching string as "iphone".
You can see the installed provisioning profiles under Xcode->window->Organizer->Devices

Related

Can't Access Certificates, Identifiers & profiles within developer.apple.com

Im trying to follow the following None of the valid provisioning profiles include the devices as I'm trying to run an application on my iPhone 5 and getting the error "No matching provisioning profiles found". which is odd as it runs on my iPhone 6 fine...
when i log into developer.apple.com and click on 'Certificates, IDs & Profiles' it takes me to 'https://developer.apple.com/account/#/welcome' where it doesn't give me any option to add a device as all i can see is:
Is there another way of fixing the error?
Any help would be appreciated.
Note : As per the new rules (2019)
After a long research & contacting to the Apple team its getting more cleared Now.
Lots of developers thinking earlier when we were giving Admin access of the Developer account, We were able to access the Certificates & Provisioning Profiles. Why this option is disabled now ?
So here is the new Rules defined by Apple :
As per new rules if you have Individual Account than you would not be able to provide the Access of Certificates & Provisioning Profiles to the other Users.
Even if you are giving Admin access to any user they will not be able to access the Certificates & Provisioning Profiles.
If you have taken Enterprise account, than the option will be open for you to give access of certificates & Provisioning profiles to the other developers.
New Edition :
Suppose if you have a Individual Account & still you want your developer to access the Certificates & Provisioning Profiles ? Than you can contact the Apple Support team & send request for the same. If they will look the request suitable than they will help to give your Developer access of the Certificates & Provisioning Profile.
Hope this clear all doubts & helps to everyone.
If you have paid Apple Developer program and lost access to certificates, ID & profile, your admin or account owner can go to developer portal, under Peoples option tap on the specific user and check mark Access to Certificates, Identifiers & Profiles under Developer resources. See below.
Being a registered Apple developer gives you access to a lot of information, but to be able to send apps to the App Store (and Create and manage certificates) you need to enroll in Appleā€™s iOS developer program. This is the part that will cost you US$99 per year.
For more info go to this link
But you can able to run on any device With Xcode 7 you are no longer required to have a developer account in order to test your apps on your device
check here...
This is because you are not yet enrolled as apple developer.
Just you need to enrol as apple developer for personal or organisation.
Step 1: Go to this link Apple Developer Console
Step 2: Login with your apple id, if don't have create new one then login.
Step 3: Press the enroll button present in the top-right corner.
Step 4: Read the and agree the terms to proceed.
Step 5: Select the one from which you want to enroll either personal or organisation.
Step 6: Then select your payment option, then pay.
Step 7: Finally now you are a developer after completing all the steps, now you can find certificates tab in your account page.
You need to enroll in the apple developer program if you or your organization hasn't already: https://developer.apple.com/programs/enroll/

Is There A Way for Non-Devs To Release iPhone Apps?

I'm sorting through the various Apple docs, but haven't seen it yet.
Here's the deal: I've created a series of apps that are for a service for NPOs. These are hugely popular (albeit in a very small pond), and I have been asked to make customized versions for some of these organizations.
It's a FOSS app, but these outfits can't get iOS programmers to build and release the apps. They are willing to set up App Store accounts, but don't have the geeks on hand.
Due to the way the organization manages its IP, I am not allowed to release branded apps under my app store account. They need to release under theirs.
I don't want to set up an enterprise account for this. I haven't read up on that, but I'll bet that it would not be practical, anyway.
Is there a reasonable way for folks to take apps built on one account, and apply a new provisioning profile, and release it via another account?
Yes a company can take any developer app, sign it with their own certificates, and submit it using their own iOS enrolled team leader ADC account. They can even hire a contractor or temporary employee and legally authorize them to do this work for them.
If you do this type of subcontracting, you might want to get authorization in writing from the CEO, COO or chief legal consul of the company to do so.
you can use a different provisioning profile and deliver the app to the other guys. You can have multiple profiles in your X-Code and select with which one you want to sign the app when you create the archive.
You can either do this yourself by getting access to your client's app store signing certificates, or you can get your clients to use their codesign tool - details on the latter technique can be found on google - here is one example.
Enterprise accounts don't let you release on the App Store.
A typical way of handling this is for them to set up an account and give you the details for the team agent to log in. You then generate a key pair and a certificate signing request in Keychain Access. You log in as the team agent and use the certificate signing request to get a distribution certificate, which you then download and open - this will install into the keychain. Export the key pair and supply this to them so that they aren't screwed if you get hit by a bus or something.
From that point on, it's all stuff you should be used to. Xcode knows which private key to sign the build with because it matches the provisioning profile. It knows which provisioning profile to use because the app ID in the profile matches the app ID in the Info.plist file. Beta testing with ad hoc builds is the same as normal, except you register the UDIDs after logging into their account, not yours. Archives are not tied to your account.
When you submit the app through Xcode, you'll have to supply the team agent login details again. The submission will show up under their developer account, not yours.
Technically speaking, I think it breaks their developer agreement with Apple for them to supply a third-party (you) with their login details. However I don't believe it's possible to delegate all of the privileges necessary to submit an app to anybody other than the team agent, and the parts that can't be delegated aren't easy to explain to a non-technical person. You can script some of it to make it easier, but it's easy for them to get into a mess, so it's usually best if they let you handle it all.

Cannot find Apple's step by step guide for setting up the provision profiles?

When I set up my provision profiles for my old computer Apple had a step by step guide on the provision portal. I do not see it there. There are how to's but not a step by step guide and nothing for setting up a distribution profile.
Does this document still exist? Are there any other step by step guides?
First question is do you have a distribution certificate installed on your machine? If the answer is YES move on to App ID section below
Distribution Certificate
If the answer to the above question is no, and you have no backup of your existing certificate, you will need to revoke the existing one in the iOS provisioning section at http://developer.apple.com and then click on "Request certificate"
Open keychain, request certificate from certificate authority, enter your name and email. Save it to disk.
Back to provisioning portal, click select file and choose the file you just saved. Give it a few seconds, refresh the screen and download the distribution certificate. Double click it to install it on Xcode.
At this point you should have a valid distribution certificate.
App ID
If you are creating an ad hoc distribution profile, you can create a wildcard app ID here. Enter any name you like and * for the build ID. This means you can use the same app ID for any adhocs build you create.
If it's for the app store, you need to name the bundle and this will need to match whatever you have setup on Xcode.
Distribution provisioning
Click provisioning then distribution, new profile. Choose if it is for App Store or Ad Hoc (see points above re: App ID), give the profile a name and in case of ad hoc ones, selected which devices you want to grant access to this distribution.
Once done, click submit, wait a few seconds and refresh the screen. Click download and double click to install the dist certificate on Xcode.
At this point you should have a valid distribution provisioning profila that matches your distribution certificate.
Go to Xcode, select your project, choose build settings and assign the distribution profile to your chosen configuration (usually release if for app store).
This was all off the top of my head so I may have missed a step or two, but hopefully you get the gist. If not feel free to ask any questions.
If I remember correctly, you go to where you would create a provisioning profile, and there is a "How to" tab.

certificate for provisioning profile not added to keychain access

I got a new Macbook Pro and I made a provisioning profile for my new app,
which I added to Organizer, and then downloaded the certificate.
However, the .cer file does not seem to get added to keychain access's login key,
which results in not being able to choose the provisioning profile on xcode...
What could've gone wrong?
I assume that you created the certificate using your old Mac.
In that case, the private key is still stored on your old machine. It was automatically created when you created the CSR which was used to make your current certificate and never sent to Apple. The .cer you download only contains the public key.
You need both for signing purposes.
To solve this problem, either import your private key from your old mac or create a new developer certificate (follow the steps outlined in the provisioning portal of creating and submitting a csr). Be aware that the second option will invalidate your old certificate as only one certificate is allowed per developer.
I think the previous answer solve your problem, but now I face same problem and the solution was different.
So, I want to share it if some one else need to it.
I do these steps:
1. download provision profile.
2. open Xcode>preferences>accounts.
3. I didn't add an account! So, I add my account in Apple developer program.
4. click "view details".
5. double click on provisioning profile and it will appear under "Provisioning Profiles".
Now, you can build your App ..

ios Provisioning for Development - Invalid Private-Key/ Certificate Pair

See update below.
This is driving me mad. I have followed all the instructions and also deleted everything and restarted multiple times but I still keep getting the message above.
I am wondering whether part of the problem is that I have switched from my previous Individual Developer Programme to my new Company One. I have read that I should use the Company Name in the Common Name field but that has not helped. It still creates a certificate with my name, not the Company Name.
I can see that I have a private key against my certificate.
I have tried with the provisioning assistant and manually, but to no avail.
Any ideas warmly welcomed.
Chris.
Update:
#Bastian - thanks - this is just for Development on my new Company Developer Programme. Once this is working, I'll then need to do similar for Ad hoc distribution. I have had both Development and Ad Hoc Distribution working on my personal Developer Programme working for some time.
I have deleted the certs and profile and followed your steps, but I still get the same error.
Within Keychain Access, under My Certificates, it looks like this...
....\/ [] iPhone Developer: Chris XXXX (xxxxxxxxx)........certificate
........P Chris XXXX........................................................private key
and under Keys, it looks like this...
..........P Chris XXXX........public key
....\/....P Chris XXXX........private key
............[] iPhone Developer: Chris XXXX (xxxxxxxxx)........certificate
the name you enter when creating the key is completely irrelevant. It's just for you to identify the key in your keychain.
What type of provisioning profile is you problem? development or distribution?
You should do in the following order:
create a certificate request
upload the request
--- in a company account the team leader has now to confirm your request
download the signed key
after that you should have a public/private key pair in your keychain which matches the one in the developer account.
now the team leader has to add you to the provisioning profiles of the apps in the account
after you have beed added you have to download the provisioning profiles from the developer site
now you should have a working key with working profiles.
It turns out I was simply dragging the provisioning profile to the device within xCode organiser, not the library. Simple once I realised. Hopefully, this will help someone else.