Skip to content

Commit 1bd4394

Browse files
authored
[Merge] pull request #168 from Team-Wable/develop
[Setting] 테스트 플라이트 버전 업데이트
2 parents c1654eb + 7cde67d commit 1bd4394

793 files changed

Lines changed: 25917 additions & 194 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: Jinung Issue Template
3+
about: 김진웅의 프로젝트 이슈 템플릿입니다.
4+
title: "[작업 태그] 이슈 제목"
5+
labels: '🍻 진웅'
6+
assignees: 'JinUng41'
7+
---
8+
9+
## 📝 작업 페이지 캡쳐
10+
| 페이지 | 캡쳐 |
11+
| :-------------: | :----------: |
12+
| 피그마 | <img src = "" width ="250">
13+
14+
## 작업할 브랜치
15+
- `prefix/#nn` 브랜치에서 작업합니다.
16+
17+
## ✔️ To-Do
18+
- [ ] 세부적으로 적어주세요
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: Youjin Issue Template
3+
about: 이유진의 프로젝트 이슈 템플릿입니다.
4+
title: "[작업 태그] 이슈 제목"
5+
labels: '🦉 유진'
6+
assignees: 'youz2me'
7+
---
8+
9+
## 📝 작업 페이지 캡쳐
10+
| 페이지 | 캡쳐 |
11+
| :-------------: | :----------: |
12+
| 피그마 | <img src = "" width ="250">
13+
14+
## 작업할 브랜치
15+
- `prefix/#nn` 브랜치에서 작업합니다.
16+
17+
## ✔️ To-Do
18+
- [ ] 세부적으로 적어주세요

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<!--
2+
Prefix [#이슈번호] 작업 설명
3+
예시 : Feat [#33] 마이페이지 뷰 구현
4+
-->
5+
6+
# 👻 *PULL REQUEST*
7+
8+
## 📄 작업 내용
9+
<!-- 작업한 내용을 두괄식으로 작성해주세요 -->
10+
- 어쩌구저쩌구
11+
12+
| 구현 내용 | IPhone 15 pro |
13+
| :-------------: | :----------: |
14+
| GIF | <img src = "" width ="250"> |
15+
16+
## 💻 주요 코드 설명
17+
<!-- 코드 설명, 없다면 생략해도 됩니다! -->
18+
### 설명할 코드 주제 또는 기능
19+
20+
- 대충 코드 설명 어쩌구
21+
22+
<details>
23+
<summary>해당 코드가 있는 파일명</summary>
24+
25+
```swift
26+
// 여기에 코드를 적어주세요!
27+
```
28+
</details>
29+
30+
## 📚 참고자료
31+
<!-- 있으면 작성하고 없으면 제목까지 완전히 지워주세요! -->
32+
33+
## 👀 기타 더 이야기해볼 점
34+
<!-- 있으면 작성하고 없으면 제목까지 완전히 지워주세요! -->
35+
36+
## 🔗 연결된 이슈
37+
- Resolved: #이슈번호
3.28 KB
Binary file not shown.
7.78 KB
Binary file not shown.

.github/workflows/main.yml

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
name: Archive and Upload TestFlight
2+
on:
3+
push:
4+
branches: [ main ]
5+
jobs:
6+
build:
7+
name: Build Project
8+
runs-on: macos-latest
9+
10+
env:
11+
XC_WORKSPACE: ${{ 'Wable-iOS.xcodeproj' }}
12+
XC_SCHEME: ${{ 'Wable-iOS' }}
13+
XC_ARCHIVE: ${{ 'Wable-iOS.xcarchive' }}
14+
KEYCHAIN: ${{ 'test.keychain' }}
15+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
16+
17+
# config
18+
DEVELOPMENT_XCCONFIG: ${{ secrets.DEVELOPMENT_XCCONFIG }}
19+
RELEASE_XCCONFIG: ${{ secrets.RELEASE_XCCONFIG }}
20+
SHARE_XCCONFIG: ${{ secrets.SHARE_XCCONFIG }}
21+
22+
# googleservice-info
23+
GOOGLESERVICE_INFO_PLIST: ${{ secrets.GOOGLESERVICE_INFO_PLIST }}
24+
25+
# certificate
26+
ENCRYPTED_CERT_FILE_PATH: ${{ '.github/secrets/TL_Distribution.p12.gpg' }}
27+
DECRYPTED_CERT_FILE_PATH: ${{ '.github/secrets/TL_Distribution.p12' }}
28+
CERT_ENCRYPTION_KEY: ${{ secrets.CERT_ENCRYPTION_PWD }}
29+
30+
# provisioning
31+
ENCRYPTED_PROVISION_FILE_PATH: ${{ '.github/secrets/Wable_AppStore.mobileprovision.gpg' }}
32+
DECRYPTED_PROVISION_FILE_PATH: ${{ '.github/secrets/Wable_AppStore.mobileprovision' }}
33+
PROVISIONING_ENCRYPTION_KEY: ${{ secrets.PROVISION_ENCRYPTION_PWD }}
34+
35+
# certification export key
36+
CERT_EXPORT_KEY: ${{ secrets.CERT_EXPORT_PWD }}
37+
38+
steps:
39+
- name: Checkout the code
40+
uses: actions/checkout@v2
41+
42+
- name: Configure Keychain
43+
run: |
44+
security create-keychain -p "" "$KEYCHAIN"
45+
security list-keychains -s "$KEYCHAIN"
46+
security default-keychain -s "$KEYCHAIN"
47+
security unlock-keychain -p "" "$KEYCHAIN"
48+
security set-keychain-settings
49+
50+
- name: Create Config file
51+
run: |
52+
mkdir -p ./Wable-iOS/Resource/Config/
53+
echo -n $DEVELOPMENT_XCCONFIG | base64 --decode > ./Wable-iOS/Resource/Config/Development.xcconfig
54+
echo -n $RELEASE_XCCONFIG | base64 --decode > ./Wable-iOS/Resource/Config/Release.xcconfig
55+
echo -n $SHARE_XCCONFIG | base64 --decode > ./Wable-iOS/Resource/Config/Share.xcconfig
56+
57+
- name: Create GoogleService-Info.plist
58+
run: |
59+
mkdir -p ./Wable-iOS/
60+
echo -n $GOOGLESERVICE_INFO_PLIST | base64 --decode > ./Wable-iOS/GoogleService-Info.plist
61+
62+
- name: Configure Code Signing
63+
run: |
64+
gpg -d -o "$DECRYPTED_CERT_FILE_PATH" --pinentry-mode=loopback --passphrase "$CERT_ENCRYPTION_KEY" "$ENCRYPTED_CERT_FILE_PATH"
65+
gpg -d -o "$DECRYPTED_PROVISION_FILE_PATH" --pinentry-mode=loopback --passphrase "$PROVISIONING_ENCRYPTION_KEY" "$ENCRYPTED_PROVISION_FILE_PATH"
66+
security import "$DECRYPTED_CERT_FILE_PATH" -k "$KEYCHAIN" -P "$CERT_EXPORT_KEY" -A
67+
security set-key-partition-list -S apple-tool:,apple: -s -k "" "$KEYCHAIN"
68+
69+
mkdir -p "$HOME/Library/MobileDevice/Provisioning Profiles"
70+
for PROVISION in `ls .github/secrets/*.mobileprovision`
71+
do
72+
echo ALVIN PRIVISION DEBUG
73+
UUID=`/usr/libexec/PlistBuddy -c 'Print :UUID' /dev/stdin <<< $(security cms -D -i ./$PROVISION)`
74+
cp "./$PROVISION" "$HOME/Library/MobileDevice/Provisioning Profiles/$UUID.mobileprovision"
75+
done
76+
77+
- name: iOS Bump Version
78+
uses: yanamura/ios-bump-version@v1
79+
with:
80+
version: ''
81+
build-number: ''
82+
83+
- name: Build
84+
run: xcodebuild clean build -project $XC_WORKSPACE -scheme $XC_SCHEME -configuration release -destination 'platform=iOS Simulator,OS=15.0,name=iPhone 13 mini'
85+
86+
- name: Archive
87+
run: xcodebuild archive -project $XC_WORKSPACE -scheme $XC_SCHEME -configuration release -archivePath $XC_ARCHIVE
88+
89+
- name: Export
90+
run: xcodebuild -exportArchive -archivePath $XC_ARCHIVE -exportOptionsPlist ExportOptions.plist -exportPath . -allowProvisioningUpdates
91+
92+
- name: Upload app to TestFlight
93+
uses: apple-actions/upload-testflight-build@v1
94+
with:
95+
app-path: "Wable-iOS.ipa"
96+
issuer-id: ${{ secrets.APPSTORE_ISSUER_ID }}
97+
api-key-id: ${{ secrets.APPSTORE_API_KEY_ID }}
98+
api-private-key: ${{ secrets.APPSTORE_API_PRIVATE_KEY }}
99+
100+
- name: Notify to Slack
101+
uses: 8398a7/action-slack@v3
102+
with:
103+
status: ${{ job.status }}
104+
fields: repo,message,commit,author,action,eventName,ref,workflow,pullRequest
105+
env:
106+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
107+
if: always()

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,7 @@ Dependencies/
8989
/*.gcno
9090
**/xcshareddata/WorkspaceSettings.xcsettings
9191
*.xcconfig
92+
93+
94+
## Google
95+
GoogleService-Info.plist

ExportOptions.plist

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>destination</key>
6+
<string>export</string>
7+
<key>manageAppVersionAndBuildNumber</key>
8+
<true/>
9+
<key>method</key>
10+
<string>app-store-connect</string>
11+
<key>provisioningProfiles</key>
12+
<dict>
13+
<key>com.wable.Wable-iOS</key>
14+
<string>Wable_AppStore</string>
15+
</dict>
16+
<key>signingCertificate</key>
17+
<string>Apple Distribution</string>
18+
<key>signingStyle</key>
19+
<string>manual</string>
20+
<key>stripSwiftSymbols</key>
21+
<true/>
22+
<key>teamID</key>
23+
<string>HGVD26K7DP</string>
24+
<key>uploadSymbols</key>
25+
<true/>
26+
</dict>
27+
</plist>

0 commit comments

Comments
 (0)