[hotfix] Xcode 프로젝트 설정 다시 변경 (#208) #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy iOS App to App Store | |
on: | |
push: | |
branches: | |
- ios-release | |
jobs: | |
# TestFlight | |
release-ios: | |
name: Build and release iOS app | |
runs-on: macos-latest | |
steps: | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: latest-stable | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2.8.0 | |
with: | |
flutter-version: '3.19.4' | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.1.2' | |
- run: flutter clean | |
- run: flutter pub get | |
- run: echo "${{ secrets.FIREBASE_OPTIONS }}" | base64 -d > ./lib/firebase_options.dart | |
- run: echo '${{ secrets.FIREBASE_APP_ID_FILE }}' | base64 -d > ./ios/firebase_app_id_file.json | |
- run: echo '${{ secrets.GOOGLE_SERVICE_IOS }}' | base64 -d > ./ios/Runner/GoogleService-Info.plist | |
- run: echo '${{ secrets.DOTENV }}' | base64 -d > .env | |
- run: echo '${{ secrets.SECRETS_XCCONFIG }}' | base64 -d > ./ios/Secrets.xcconfig | |
- name: Flutter release build ios | |
run: flutter build ios --release --no-codesign | |
- name: Deploy iOS Beta to TestFlight via Fastlane | |
uses: maierj/fastlane-action@v1.4.0 | |
with: | |
lane: closed_beta | |
subdirectory: ios | |
env: | |
ITC_TEAM_ID: '${{ secrets.ITC_TEAM_ID }}' | |
APPLICATION_ID: '${{ secrets.APPLICATION_ID }}' | |
BUNDLE_IDENTIFIER: '${{ secrets.BUNDLE_IDENTIFIER }}' | |
EXTENSION_IDENTIFIER: '${{ secrets.EXTENSION_IDENTIFIER }}' | |
DEVELOPER_PORTAL_TEAM_ID: '${{ secrets.DEVELOPER_PORTAL_TEAM_ID }}' | |
FASTLANE_APPLE_ID: '${{ secrets.FASTLANE_APPLE_EMAIL_ID }}' | |
FASTLANE_PASSWORD: '${{ secrets.FASTLANE_PASSWORD }}' | |
FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD: '${{ secrets.APP_SPECIFIC_PASSWORD }}' | |
MATCH_PASSWORD: '${{ secrets.MATCH_PASSWORD }}' | |
GIT_AUTHORIZATION: '${{ secrets.GIT_AUTHORIZATION }}' | |
PROVISIONING_PROFILE_SPECIFIER: '${{ secrets.PROVISIONING_PROFILE_SPECIFIER }}' | |
TEMP_KEYCHAIN_PASSWORD: '${{ secrets.TEMP_KEYCHAIN_PASSWORD }}' | |
TEMP_KEYCHAIN_USER: '${{ secrets.TEMP_KEYCHAIN_USER }}' | |