제목은 거창하지만 답답할 사람들을 위해서 적어 본다.


음...실제 iOS 앱을 마켓 배포한지가 꽤 되어서 오랫만에 마켓 배포를 하려다 보니 좀 이상한 에러 메시지가 보인다. 


이상하게 배포 인증서도 정상 발급한 상태이고, 프로비저닝 프로파일도 제대로 발급한 상태인데도 불구하고 프로비저닝 프로파일이 매칭이 안된다니?


No matching provisioning profile found


일단 여행이 시작된다.


CSR과 배포용 인증서를 새로 발급하고, 프로비저닝 프로파일도 새로 생성하고 실행해 보았다. -> 동일 증상

Xcode를 종료하고 다시 2~3 차례 실행해보았다. -> 동일 증상

키체인 앱을 실행하여 기존 인증서와 키를 삭제하고 다시 다운로드 후 실행해보았다. -> 동일 증상




일단 Xcode > Preferences > Accounts 에서 기존 파일들을 모두 삭제한 뒤 개발자 사이트 접속해서 새로 관련 파일들을 받아서 실행해 보았다.


Archiving은 된다. 오거나이저에서 새로운 바이너리가 등록되면서 일단 아카이빙에는 성공했다.

문제는 이 바이너리의 유효성 체크를 위해서 Validate를 진행하면 다음과 같은 에러메시지가 뜬다.


Missing ios distribution signing identity


이게 뭔 소린가?


해답은 다음과 같다.


From Apple - 

Thanks for bringing this to the attention of the community and apologies for the issues you’ve been having. This issue stems from having a copy of the expired WWDR Intermediate certificate in both your System and Login keychains. To resolve the issue, you should first download and install the new WWDR intermediate certificate (by double-clicking on the file). Next, in the Keychain Access application, select the System keychain. Make sure to select “Show Expired Certificates” in the View menu and then delete the expired version of the Apple Worldwide Developer Relations Certificate Authority Intermediate certificate (expired on February 14, 2016). Your certificates should now appear as valid in Keychain Access and be available to Xcode for submissions to the App Store.


애플의 인증서 이슈였던 것.

일단 애플의 답변대로 위의 링크에서 새로 받은 것을 설치한 뒤, 키체인 관리에서 시스템 키체인 항목에서 만료된 인증서 보기를 선택 후 해당 인증서 삭제한다.

Xcode 재실행해서 아카이빙한 뒤 오거나이저를 통해서 마켓에 올리면 된다.


혹시나 안된다면 맥을 한 번 더 리부팅한 뒤 Xcode를 재실행해보자!


아래는 해당 내용을 찾은 원문...


http://stackoverflow.com/questions/32821189/xcode-7-error-missing-ios-distribution-signing-identity-for



게으른 내가 2~3시간 헛손질하다가 함 써본다. 킁!


+ Recent posts