Skip to content

Commit 000184c

Browse files
authored
* style: 정확하게 테플이라는 이름 명시 * refactor: 앱 빌드 시간 단축 * chore: fastlane/README.md 추적 끄기 * test: lint 모듈 validation 스킵 * fix: 내부 testflight 이름과 겹치는 현상 수정 * fix: export_method 수정 * chore: 테스트플라이트 CI 배포 서명 설정 수정
1 parent 901d249 commit 000184c

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

fastlane/Fastfile

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
require "shellwords"
2+
13
default_platform(:ios)
24

35
platform :ios do
@@ -36,11 +38,24 @@ platform :ios do
3638
readonly: ENV["CI"] == "true"
3739
)
3840

41+
matchProvisioningProfileMapping = lane_context[SharedValues::MATCH_PROVISIONING_PROFILE_MAPPING] || {}
42+
provisioningProfileSpecifier = matchProvisioningProfileMapping["opfic.DevLog"].to_s.strip
43+
44+
UI.user_error!("Missing provisioning profile mapping for opfic.DevLog") if provisioningProfileSpecifier.empty?
45+
46+
buildAppXcargs = [
47+
"-skipPackagePluginValidation",
48+
"CODE_SIGN_STYLE=Manual",
49+
"DEVELOPMENT_TEAM=#{ENV["APP_STORE_TEAM_ID"]}",
50+
"CODE_SIGN_IDENTITY=#{Shellwords.escape("Apple Distribution")}",
51+
"PROVISIONING_PROFILE_SPECIFIER=#{Shellwords.escape(provisioningProfileSpecifier)}"
52+
]
53+
3954
build_app(
4055
project: "DevLog.xcodeproj",
4156
scheme: "DevLog",
4257
export_method: "app-store",
43-
xcargs: "-skipPackagePluginValidation"
58+
xcargs: buildAppXcargs.join(" ")
4459
)
4560

4661
next api_key

0 commit comments

Comments
 (0)