Skip to content

[Setting] #3 - Fastlane을 이용한 app signing 설정 & Certificate 관리#4

Merged
L-j-h-c merged 3 commits intoTeamRecorDream:developfrom
L-j-h-c:feature/#3-fastlaneMatch
Sep 17, 2022
Merged

[Setting] #3 - Fastlane을 이용한 app signing 설정 & Certificate 관리#4
L-j-h-c merged 3 commits intoTeamRecorDream:developfrom
L-j-h-c:feature/#3-fastlaneMatch

Conversation

@L-j-h-c
Copy link
Copy Markdown
Contributor

@L-j-h-c L-j-h-c commented Sep 17, 2022

👻 작업한 내용

Fastlane Match 세팅 완료했습니다.
아래 PR Point에 나오는 순서대로 인증서 설치 과정 진행해주세요.

Fastlane Match를 이용하는 이유를 살짝 설명드리자면...
기존에는 인증서를 app store connect에서 수작업으로 생성하고 다운 받은 후, 카카오톡이나 메일처럼 개인적으로 공유해야 했는데, 생각보다 손이 많이가고 보안 면에서 좋지 않습니다.
Fastlane Match를 이용하면 Private한 Git 저장소에 인증서와 Provisioning Profile을 암호화하여 관리하기 때문에, 나중에 새로운 개발자가 들어와서 인증서를 갱신해야하거나 공유할 일이 필요할 때 Fastlane의 명령어 한 줄로 처리할 수 있습니다.

🎤 PR Point

아래는 다른 프로젝트 팀원분이 작성해주신 인증서 설치 순서입니다...

  1. xcode-select —install
  2. fastlane 설치하기 sudo gem install fastlane —verbose
  3. brew install fastlane(2가 안되면!)
  4. fastlane match development —readonly 입력!
  5. URL to the git repo containing all the certificates: https://github.com/TeamRecorDream/RecorDream-iOS-Certificate.git
    https://github.com/TeamRecorDream/RecorDream-iOS-Certificate.git <-이걸로 넣어주세요!
  6. Passphrase for Match storage: ********** (비번은 카톡에서 공유하겠습니다) / 똑같은거 다시 한번더 입력!
  7. The bundle identifier(s) of your app (comma-separated string or array of strings): com.RecorDream.Release
    com.RecorDream.Release <-이걸로 넣어주세요!
  8. Password for login keychain: (개인 노트북 비번 입력) / 다시 한번 더 입력하기
  9. All required keys, certificates and provisioning profiles are installed 🙌 성공!
  10. 똑같이 fastlane match appstore —readonly 도 해주세요
  11. 아까와 같이 하다보면 또 성공!
  12. Xcode들어가서 Provisioning 파일 제대로 선택해주고 빌드 제대로 되는지 확인하기!

📮 관련 이슈

@L-j-h-c L-j-h-c added 록시보이 🌽 담당자 feat 구현·개선 사항에 관련된 내용입니다. labels Sep 17, 2022
@L-j-h-c L-j-h-c self-assigned this Sep 17, 2022
@L-j-h-c L-j-h-c merged commit f0e410d into TeamRecorDream:develop Sep 17, 2022
@L-j-h-c
Copy link
Copy Markdown
Contributor Author

L-j-h-c commented Sep 17, 2022

@EunHee-Jeong @Suyeon9911
종권님 Fastlane Match 설명
제 블로그 ㅋㅋ
Xcode에서 인증서가 필요한 이유-공식문서
코드사이닝, 인증서, 프로비저닝 파일에 대한 설명
프로비저닝 파일에 대한 설명

읽어보면 좋은 레퍼런스들 첨부합니당..

@Suyeon9911
Copy link
Copy Markdown
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat 구현·개선 사항에 관련된 내용입니다. 록시보이 🌽 담당자

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Setting] fastlane match로 app signing 설정 & 인증서 관리

2 participants