iOS Certificate Generation Error: Disc Quota Exceeded [closed] - ios

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 5 years ago.
Improve this question
I am trying to generate an iOS Development Certificate. After I select the .certSigningRequest file from my desktop and click on Generate, I get the following error:
Processing of multipart/form-data request failed. Disc quota exceeded
Why is this happening and how can I generate my certificate?

The problem is due to the Apple server and I, as user, am not able to do anything for solving it. From time to time, certificates can be generated, so keep trying. Unfortunately, the problem has not been solved by Apple yet, so this error appears quite frequently.

1.) Create your Apple developer account and join the iOS Developer Program. It will cost you $99/year and it allows you to test your apps on a device and distribute your apps in the app store. You can go here to register.
http://developer.apple.com/programs/ios/
2.) Now that you are registered the first thing we need to do is generate a Certificate Signing Request. We can do this in KeyChain Access on our mac. It’s in the Utilities folder under Applications.
3.) After you have opened up Keychain Access go to Preferences.
Go to the Certificates tab and make sure “Online Certificate Status Protocol (OCSP)” and “Certificate Revocation List (CRL)” are both set to Off.
Close the Preferences window and choose “Keychain Access -> Certificate Assistant -> Request a Certificate from a Certificate Authority”.
4.) Enter the “User Email Address” and “Common Name” that you submitted when you registered as an iOS developer. “CA Email Address” is not required.
Select “Saved to disk” and “Let me specify key pair information”.
Click continue.
5.) Specify a file name and a place to save the CSR. Here I’m just using the default name and saving it to the desktop.
6.) Select 2048 bits for the Key Size, and RSA for the Algorithm.
Click continue.
7.) The CSR has now been created and saved to your desktop.
You can now close Keychain Access.
8.) Now that we have the CSR created it’s time to submit it. We do this in the iOS Provisioning Portal at http://developer.apple.com/. You won’t be able to see or access the provisioning portal until you are registered as an iOS developer and logged in.
9.) After going to the provisioning portal select Certificates on the left side.
10.) If you don’t have the WWDR installed download it and install it. After you download it, just double click it and Keychain will install it for you. Then it should show up in the certificates category.
11.) After you have the WWDR certificate installed it’s time to request the main certificate. Click the “Request Certificate” button.
You’ll see a screen with instructions not unlike what you have ready here. How about that? Go to the bottom and click browse, then navigate to your CSR on your local machine.
After selecting your file click Open, then click Submit on the next screen.
12.) After hitting submit your request shows up in the Signing Requests section.
Because of the way our team is set up here at work I am then able to go and approve the request. This may be different with an individual account or a different team setup.
13.) After being approved, your certificate will show up under Current Development Certificates.
Click the download button to download it to your mac.
After it’s downloaded double click the file to install it in Keychain Access. Actually after double clicking, Keychain does all the work and it will just show up in your certificates.
14.) If you open Xcode and go to the Organizer window you should now see the new certificate there also.
To build with the new certificate you can either select the app under Targets.And do Get Info on it (command i).Or you can to Project > Edit Project Settings
Either way will open up the project info window and from there go to the Build tab and scroll down to the Code Signing section and select the new certificate for Code Signing Identity.
15.) That’s it. You now have your new certificate installed and selected, you can connect your device and click Build and Run.

Related

Distribution Managed Expiration?

