-
반응형
여러명의 팀에서 작업하다보면 Certification이 꼬이는 경우가 있다.
일단 가장 중요한 것은 모든 팀원이 fastlane을 이용해서 인증서를 관리해야 한다는 점이다. Dev Portal 에서 revoke 하고 새로 발급받기 시작하면 certificate용 레포지토리와 연동이 안되고 그때부터 인증서 전쟁이 시작됨.
에러메세지
Certificate 'XXXXXXXXX' (stored in your storage) is not available on the Developer Portal[13:09:21]: for the user aaa@gmail.com[13:09:21]: Make sure to use the same user and team every time you run 'match' for this[13:09:21]: Git repository. This might be caused by revoking the certificate on the Dev Portal이런식으로 나오면 certs/distribution 혹은 certs/development (문제가 되는부분) 의 .cer, .p12 파일을 삭제하고 다시 match를 실행하면 별일 없으면 해결이 될 것이다.
그렇지만 다음과 같은 에러가 나온다면 어쩔수 없이 nuke를 하는 수 밖에 없다.
Could not create another Distribution certificate, reached the maximum number of available Distribution certificates.
실제로 Dev Portal에 가보니 Distribution cert가 3개나 생성되어 있었다.
Development는 문제가 없었기 때문에 Distribution만 nuke해 주었고, 다시 잘 쓸 수 있었다.
$ fastlane match nuke distribution$ fastlane match appstore$ fastalne match adhoc참고: sarunw.com/posts/how-to-renew-expired-certificate-with-fastlane-match/
반응형'개발' 카테고리의 다른 글
[iOS/ Swift] SwiftLint & SwiftFormat 적용하기 (0) 2021.06.13 [SwiftUI] Keyboard avoidance 동작하지 않도록 하기 (0) 2021.05.17 [iOS/Swift] Universal link 적용하기 (2) 2021.04.24 Fastlane 을 사용해서 Firebase Distribution 배포하기 (0) 2021.04.17 [Firebase/Crashlytics] Bitcode 때문에 dSYM 업로드 안되는 이슈 (0) 2021.04.07