From bb645654e0161d720be6a4d1b6ffa3a4fb1e79c6 Mon Sep 17 00:00:00 2001 From: taetae98coding Date: Thu, 7 Nov 2024 00:08:33 +0900 Subject: [PATCH] 1.0.0-beta01 feat: app - Calendar feat: app - Login/Logout feat: app - Online/Offline Sync Memo feat: server - Login/Logout feat: server - Upsert/Fetch Memo feat: server - Migrate Memo --- .../workflows/firebase_app_distribution.yml | 28 ++++++++++++++++--- Diary/Diary.xcodeproj/project.pbxproj | 2 +- Diary/ExportOptions.plist | 10 ++++--- 3 files changed, 31 insertions(+), 9 deletions(-) diff --git a/.github/workflows/firebase_app_distribution.yml b/.github/workflows/firebase_app_distribution.yml index fcbccca6..d898c9a8 100644 --- a/.github/workflows/firebase_app_distribution.yml +++ b/.github/workflows/firebase_app_distribution.yml @@ -43,7 +43,7 @@ jobs: file: app/platform/android/build/outputs/apk/real/release/android-real-release.apk releaseNotesFile: CHANGELOG.md - iOS-Distribution: + iOS-Build: runs-on: macos-15 steps: - name: Checkout repository @@ -85,7 +85,7 @@ jobs: run: | # create variables CERTIFICATE_PATH=$RUNNER_TEMP/build_certificate.p12 - PP_PATH=$RUNNER_TEMP/PROVISIONING_PROFILE.mobileprovision + PP_PATH=$RUNNER_TEMP/build_pp.mobileprovision KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db # import certificate and provisioning profile from secrets @@ -112,11 +112,31 @@ jobs: - name: Export ipa run: xcodebuild -exportArchive -archivePath Diary/build/Diary.xcarchive -exportPath Diary/build -exportOptionsPlist Diary/ExportOptions.plist -allowProvisioningUpdates + - name: Upload ipa + uses: actions/upload-artifact@v4 + with: + name: Diary.ipa + path: Diary/build/Diary.ipa + + iOS-Distribution: + needs: [iOS-Build] + runs-on: ubuntu-latest + steps: + - name: Download ipa + uses: actions/download-artifact@v4 + with: + name: Diary.ipa + - name: Distribution uses: wzieba/Firebase-Distribution-Github-Action@v1 with: appId: ${{ secrets.FIREBASE_ANDROID_REAL_RELEASE_APP_ID }} serviceCredentialsFileContent: ${{ secrets.FIREBASE_APP_DISTRIBUTION_KEY }} groups: Developer,Tester - file: Diary/build/Apps/Diary.ipa - releaseNotesFile: CHANGELOG.md \ No newline at end of file + file: Diary.ipa + releaseNotesFile: CHANGELOG.md + + - name: Delete temp ipa + uses: geekyeggo/delete-artifact@v5 + with: + name: Diary.ipa \ No newline at end of file diff --git a/Diary/Diary.xcodeproj/project.pbxproj b/Diary/Diary.xcodeproj/project.pbxproj index 826db755..0abbf6c4 100644 --- a/Diary/Diary.xcodeproj/project.pbxproj +++ b/Diary/Diary.xcodeproj/project.pbxproj @@ -360,7 +360,7 @@ PRODUCT_BUNDLE_IDENTIFIER = io.github.taetae98coding.diary; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; - "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = PROVISIONING_PROFILE; + "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = Provision; SWIFT_EMIT_LOC_STRINGS = YES; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; diff --git a/Diary/ExportOptions.plist b/Diary/ExportOptions.plist index d7dda5ec..80c326e4 100644 --- a/Diary/ExportOptions.plist +++ b/Diary/ExportOptions.plist @@ -4,12 +4,14 @@ destination export + manageAppVersionAndBuildNumber + method - release-testing + app-store-connect provisioningProfiles io.github.taetae98coding.diary - PROVISIONING_PROFILE + Provision signingCertificate Apple Distribution @@ -19,7 +21,7 @@ teamID 4TV6L66XZ8 - thinning - <thin-for-all-variants> + uploadSymbols +