Currently my Distribution Managed expires . Now the question that I have is do I need to revoked it and then create a new one? Im a bit confused because I cannot find that specific Certificate under the create a new certificates. So what do I need to do with it?. I already created a new Distribution certificate. But what know about the Distribution Managed one?. Also is there a way to automatically update or create a new certificate before its expires?
MY App is written in Flutter .
A little bit of information about certificates can be found here. The most important bit:
Development certificates belong to individuals. In your developer
account, the computer name is appended to the development certificate
name (for example, Gita Kumar (Work Mac) where Work Mac is the
computer name) so you can identify them.
...
Distribution certificates
belong to the team but only the Account Holder or Admin role can
create distribution certificates (if you’re enrolled as an individual,
you are the Account Holder).
Certificates can't be renewed (at least manually, afaik), you have to create a new one that is then used for new app updates from now on. Afaik, an expired distribution certificate won't prevent anyone from using your app, it just means that you can't export/release new versions.
Steps to create and import a new distribution certificate (check below for a possible faster way):
Close Xcode
Go to https://developer.apple.com, log in, click on "Account" (top right), then go to "Certificates, IDs & Profiles", which lists all your current certificates.
Click on the blue "+" next to the "Certificates" header.
On the next page pick "Apple Distribution" (for Xcode 11+) - "Next"
Now you have to upload a "Certificate Signing Request" (".certSigningRequest" file), more information and a screenshot can be found here:
Launch Keychain Access located in /Applications/Utilities.
Choose Keychain Access > Certificate Assistant > Request a Certificate from a Certificate Authority.
In the Certificate Assistant dialog, enter an email address in the User Email Address field.
In the Common Name field, enter a name for the key (for example, Gita Kumar Dev Key).
Leave the CA Email Address field empty.
Choose "Saved to disk,” then click Continue.
Click "Continue" and download the new certificate (".cer" file).
Double-click the file, this automatically opens the Keychain Access app and imports it.
Now you can open Xcode again. To check if the import was successfull, go to Xcode - Preferences - Accounts - Select the Apple ID on the left side, then click "Manage Certiciates" in the bottom right. You should now see a new "Apple Distribution" certificate with a creation date of today.
In the same window there's also a "+" button in the bottom left that gives you a list of new certificates you can create. This might be a faster way but I haven't tested it yet.
For an additional check archive your app as usual, then, while exporting (I use "Ad Hoc"), it should show the name and date of the certificate that was used on the very last page.
On the website you can now click on the expired certificate in the list (if it isn't already gone) and "Revoke" it (red button in top right).

iOS signing certificate issue

Anyone please help me to fix an issue on iOS signing identity issue. When i archive the product, I am getting the error"you have a valid distribution certificate in the member centre. but it is not installed locally"
I downloaded the certificate from the member centre and installed locally. But still I am getting the same issue.
I am able to solve the error by resetting the certificate from Xcode->preference->account->view details->signing identities->iOS distribution, all profiles associated with the certificate become inactive. Again, I need to activate all in the member centre and download from Xcode->preference->account->view details->provisioning profiles->download all.
But the above step causes the problem to other developers as the certificate is been revoked.
How to solve this issue without resetting the certificate from Xcode?
FYI: I am experiencing this issue in Xcode 7.3.
First make sure that you are using a Developer profile that is specific to you. If you have signed into an Apple Developer account (signed in through xcode's GUI) that is being shared by other team members then you will not be able to sign the code on your computer. Generating another p12 private key will cause the current p12 key assigned to that Developer profile to be revoked.
If you are sharing an account, go to Apple's Developer Center and add yourself as a team member. You will get an email to the address you add and then can follow the link to create an account. After you create your account generate a provisioning profile from the menu options and double click on the download once it completes.
Go back to Xcode and select the Xcode drop down menu. Choose Preferences from the list and highlight the profile you were using previously. Once its highlighted remove it by selecting the (-) option. Then click the (+) option and sign in to your new account. This should resolve your issue. Be sure to clean before building just in case.
If you are already using a distinct account that is only for you then you are receiving this error because you have changed machines and did not transfer the p12 key to your new device. You have two options now. First option is to use an external storage device or cloud service to transfer the p12 key to your new laptop. Second option is to generate a new p12 key from Apple's Developer portal. Double click on the download once it completes and it will be automatically added to Xcode.
Now return to Xcode. Choose Preferences from the list and highlight the profile you were using previously. Once its highlighted remove it by selecting the (-) option. Then click the (+) option and sign in to your new account. This should resolve your issue.
If you are still seeing this issue you can take these additional steps to purge old caches that could be causing the issue. Open the Keychain Access program on your Macbook. Find the any old certificates that do not have private keys associated with them. Certificates without private keys (p12) will not have a grey disclosure arrow next to them. Delete these and try again.

ERROR ITMS- 90035 invalid signature

I am trying to upload ipa on apple store but it’s giving me “ERROR ITMS- 90035 invalid signature” error.
I have followed below process.
The first step in setting up a distribution profile is to create a certificate signing request. You can do this on your Mac. Launch the Keychain Access.app that is stored in Applications/Utilities.
Then execute the following steps in yourKeychain Access application:
Select Preferences > Certificates and ensure that Online Certificates Status
Protocol (OSCP) and Certificate Revocation List (CRL) are set to Off.
Select Keychain Access > Certificate Assistant > Request a Certificate From a
Certificate Authority... and ensure that you do not have any of your certificates
highlighted, otherwise the Provisioning Portal will not accept your certificate request.
Enter your valid e-mail address in the User Email Address field. Ensure that the e-mail
address is the same as the one you used when you registered as an iOS Developer.
Enter your name in the Common Name field. Ensure that the name you enter is the
same as the one you used when you registered as an iOS Developer.
A CA Email Address is not required.
Select the Save to disk radio button and tick Let me specify key pair information,
if it is present.
Press Continue.
A dialog appears that allows you to specify where you would like the certificate signing
request to be stored.
Specify a location and select Save.
Press Continue.
The certificate is then generated and written to the file you specified under step 8.
After you have generated a certificate signing request, you need to submit your certificate for approval.
Log into the iOS Provisioning Portal that is accessible from:
https://developer.apple.com/account/ios/certificate/certificateList.action.
This link takes you directly to the Certificates, Identifiers & Profiles section of your iOs developer account. Select the "Production" tab and follow these steps:
Select the Add Certificate button.
Select "App Store and Ad Hoc" as type then press continue
On next screen press "Continue"
On next screen select "Choose File" and select the certificate you created in previous step and then press "Generate"
Remain on the same page as the one you were on when you submitted the certificate signing request, then follow these steps to download and install the certificate:
Download Generated certificate by clicking the "Download" button.
Double click the downloaded certificate to install (alternatively drag to the keychain utility)
It is important that you backup the keys you created. This allows you to develop on multiple Macs or reinstall the keys after unexpected data loss.
You can export your private keys and certificates through the Keychain Access application:
Open the application Keychain Access.app that is stored in Applications/Utilities.
Select Keys.
Highlight the private key associated with the distribution certificate.
Select File > Export Items.
A window opens that allows you to specify where you would like to save your certificate.
Select Personal Information Exchange (.p12) as file format.
Select the file name.
Select Save.
You are prompted for passwords that allow you to access the key in the future
This is the final stage and will create the distribution provisioning profile you need to use when building your iOS standalone.
Start by selecting the "Distribution" tab from "Provisioning Profiles"-
Select New Profile (+)
Select App Store as the Distribution Method.
Enter the Profile name.
Ensure that your Distribution Certificate has been created and is displayed correctly.
Select the appropriate App ID for your applicatoin
Select Generate.
Select the Download button from next to the Distribution Provisioning Profile you created.
This allows you to download the .mobileprovision file.
Double click the .mobileprovision install the Distribution Provisioning Profile on your computer.
This is the process I am using to generate ipa. Then I want to upload this ipa with application loader , But it’s giving me signing code error. Please see attached screenshot .
Please help.
enter image description here
There are several reason for such type of error comes.
First of all you need to refer this Troubleshooting Failed Signature Verification
After above guide, you need to check all steps which write in the images like .
1) Make sure you have signed your application with distribution certificate not adhoc or development certificate.
please check what certificate you have used? follow this link
How to tell what profile/signing certificate was used to sign .ipa?
or this link also helpful for you
Maintaining certificate
2) you need to check your codesigning portion(=>provisioning profile) that all certificate selected correctly or not and also check bundle identifier in plist.
Note:- you need to set it at both place -> project and -> target
and at last last check that in all process you have selected [IOS Device] in place of [Simulator]
to check full process please check Submitting an App to the iOS App Store (Xcode) this video.
I had emojis in some filenames in a React Native app. After removing emojis now everything works.

