배포 인증서 / 개인 키가 설치되지 않았습니다.
Xcode 9.1을 사용하여 iOS 앱을 빌드 한 후 보관하고 베타 테스트를 위해 appStore에 업로드하고 싶습니다. 하지만 버튼을 클릭 Upload to the App Store...
하고 선택 하면 다음과 같은 문제가 발생합니다 Automatically manage signing
.
"내 이름"에는 iOS 배포 인증서가 하나 있지만 개인 키가 설치되어 있지 않습니다.
이 "개인 키가 설치되지 않은"이유를 모르겠지만 배포 인증서가 다른 컴퓨터 또는 다른 곳에서 생성되었을 수 있습니다. 어쨌든 :
누락 된 개인 키를 검색하고 설치하는 가장 간단한 방법은 무엇입니까? 일을하기 위해서.
당신은 할 수 있습니다 하나의 배포 인증서를. Apple에 알려진 공개 키와 일부 컴퓨터의 키 체인에있는 개인 키를 통합합니다. 이 배포 인증서가 다른 컴퓨터에서 생성 된 경우 개인 키는 해당 컴퓨터의 키 체인에 있습니다. 그리고이 배포 인증서는 그것 없이는 작동하지 않습니다.
그래서이 컴퓨터에서 배포 인증서를 사용하여, 당신이 찾아야 하는 컴퓨터를 열고 키 체인 접근은 찾아 그것을 얻을 그렇지 않으면를 개인 키, 메일을 내보내거나 이 컴퓨터,이 컴퓨터의 키 체인에 가져옵니다.
Xcode의 계정 환경 설정 창으로 이동하여 팀을 두 번 클릭하면 이에 대한 도움말을 제공하는 대화 상자가 표시됩니다. 배포 인증서가 표시되고 Not In Keychain이라고 표시되는 경우 해당 인증서를 control- 클릭하여 인증서를 생성 한 사람에게 이메일을 보내어 보내달라고 요청할 수있는 메뉴 항목을 얻을 수 있습니다. 해당 사용자는 동일한 가져 오기를 사용하여 인증서 내보내기를 선택하고 내 보낸 인증서를 이메일로 보낼 수 있습니다.
어느 쪽이든 개인 키 또는 내 보낸 인증서에 암호가 지정됩니다. 사용하려면 암호를 알아야합니다.
1 단계 :-xcode-> 제품-> 아카이브-> 인증서 관리 클릭
2 단계 :-iOS 배포 추가
"One Man"팀이 "Team"에 대한 너무 많은 정보를 읽지 않고이 문제를 빠르게 해결하기위한 답변입니다.
Step 1) Go to web browser, open your developer account. Go to Certificates, Identifiers & Profiles. Select Certificates / Production. You will see the certificate that was missing private key listed there. Click Revoke. And follow the instructions to remove this certificate. Step 2) That's it! go back to Xcode to Validate you app. It will now ask you to generate a new certificate. Now you happily uploading your apps.
EDIT: I thought that the other computer is dead so I'm fixing my answer:
You should export the certificate from the first computer with it's private key and import it in the new computer.
I prefer the iCloud way, backup to iCloud and get it in the new computer.
If you can't do it with some reason, you can revoke the certificate in Apple developers site, then let Xcode to create a new one for you, it'll also create a fresh new private key and store it in your Keychain, just be sure to back it up in your preferred way
Add a new Production Certificate here, then download the .cer file and double click it to add it to Keychain.
All will be fine now, don't forget to restart Xcode!!!
If you are using the certificate in a new computer or not. The easiest thing to do would be to revoke the previous certificate relating to the project. Then re-upload to the store. Xcode will generate a new one.
revoke all distribution certificate for developer.apple.com and the validate your app in Xcode there will be the option to create a new distribution certificate after you can export key for further use.
This work for me.
Just for anyone else who goes through this, the answers above are correct but it can still be a bit confusing especially if you have multiple certificates. These were the steps that I took:
1) First take note of the date in the actual distribution certificate that is missing it's private key. Then go to the keychain application on the other computer and type IOS in the search bar. It will show all of your IOS Developer and Distribution keys so you have to find the right one.
2) 각 IOS 배포 항목의 오른쪽 화살표를 클릭하여 인증서를 표시하고 올바른 날짜를 가진 항목을 찾은 다음 마우스 오른쪽 버튼을 클릭하고 내보내기를 선택하여 내보내십시오.
3) 그런 다음 새 컴퓨터의 키 체인으로 가져 오면 적어도 XCode 9.3을 사용하면 즉시 인식하고 오류를 수정하여 달성 한 결과를 업로드 할 수 있습니다.
참고 URL : https://stackoverflow.com/questions/47256780/distribution-certificate-private-key-not-installed
'programing tip' 카테고리의 다른 글
Pandas의 열 이름을 기반으로 여러 열 삭제 (0) | 2020.11.06 |
---|---|
필드가 업데이트 될 때 UITextField "값 변경됨"이 실행되지 않음 (0) | 2020.11.06 |
Android에서 EditText를 입력 한 후 키보드를 숨기는 방법은 무엇입니까? (0) | 2020.11.06 |
주소를 위도 / 경도로 변환하는 방법은 무엇입니까? (0) | 2020.11.05 |
Python object .__ repr __ (self)는 표현식이어야합니까? (0) | 2020.11.05 |