Is there a way to update Apple AdHoc provision profile? - ios

I have recently created a new certificate for my own profile but there are already development and AdHoc provisioning profiles exist. So now I want to include my newly created certificate into those provision profiles.
In Apple Developer portal I could edit "Development Provision Profile" and tick my certificate to include it into that provision profile but I do not see such option for AdHoc profile.
So my question is, can I include my newly created certificate into the existing AdHoc profile?
Because currently when I try to manually sign my project I get this warning in Xcode:
Provisioning profile "match AdHoc com.example" doesn't include signing certificate
"Apple Development: My Name (some_code_here)".
and when I click on info button I get this:
Doesn't include signing certificate "Apple Development: My Name (some_code_here)"
Any idea how can I fix this?

Related

Provisioning profile "PROFILE_xxx" doesn't include signing certificate "iPhone Distribution: xxx Limited"

I have an enterprise account for deploying my app.
The Distribution certificate is going to expires so I created a new one for deploying new app.
BUT the profile with the old distribution gives the error as the title described.
Provisioning profile "PROFILE_0118" doesn't include signing certificate "iPhone Distribution: XXX Limited".
Not sure why this happens?
I have both certificate with private key in my keychain.
2)Xcode -> Settings -> Manage Certificates, both certificates are there.
Restart keychain and Xcode, no help.
4)Delete the new one the older profile works.
Why this happened? Is this affect my exist users with the older profile? Thanks!

Distribution Provision Profile doesn't include signing certificate iPhone Developer xxxx xxxx

I am trying to create a distribution profile. From scratch I deleted every certificate at KeyChain. I removed all provision profile using terminal method. I closed my Xcode. Then I followed this link to create the distribution certificate and profiles. I followed the step correctly and I got the following results. I keep getting "No signing certificate"IOS development found" Please help.
Edited
I then created the Development certificate following this link and now I get different certificates name for Development and Distribution. My error is Distribution Provision Profile doesn't include signing certificate iPhone Developer xxxx xxxx
Please help, thanks.
After creating the development profile
Why is my certificate different name for development and distribution, I followed the steps to create certificate. Why is it different name?
FOR DISTRIBUTION CERTIFICATES
On BuildSettings make sure you pick "IOS Distribution" instead of "IOS DEVELOPER" in the "Code Signing Identity" dropdown:
You have the certificate and provisioning profile for iOS Distribution. You are trying to do a build for development (building to a test device), which will require you to generate a certificate and profile for iOS Development. Follow the steps you did, but when you need to specificy what the certificate is for, choose iOS Development. Also, when you create the provisioning profile, select iOS Development. It is actually the next article on the site you were using: http://lessons.livecode.com/m/4069/l/308242-how-do-i-create-a-development-profile-for-ios
The iOS Distribution certificate / profile will be used when you want to submit to Apple for testing through TestFlight, or for distribution in the App Store, so don't worry about deleting those.
I had the same problem and I solved it just checking the configuration of certificates and provisioning.
Check if they are using correct provisioning profiles
And check if they are using the correct reference in code signing
That's what worked for me...

Creating developer provisioning profile but showing ineligible

By mistake I removed the existing developer provisioning profile. So I am trying to create a new developer provisioning profile but each time it is showing ineligible.
Role of my user in the team is agent. App id, adhoc, and distribution provisioning profiles are created under that team with my ID which is working fine. I downloaded all developer and distribution certificates also. But in my keychain I found private key missing for the developer certificate but present for distribution certificate.
At the time of creation of the developer provisioning profile I am selecting all the available signing certificate and all the device ids. In my Xcode project when I am trying to select the developer provisioning profile, which is showing ineligible, I am getting the error message:
"Provisioning profile 'dev_provisioning_profile' doesn't include signing certificate 'iPhone Developer:'. No certificate matching 'iPhone Developer: ' for team 'team_name'.
What should I do to create valid developer provisioning profile?
Finally solved the issue. Just writing the steps. Not so sure that these are the exact steps but worked for me, may be helpful to others-
Delete the developer certificate that does not have a private key.
Then first check then uncheck the Automatically manage signing option in the project settings with selecting team.
Select provisioning profile in the project settings.
Delete the provisioning profile from machine.
Sign in developer account and edit the provisioning profile selecting all available developer certificates
Download the provisioning profile and add to XCODE.
By following these steps the provisioning profile becomes eligible and working fine.
You should delete the developer certificate that does not have a private key especially if there are multiple instances with the same identity. Also an easy way to solve this may be to uncheck then check the Automatically manage signing option in the project settings.

Expired provisioning profile

I have an expired provisioning profile which is managed by XCode. I tried to edit the provisioning profile through Apple Developer website, however the edit button is disabled for provisioning profile managed by XCode. Then I deleted the provisioning profile. However, XCode is not generating a new provisioning profile for me. I am using XCode 7.3.
I manually created a provisioning profile through the website, but I got the error:
No matching provisioning profile found: Your build settings specify a
provisioning profile with the UUID “xxxxx”,
however, no such provisioning profile was found.
I think you need to install "AppleWWDRCA.cer" on your Mac.You can download this from following link http://developer.apple.com/certificationauthority/AppleWWDRCA.cer

Xcode - Imposible generate for iOS App Store Deployment

As title is pointing, I'm able to generate and IPA for ad hoc deployment but when I try to do the same for App store the error "You already have an iOS Distribution Valid certificate"
I'm using the same provisioning profile and I have already check if provisioning profile is using the valid certificate and it does.
I had a provisioning profile to adhoc, but what I need was generate another provisioning profile for distribution.
So I have finally 3 provisioning profile:
Development Provisioning profile
Adhoc Provisioning profile
Distribution Provisioning profile

Resources