Uploading app to client account in app store

This is my first time trying to upload app to app store, so I am completely lost. I have searched all over the web about the issue I am having, but could not find how to fix the issue.
Here is the problem:
I have developed an updated version for the existing iPhone app for client. Original version of app is already in app store for long time. Client wants me to upload new version of the app to their account in app store as "prerelease" for testing. They gave me their store account (admin role) username and password to log in. I added the account in Xcode and configured build settings to their team. But, after building the archive, when I click the "Validate" button and select their team, I am getting an error popup with the message "Your account already has a valid iOS Distribution certificate". I can't post images here, so here is snapshot image of the popup):
http://imgur.com/yLL5K1k
Apple troubleshooting documentation (documentation link here) shows that they should export developer profile and give me to import on my Mac. However, client say they don't have Mac and no Xcode, so they can't do it themselves. Apple documentation is mentioning another option - “Revoke and Request”, but I can't see that option. Also, if "revoke" is performed, will that affect client's application (more than 20 apps in app store)?
I have downloaded all of their certificates and profiles from Member center, imported to keychain, added account to Xcode, configured Xcode, but nothing helped.
Does anyone know what can I do, or ask to client, so that I can upload app to their app store account?
Thank you!
You must have downloaded the Distribution certificate from the account. That alone is not sufficient. You must get the private key from the client or developer who has created the certificate first or uploaded the application.
Log in to developer.apple.com portal, using the required credentials.
Click on "Manage your certificates, App IDs, devices, and provisioning profiles." under Certificates, Identifiers & Profiles
Then click on "Certificates"
On the new page Click on "+" button at right upper corner.
Now on this page select "App Store and Ad Hoc" under Production.
Then follow the instructions related to CSR file given on new page.
Note: Create new certificates with unique names so that you won't download old certificates to your mac, mistakenly.
For more info Distributing iOS Apps With iTunes Connect

