[Xcode Archive Error] Invalid Provisioning Profile Signature. (프로비저닝 서명 인증서 만료)

Minji Kim·2022년 4월 13일

에러

목록 보기
1/5

얼마 전까지만 해도 잘만 되던 Archive가 갑자기 안된다. 에러는 다음과 같았다.

Invalid Provisioning Profile Signature. The provisioning profile included in the bundle 'com.alswl.Modakyi' (Payload/Modakyi.app) cannot be used to submit apps to the iOS App Store until it has a valid signature from Apple. (Expired profile signing certificate.) For more information, visit the iOS Developer Portal. With error code STATE_ERROR.VALIDATION_ERROR.90165 for id cba74a4f-90d0-47bf-bfd6-871f8c600285
잘못된 프로비저닝 프로필 서명입니다. 번들 'com.alswl.Modakyi'(Payload/Modakyi.app)에 포함된 프로비저닝 프로필은 Apple의 유효한 서명이 있을 때까지 iOS App Store에 앱을 제출하는 데 사용할 수 없습니다. (프로파일 서명 인증서가 만료되었습니다.) 자세한 내용은 iOS 개발자 포털을 참조하세요. ID 64c76bc9-d00b-4738-9e45-195866436c75에 대한 오류 코드 STATE_ERROR.VALIDATION_ERROR.90165 포함

프로파일 서명 인증서가 만료되었다길래 확인해 보니 멀쩡하다..

혹시나 해서 Apple Developer Account로 가서 만료된 인증서가 있는지 확인해 봤는데 없었다. Profile에도 없었다..

프로비저닝 인증서 관련해서 구글링도 해보고, 원래 있던 인증서도 갱신하고 별짓을 다해도 계속 에러가 난다..ㅠㅜ 그런데 Developer Forums에서 여러 사람들에게도 이 에러가 갑자기 나타났다고 한다.
https://developer.apple.com/forums/thread/703995

위 링크에서 Xcode에서 새로 배포 인증서를 발급받으면 된다는 글을 봤고, 다른 사람들도 해결됐다고 한다!

해결책

당장 Xcode로 가서 Preferences -> Accounts -> Apple ID -> Manage Certificates -> + -> Apple Distribution로 새로운 배포 인증서를 발급받았고, 다시 Archive 해보니 된다.. 8번 만에!!!!!.. (이때 속으로 엉엉 울었..)

2시간 넘짓 붙잡아도 안됐는데.. 배포 인증서 문제였다니.. 해결해서 정말 다행이다.😮‍💨 Xcode 업그레이드로 인한 문제인 건지 원인은 아직까지 잘 모르겠다.

profile
iOS Developer

1개의 댓글

comment-user-thumbnail
2023년 6월 19일

같은 문제를 겪고 있는데요. 인증서 재발급, 무한업 로드, 무한 클린을 해봐도 동일하네요. xcode 업데이트가 원래 안되었던 상태였을까요?

답글 달기