-
Notifications
You must be signed in to change notification settings - Fork 6
[Setting] #248 - fastlane match, TestFlight 도입 하였습니다. #249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
844b2cb
5eef38e
1b3a94b
41b869c
b91d46e
db7a659
2da8799
030c4d7
6ab6e41
6cfc62e
3c42a4e
73c6e38
65d5414
c221014
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| app_identifier("com.runnect.Runnect-iOS") # The bundle identifier of your app | ||
| app_identifier(ENV["APP_IDENTIFIER"]) # The bundle identifier of your app | ||
| apple_id(ENV["APPLE_ID"]) # Your Apple Developer Portal username | ||
|
|
||
| itc_team_id("125287287") # App Store Connect Team ID | ||
| team_id("8Q4H7X3Q58") # Developer Portal Team ID | ||
| itc_team_id(ENV["ITC_TEAM_ID"]) # App Store Connect Team ID | ||
| team_id(ENV["TEAM_ID"]) # Developer Portal Team ID | ||
|
|
||
| # For more information about the Appfile, see: | ||
| # https://docs.fastlane.tools/advanced/#appfile | ||
| # https://docs.fastlane.tools/advanced/#appfile |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,6 +16,11 @@ | |
| default_platform(:ios) | ||
|
|
||
| platform :ios do | ||
|
|
||
|
|
||
| ############# version ############# | ||
|
|
||
|
|
||
| desc "Set Marketing and Build version" | ||
| lane :set_version do |version| | ||
| increment_version_number( | ||
|
|
@@ -29,8 +34,12 @@ platform :ios do | |
| ) | ||
| end | ||
|
|
||
| desc "Testflight Upload" | ||
| lane :upload_testflight do |version| | ||
|
|
||
| ############# beta ############# | ||
|
|
||
|
|
||
| desc "Push a new beta build to TestFlight" | ||
| lane :beta do |version| | ||
| version = version[:version] | ||
|
|
||
| match( | ||
|
|
@@ -50,14 +59,45 @@ platform :ios do | |
| ) | ||
| end | ||
|
|
||
| build_app( | ||
| output_directory:"./BuildOutputs", | ||
| scheme: "Runnect-iOS" | ||
| ) | ||
| build_app(workspace: "Runnect-iOS.xcworkspace", scheme: "Runnect-iOS") | ||
|
|
||
| upload_to_testflight(skip_waiting_for_build_processing: true) | ||
|
|
||
| # ✅ Slack 설정. | ||
| slack( | ||
| username: "이명진", | ||
| message: "TestFlight 배포 성공.", | ||
| icon_url: "https://is1-ssl.mzstatic.com/image/thumb/Purple116/v4/a6/68/d0/a668d049-8c1a-0e7b-19c3-287093c0a501/AppIcon-1x_U007emarketing-0-7-0-85-220.png/1024x1024bb.png", | ||
| slack_url: ENV["RUNNECT_SLACK"], | ||
| payload: { "Version": version } | ||
| ) | ||
|
Comment on lines
+67
to
+73
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. git 요정이라니 새롭네요 ㅋㅋㅋㅋㅋ 확인했습니다 ~
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 깃 요정 이래 깃 가디언... |
||
| # ✅ 에러 처리. | ||
| error do |lane, exception, options| | ||
| slack( | ||
| message: "에러 발생 : #{exception}", | ||
| success: false, | ||
| slack_url: "https://hooks.slack.com/…" | ||
| ) | ||
| end | ||
| end | ||
|
|
||
|
|
||
|
|
||
| ############# Device Management ############# | ||
|
|
||
| desc "Register Devices" | ||
| lane :register_new_device do |options| | ||
| device_name = prompt(text: "Enter the device name: ") | ||
| device_udid = prompt(text: "Enter the device UDID: ") | ||
| device_hash = {} | ||
| device_hash[device_name] = device_udid | ||
| register_devices(devices: device_hash) | ||
| match(type: "development", force_for_new_devices: true) | ||
| end | ||
|
Comment on lines
+86
to
+96
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 이거는 어떤 코드인가요 ?! device 등록하는 것두 fastlane에서 관리해주는 건쥐 궁금합니다
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. device 이름과 번호도 command로 간단하게 입력해 주면 자동으로 등록되는 거예요! |
||
|
|
||
| ############# match ############# | ||
|
|
||
|
|
||
| desc "Match all code signing" | ||
| lane :match_read_only do | ||
| match( | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
요 코드는 뭔가용 ?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 부분이 지도를 움직일 때 사용되는 메서드인데, 하나 구현하면 하나가 안되는 이ㅅ가 있어서 일단 내용은 빼고, 빈 메서드만 추가 해놨어요!