Problems getting a development certificate for iOS 5 [duplicate]

This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
iOS Developer Program - can't get a certificate
So I am trying to develop an iDevice application, and I can't seem to get a development certificate. I am running XCode 4.3.1 and Mac OS X 10.7.3 and iOS 5.1.
First, I've tried going to the iOS Provisioning Portal and using the "Development Provisioning Assistant." When I go through that (using both Chrome and Safari), when I upload the CSR (generated by going to Keychain Access => Certificate Assistant => Request a Certificate from a Certificate Authority and then enter my Apple ID email, name), it hangs with "We were unable to generate your Provisioning Profile. Please try again or visit the Provisioning section of the Provisioning Portal."
So, then I figured I'd try going to the iOS Provisioning Portal > Certificates > Development. I download the WWDR intermediate certificate and double click on it, which I think "installs" it. At least, it appears in my Keychain as "Apple Worldwide Developer Relations Certification Authority" Then I hit "Request Certificate" (and note that it directs me with "Important: Xcode is the preferred method for requesting and automatically installing this certificate. Before proceeding, read Tools Workflow Guide for iOS." -- this will be important later). I follow the directions, creating a CSR, which I then upload on that page. When I hit "Submit" I'm brought back to my Current Development Certificates, which excitingly, now reads "Pending Issuance." Lots of places on the rest of the internet say to just refresh the page and supposedly I should be done. Except when I refresh, it just says I don't have any valid development certificates and presents me with the first view, from which I can request a certificate.
So, what about that link to the iOS Application Development Workflows? When you check that out and start to read through it, it says that "If you are a team administrator or the team agent, provision your device for generic development. Xcode installs your development certificate in your keychain (if it’s not there already), and installs the team provisioning profile on your device." I don't have a team--I'm an individual--but when I go to XCode to provision the device, I go to the Organizer > LIBRARY > Provisioning Profiles > Refresh. Then, it asks me to sign in with my Apple ID, tells me "No iOS Development Certificate Found" and offers to "Submit Request" on my behalf! Hurray? Then I see it says "Submitting CSR . . . Waiting for CSR Approval" and it hangs there for awhile. . .then it says, "Certificate Requested :: A certificate request has been submitted on your behalf, but has not yet been approved. An Agent or Admin must approve this request before you can download your certificate." That's super cool, right?
Except there's nowhere I can go to approve that request, and if I go to my Certificate History I see a long, long history of Errors. Except they're not informative at all, because it just says Error.
So at this point, I've spent ~8h trying to fix this. I've tried provisioning an iPad, iPhone, resetting my keychain, setting up XCode on a separate account, and of course updating and upgrading all the software.
Let me know if I've left anything out.

Resources