diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 752417ff..68a1882d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,23 +2,20 @@ name: UploadTestFlight on: push: - branches: [ develop ] + branches: [ develop, epic/CD ] jobs: upload_testflight: runs-on: macos-latest steps: - uses: actions/checkout@v2 - - name: Setup Xcode version - uses: maxim-lobanov/setup-xcode@v1 + - uses: maxim-lobanov/setup-xcode@v1 with: xcode-version: 15.4.0 - - - name: Setting Master Key - run: | - echo "$MASTER_KEY" > Tuist/master.key - env: - MASTER_KEY: ${{secrets.MASTER_KEY}} + - uses: shimataro/ssh-key-action@v2 + with: + key: ${{ secrets.SSH_KEY }} + known_hosts: ${{ secrets.KNOWN_HOSTS }} - name: Install Tuist run: brew tap tuist/tuist @@ -37,9 +34,6 @@ jobs: - name: Tuist fetch run: tuist fetch - - - name: Tuist Signing Decrypt - run: tuist signing decrypt - name: Set Keychain run: fastlane set_keychain @@ -58,8 +52,10 @@ jobs: - run: fastlane tf env: + MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} KEYCHAIN_NAME: ${{ secrets.KEYCHAIN_NAME }} KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }} FASTLANE_API_KEY_ID: ${{ secrets.FASTLANE_API_KEY_ID }} FASTLANE_API_KEY_ISSUER_ID: ${{ secrets.FASTLANE_API_KEY_ISSUER_ID }} + FASTLANE_API_KEY_CONTENT: ${{ secrets.FASTLANE_API_KEY_CONTENT }} SLACK_HOOK_URL: ${{ secrets.SLACK_HOOK_URL }} diff --git a/Projects/App/Project.swift b/Projects/App/Project.swift index 2c79172b..ae08c7cb 100644 --- a/Projects/App/Project.swift +++ b/Projects/App/Project.swift @@ -8,7 +8,7 @@ let project = Project( ), settings: .settings( base: .init() - .marketingVersion("1.3.0") + .marketingVersion("1.3.2") .swiftVersion("5.7") .currentProjectVersion("1") .appleGenericVersioningSystem(), @@ -35,7 +35,23 @@ let project = Project( entitlements: "WidgetExtension/Resources/WidgetExtension.entitlements", dependencies: [ .project(target: "DesignSystem", path: .relativeToRoot("Projects/Shared/DesignSystem")) - ] + ], + settings: .settings( + base: [ + "DEVELOPMENT_TEAM[sdk=iphoneos*]": "H5G7RFWFSQ", + "CODE_SIGN_STYLE": "Manual" + ], + configurations: [ + .debug(name: "Debug", settings: [ + "CODE_SIGN_IDENTITY": "Apple Development: Nayeon Gu (3CMPGMMD7L)", + "PROVISIONING_PROFILE_SPECIFIER": "match Development com.yapp.moneymong.WidgetExtension" + ]), + .release(name: "Release", settings: [ + "CODE_SIGN_IDENTITY": "Apple Distribution: Nayeon Gu (H5G7RFWFSQ)", + "PROVISIONING_PROFILE_SPECIFIER": "match AppStore com.yapp.moneymong.WidgetExtension" + ]) + ] + ) ), Target( name: "Moneymong", @@ -86,8 +102,22 @@ let project = Project( .target(name: "WidgetExtension") ], settings: .settings( - base: .init() - .cutomSetting() + base: [ + "DEBUG_INFORMATION_FORMAT": "dwarf-with-dsym", + "OTHER_LDFLAGS": "-ObjC", + "DEVELOPMENT_TEAM[sdk=iphoneos*]": "H5G7RFWFSQ", + "CODE_SIGN_STYLE": "Manual" + ], + configurations: [ + .debug(name: "Debug", settings: [ + "CODE_SIGN_IDENTITY": "Apple Development: Nayeon Gu (3CMPGMMD7L)", + "PROVISIONING_PROFILE_SPECIFIER": "match Development com.yapp.moneymong" + ]), + .release(name: "Release", settings: [ + "CODE_SIGN_IDENTITY": "Apple Distribution: Nayeon Gu (H5G7RFWFSQ)", + "PROVISIONING_PROFILE_SPECIFIER": "match AppStore com.yapp.moneymong" + ]) + ] ), launchArguments: [ LaunchArgument(name: "IDEPreferLogStreaming=YES", isEnabled: true), @@ -96,12 +126,3 @@ let project = Project( ) ] ) - -extension Dictionary where Key == String, Value == ProjectDescription.SettingValue { - func cutomSetting() -> SettingsDictionary { - return merging([ - "DEBUG_INFORMATION_FORMAT": "dwarf-with-dsym", - "OTHER_LDFLAGS": "-ObjC" - ]) - } -} diff --git a/Tuist/Signing/Moneymong.Debug.mobileprovision b/Tuist/Signing/Moneymong.Debug.mobileprovision deleted file mode 100644 index cfb80a1d..00000000 Binary files a/Tuist/Signing/Moneymong.Debug.mobileprovision and /dev/null differ diff --git a/Tuist/Signing/Moneymong.Release.mobileprovision b/Tuist/Signing/Moneymong.Release.mobileprovision deleted file mode 100644 index 10d044ed..00000000 Binary files a/Tuist/Signing/Moneymong.Release.mobileprovision and /dev/null differ diff --git a/Tuist/Signing/debug.cer.encrypted b/Tuist/Signing/debug.cer.encrypted deleted file mode 100644 index c48ad751..00000000 --- a/Tuist/Signing/debug.cer.encrypted +++ /dev/null @@ -1 +0,0 @@ -h83rMWy2LHEy+3Fyf3JnSg==-TEuWVq7eOwgv9mMTIRQJYOjrXu9Uf5/xJ9AUKSwsakA4C8tnf53bxvDborq6yhXkyoYHOUB5L63cOvnoCKhHgsT3DnuiS0OFMwx3Rep8JTaWtuEyF22r2PVh1QtrWiqKFoI4sn+8HHisU6Dh86m86I+Qp3s0SGCkr5cGWlycD7pIObP18eAPtPo581CFOgOohwhg+mX2ieEWoqeBk85Lgx97B0fSp9gKXx0/oSMzW5MXXdq7CoewnSubeJJwmXYX0NW2QcOVLnVfR0JTlqwI8EJmQy8y7O4wA7EOrSTRJmpozK6jAPZFFZDBqXJhJyJQpM3y4/4xtYnFyJZHrH9w03hVVPosVaxqMGFphTWonq9bHOTTQ6t+jd8FrIJuSryDbqCz6HJ4akW3HemI9aQi/yFa38KEaN76n4r3faXdhMI3pbJUOJltIZgkayr7ePjtqa3v5+yX/lHTE9HAh8IsXnyQeamPTooWWnb+Tu8xSQgVnAlJsw4l7klepRoxjZmipJETD1nsGtMAfi+EtWgEknAZUnougwxtz7ZvATPFtxnhxf9LFAi+6VDHjFFS/hN2oq6dkpdwokPu0kM2vkg/vcqrZOEA8mYpzucj32POE1ArKD6cyr8aD+X6SlLtYmYnYAi1h444FaF/mRZvxut8OJEKSr2pf5/vW4l10CgZziXI4AaBD2A04o/N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M1d5q4IFXQPIHweT/TR4UrlB/zgdQGD7qhrkKOTsWPc5SDN5e1tB8bb0+YVbpl1aSVvEY403zslo0vjWMWh9gf6kPk69avGT0Cq9FMq52lUlmE/59t0cZwtvo0YhDwBOKtv8RT+/jv0GtL9a9AkslZ2D8O7lR/y0m8CF7GfniZ87zOCdlHo89pLV33HV6q \ No newline at end of file diff --git a/Tuist/Signing/debug.p12.encrypted b/Tuist/Signing/debug.p12.encrypted deleted file mode 100644 index 0f85551b..00000000 --- a/Tuist/Signing/debug.p12.encrypted +++ /dev/null @@ -1 +0,0 @@ -hEe9RDc0T/a6wlgHXYGmmw==-9HyunQJqRQRRfKxy+Ag0GD9va6pQDOpOq76O8loGooqYgaFWcUwQr/I8hkmhjNU1IofA5gfURKjN3Tz8Mnp38K+P3vAsrjmfGjDLguqRBguWfB6JkhxBgo3sgT7aIV41IamPZFUrqUzdv5JD5LOEc9WtR+wtosIL+Bm3vhbK1HFD9wuvSIcTM3n9S5gFGyASQwiB+wC6bVFi7bqEkPWnXhQXqqI2PKJ8ZVl9tQgHlFOzJcr+TK4yx7jg20j4gQWO2zO26+RwkfLNOUoQ3+fZU3rRwNgzUnrPC1n2kjRInuQf3FDRct4BB4iikA9Kz2ilkPC8Wg7lutgQbyMyqLdk4WPRAeAN05nlOGH5SH0ywDusdk50w1kKZuQ+OmGIpMkWB7PoEgbRqzif+7wnhH+EQV9Y29nkTfeyaWZvzoVq+4aFg/JREMeoxbvKNru729CNLN1nl8+13XdMIPR7z+Oy8j/1zabcxM3jU2HcJjsSGyc+Y0huROF5zWUbYJ0S7AGMNfdg9/0yXnekoB1nLguBFOC+ZQtv0M3mxS6L7KGkUkzQwEXC8HJFWhclkiRdH61IB4y2IpFV2KpKsE1PozL/NWKD5F2cV196J7e8IZea4D7rLKpR62PeNXcLWWgPGaz2MgCFsexZBL35RuNILxZmxefc1FaoUPWkmASKBhbY5Tk5d4nj4DdhaF9JO98K+VBGZUvyxtVeRH4saBnTbkYJQGa6cH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rRhQbqg8E1f4BAjANIkrnrt0srjOjCAXjXab1+Tjo//QyFqqiS4ndYSjWD18WGqalaZv0+ij03kT8WTIfZwP8h3tcnDtn9S2D4QJiIVAAaV3VW2IKeRBmzeFDieOdbJ4EMAb7SA4k+jARq9nZ64jjJqtFZ6cwyprCnwUBQJtuiZcqGSLLLwsN5iaOp28gADPabP6e141XnVE+NS31/vYvkm8EQ+1LAB9ZM0O927/NOk+MbXcRJT6Ni1Er0D9EkeKa2PBMxZ0GwZWDBUtxx9X1P4Q+/8hWOtNHw+yMaf4bEDD22/7Kiu1f5dhkWvVhFTssZQKmW/LtkIDZ9/f/FJUEqTJzPEgye7WOZWB9/s2yvGo1wWrdVpKNdruig07U/gc7tHWorm7y4+doiTi0= \ No newline at end of file diff --git a/Tuist/Signing/release.cer.encrypted b/Tuist/Signing/release.cer.encrypted deleted file mode 100644 index 4d3da3cd..00000000 --- a/Tuist/Signing/release.cer.encrypted +++ /dev/null @@ -1 +0,0 @@ -hAazKpcG9k6YPLLZlUgIoQ==-7ZBFlu9/vLCNUjVbsqnclg9eZ2D4j3NKsR4omRGa8B/E2nHSo8n6V/+yhGyiqTyx7uiVIaxdsswyyTz6J8efjZMQnJZqZDEUTV/BXtF0Af+x62McQ/ceypxnq59c5m0i15z6KyuDCYCvYsmu1kGMvCTPOy+Mg5GvPThYEiDTHwUUS3NQcU/g7A3uaJM/lRfmdlQmxIQnTgQCWj57f5nxW6ScrcvmURbd30TFcIawel21greF8HDGMRKCHDIkmo6xWq358+hf3N44HIHL/oKk42eStRQrGxhQwivVFVOmnfaRmIGPUq7WlOWW6Tm82anA/MZd21KSxVCJX356PDjv9usxYGgn8/vSHa66zvs1O20S3KURwvZJySi/VwKv3ptu7ip3fZeOYrD7viMnMSLBoVKAsCDyo/U0qyrxPsBH9JIzbXhZDlb01ZMjolA/1UN766CTyR9zDjF590WAxZR3NXPQP/KMHgqCod1OO/XwB/A8vIxrS9SOpSEu8ndNHWTMXN4es+YopaAydAJlNMud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Lfo5fvyy+o6D023kyDgUxgvlFB/jFcYxyF11f79c2+m53aRzz+h5nWYnvjzZfrkb46tSQbSGWgIwDbsKOnX5DmfNDp8rx0WHF2ZA6OtAPO1pyQaKDQlnpkn3Nl5KbRbXG6NautXhuU480HQ8KCkYVMdxZx2evs5/FgWM8Y27l2E0uvd5bC4VSfPlnWO2MWfP7cKecocpKheJz5/sPYsSzhJ4CLMVunVVJ05ExMR0x0n88OVfAk2cTfKRhTWv1fzobW71pWZdmtU93AjpuC6cFlK/3YGjKyUuAMsb8E9yBW0YTbuZj7FyZQBSLzBO+9KEER/UgU5OwH23QHe3zSs54NHgn2xM/gqw== \ No newline at end of file diff --git a/Tuist/Signing/release.p12.encrypted b/Tuist/Signing/release.p12.encrypted deleted file mode 100644 index 8fab4624..00000000 --- a/Tuist/Signing/release.p12.encrypted +++ /dev/null @@ -1 +0,0 @@ -Zb45jspks18pnIJlMbn9Yg==-izFD4DvugUmEPBXpZ5TmObWNTkTsaUtVUJX2kmosygyTLlDRu0tu/GwgUsGfsrXSuTb+dbGCwQMd+7q33hSt1RYu70xqXUcg28jENPLALoZPLTMmkCJPBx96EtEDT+B3sSG1fPGupAn//6nL90gxQBCgB68vkKcniQk8p6drsUj2SxlXgPxUoU+mZQYzA0O4FaxKyr6iRGRv/JXFoEgEsnNTidnwtdnwTpetvicarLcPhQZ7MRYUuaSVp17X2bEFSgUAosQBV2XipUIIURdoxoFDUf9wGV75sRtc7PNHOaCjkBijHfD5xN3cmgc5xJg+p5CkhWi81mzQImLIcn9muQZEhFUy1k42/S5dYK4SL6yypnKRpkQkVW8sAG6nfzUemGSAVFEK5YWpgiGmZxPD2i3D3zvFxwVNJ6KlWdGyVYMEZsLZpGhR5RjuXWoEu0b7wWjx3SAHQePw7fZINPIcCtaR5Tdir4+NrKKqDCQlI1fGLGqq5tlnSrIhRkzAbuDVu6GQuF78e3Ze6Kp7wHh+9WrEQPS6uD8d28AZB22zKHOhAfULT7NOxoY7LGVZweRPh/AWYr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fSkpZ2fA/WcwbhVYU+oLIcpRcsmwOb82dD69uft4u70Y1DE49VaTL/T081wGa+Yn/uzN/AFkJt52NVPKJVmwIbC5dwJfZe6LT3Ga/Q57cL+xQrXGeXSL8AGZ+Y7PyS7YjjGV8RLpNzHZSSckkkytw6hSr35ZjBtGKD36BmZy8Pr6XSxS1TBXDvkteyhgu0Kbtf4K77r2DEfWVznEnv0arQB+Mrfbp5eb2r/tz8Vlgse39Sk58N2bN/GYYS0AV89L01Hvd5sq3T0+oa17DHI6DEXn2hREgfOSP2YuErsNUD8+KtduT4mJDUx3YrHWcY02mCyCDc6nxXr7fz+ME4LlFlfAG6fhAYiZtaeztYC/gyV5ji5vqTa/HAphfXOamXavev6o9Bz63Cuf5SIbdD3h04G9rqnmwWNt2Ol4+q2q3qZLcO/sdL0I2b+yUeAvHqbupW76RqSyTDq/LlRDcFlmG9+Mi7NMhHFt4GMdUKwq1SwLgVgIjbHXF9SbESuFalNXmqiNx0zGx \ No newline at end of file diff --git a/fastlane/AuthKey.p8 b/fastlane/AuthKey.p8 deleted file mode 100644 index accacc1d..00000000 --- a/fastlane/AuthKey.p8 +++ /dev/null @@ -1,6 +0,0 @@ ------BEGIN PRIVATE KEY----- -MIGTAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBHkwdwIBAQQgy9qT/LatbaPCjlri -LofFhnj00K50LoSGVn2I2x7K+cWgCgYIKoZIzj0DAQehRANCAASJkevHsAUZqpHP -3f+dIh5zW9Xoit2+jSHki44cvREMBp/5q/I0Jh/7ftJ9/PAZMksxuQD1b4Ehjz4F -qmp4s8n0 ------END PRIVATE KEY----- \ No newline at end of file diff --git a/fastlane/Fastfile b/fastlane/Fastfile index d9ac5ffd..092214ed 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -7,6 +7,7 @@ SLACK_HOOK_URL = ENV["SLACK_HOOK_URL"] FASTLANE_API_KEY_ID = ENV["FASTLANE_API_KEY_ID"] FASTLANE_API_KEY_ISSUER_ID = ENV["FASTLANE_API_KEY_ISSUER_ID"] +FASTLANE_API_KEY_CONTENT = ENV["FASTLANE_API_KEY_CONTENT"] default_platform(:ios) @@ -22,20 +23,6 @@ platform :ios do timeout: 3600, lock_when_sleeps: true ) - - import_certificate( - certificate_path: "Tuist/Signing/release.cer", - keychain_name: "#{KEYCHAIN_NAME}", - keychain_password: "#{KEYCHAIN_PASSWORD}" - ) - - import_certificate( - certificate_path: "Tuist/Signing/release.p12", - keychain_name: "#{KEYCHAIN_NAME}", - keychain_password: "#{KEYCHAIN_PASSWORD}" - ) - - install_provisioning_profile(path: "Tuist/Signing/#{APP_NAME}.Release.mobileprovision") end # 테스트 플라이트 업로드 @@ -48,7 +35,7 @@ platform :ios do app_store_connect_api_key( key_id: "#{FASTLANE_API_KEY_ID}", issuer_id: "#{FASTLANE_API_KEY_ISSUER_ID}", - key_filepath: "fastlane/AuthKey.p8" + key_content: "#{FASTLANE_API_KEY_CONTENT}" ) new_build_number = latest_testflight_build_number + 1 @@ -58,15 +45,42 @@ platform :ios do xcodeproj: "Projects/App/Moneymong.xcodeproj" ) + match( + git_url: "git@github.com:MONEYMONG/iOS-Moneymong-Match.git", + storage_mode: "git", + type: "appstore", + app_identifier: "com.yapp.moneymong", + force_for_new_devices: true, + readonly: true, + keychain_name: "#{KEYCHAIN_NAME}", + keychain_password: "#{KEYCHAIN_PASSWORD}" + ) + + match( + git_url: "git@github.com:MONEYMONG/iOS-Moneymong-Match.git", + storage_mode: "git", + type: "appstore", + app_identifier: "com.yapp.moneymong.WidgetExtension", + force_for_new_devices: true, + readonly: true, + keychain_name: "#{KEYCHAIN_NAME}", + keychain_password: "#{KEYCHAIN_PASSWORD}" + ) + # ✅ 빌드 build_app( workspace: "#{APP_NAME}.xcworkspace", scheme: "#{SCHEME}", - export_method: "app-store" + export_method: "app-store", + xcargs: "-allowProvisioningUpdates" ) # ✅ 테스트 플라이트 업로드 - upload_to_testflight(skip_waiting_for_build_processing: true) + upload_to_testflight( + app_identifier: "com.yapp.moneymong", + skip_waiting_for_build_processing: true + ) + slack( message: "⭐️ 테스트 플라이트 업로드 성공", channel: "#알림-ios-배포", diff --git a/fastlane/Matchfile b/fastlane/Matchfile new file mode 100644 index 00000000..ae0a58c1 --- /dev/null +++ b/fastlane/Matchfile @@ -0,0 +1,16 @@ +git_url("https://github.com/MONEYMONG/iOS-Moneymong-Match.git") + +storage_mode("git") + +#type("development") # The default type, can be: appstore, adhoc, enterprise or development +type("appstore") # The default type, can be: appstore, adhoc, enterprise or development + +app_identifier(["com.yapp.moneymong", "com.yapp.moneymong.WidgetExtension"]) +username("list456@naver.com") +# app_identifier(["tools.fastlane.app", "tools.fastlane.app2"]) +# username("user@fastlane.tools") # Your Apple Developer Portal username + +# For all available options run `fastlane match --help` +# Remove the # in the beginning of the line to enable the other options + +# The docs are available on https://docs.fastlane.tools/actions/match