Delivering IPA for testing purpose - ios

My Client is demanding IPA file of the app. And they have provided me with development provisioning profile only. They dont want me to use my own developer account. What else i need to generate IPA? Please help me out generating that.
Thanks

Alongwith the provisioning profile, you'll need the .p12 of the developer account certificate that it was created for.
So... they'll need to export their developer account certificate's private key as a .p12 file.
This can be done via Keychain Access and they can opt to have any or no password while exporting it.
Then, you will need to import this p12 into your own Keychain Access.
That's it.
Finally, go to your app's build settings and specify the Code Signing Identity that will basically be whatever the p12 you imported and the Provisioning Profile that they provided.
Archive and export
:)

They will have to export their Distribution certificate and also send you the Distribution Provisioning profile.
Here is an example how to export the distribution certificate
You'll install the certificate and provisioning profile provided by your client and sign the ipa file with it.

Related

What is the purpose of a distribution certificate in ios

Im a web tester but recently i was assigned to mobile testing. The ios devs gave me two files, a .p12 file and a provisioning profile file. My question is what is the purpose of the .p12 file? When I go to xcode, they only ask me to input the provisioning profile in the signing field (but I added the .p12 file to my keychain as I was told). So my question is, what was the purpose of that .p12 file and why do I need to have it installed into my keychain when in Xcode it only asked me for the provisioning profile and I can now build the app and test it?
The .p12 file is the encrypted certificate used to generate the provisioning profile. This ensures that you are allowed to use the provisioning profile, and the provisioning profile is how the system knows what users are or are not allowed to run your app (or in the case of distribution, who's allowed to distribute the app).
More info on all this here: https://support.magplus.com/hc/en-us/articles/203808748-iOS-Creating-a-Distribution-Certificate-and-p12-File

how to fix importing certificate issue

That the error xcode appear:
Your build settings specify a provisioning profile with the UUID “some_number”, however, no such provisioning profile was found.
I had already tried that solution:
Xcode 7.2 no matching provisioning profiles found
I'm trying to upload an App from a not mine account.
I've imported the profile to Xcode.
He send me the .mobileprovision for distribution.
But when I try to archive I get the above error.
How could I fix it?
All provisioning profile are signed with a Key/Certificate Pair.
You can ask the owner of the account to export the Certificate with it's key in a P12 format using Keychain Access and then import it to your machine.
Other solution is to generate a Certificate for your use within the account where the App is registered.

iOS: sign app for inhouse distribution with a customers provisoning profile

i'm having some troubles to code sign an app for in-house distribution. The customer got an iOS Enterprise Developer Account and set up a provisioning profile. However i don't know how to sign the app and if there are any prerequisites that have to be met.
Currently during the development the app is signed with via a profile of my company (the team my Apple-ID is in). Testing devices are added via UDID to this profile. The next step would be to use the customers Provisioning Profile and Certificate to build the app for in-house distribution. I have the respective files but somehow i'm stuck. When i try to bring the certificate or provisioning profile in i'm getting code signing errors.
Can anyone help me with the steps i have to take?
If that provisioning profile crated by there system (Client Mac) and you want to use this provisioning in to you system you just need to its system cer.p12 file and double click on it that instal in to you key-chain. Than you can use its provisioning from you system. No need to other stuff.
just tel the client for sending its cer .p12 file like Go to keyChain and select cer that appear in to there system keychain.
Just right click on that particular cer that pop-up appear like bellow screenshot:
select Export Option and save. now Just you need this .p12 file in to you system.
You have to use the enterprise account to generate p12, and then use p12 to generate the description file, so that you can sign the app.If you really don't understand.i can help you with the steps you have to take. Give me your email.
I will send you a software, I think this can help you

iOS ad hoc distribution with .p12 from customer

I have an app developed and working with our company's profile and distribution cert. I just recieved the .p12 from the company that we are going to be distributing to, and am trying to rebuild the app with their certificate. However, when I select 'Archive' I receive
"No unexpired provisioning profiles found that contain any of the keychains signing certificates"
I believe I'm missing something here, but google and I can't figure it out. Do I need a new profile with that certificate in it? If so how do I go about uploading the .p12?
Thankyou very much.
With the p12 you are enabling your computer to make releases for the outside company but what you need right now is the provisioning profile associated with that app (it will be specific if you have in app purchases or push notification otherwise it will be the default developer profile) and that .p12
Check out your keychain, distribution certificate has key. If not then install right certificate.

Profile doesn't match any valid certificate/private-key pair in the default keychain

I am developing an application for a company, they gave me the admin role so I can edit provisioning files. I am getting "Valid signing identity not found for distribution file" and "Profile doesn't match any valid certificate/private-key pair in the default keychain" error on XCode, normally I would revoke the distribution profile by creating a key chain from my mac, but the company have other applications and I can not risk revoking it because clicking revoke gives the following warning.
"Revoking this certificate may invalidate one or more Provisioning Profiles in the Program Portal. Provisioning Profiles already installed on devices will continue to run until the provisioning profile expires."
Is there a way to add a new key pair without revoking the distribution certificate, would revoking the current certificate effect other applications or are there any other solutions to this problem?
You need the private key associated with the distribution certificate.
Request the person who created the distribution certificate for the company for the private key associated with the distribution certificate. Get him to export the private key from his keychain! Ask him to remember to select both the distribution certificate and private key together before right clicking and exporting it as .p12 Select both the distribution certificate and private key together before right clicking and exporting it as .p12
Once you open the .p12 it should pair up with the distribution certificate (the .cer file you should already have in your keychain). Your provisioning profile should work fine then!
Let me know if it works!
I came across the same issue and for some bizarre reason the method clearwater82 suggested didn't work.
But I found out this documentation on apple developer site. Might be helpful for someone else. It's just two simple steps.
FIRST STEP : Exporting Your Code Signing Assets to Your File System
SECOND STEP : Importing Your Code Signing Assets from Your File System
Hope this helps someone!

Resources