From a52eabe87bc8b7f4e4743c6f1547ec6460622c2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cu=CC=9Bo=CC=9Bng=20Nguye=CC=82=CC=83n?= Date: Sat, 23 Oct 2021 12:25:00 +0700 Subject: [PATCH] Remove flutter_flavorizr by dart defines --- .github/workflows/build.yml | 10 +- .github/workflows/release.yml | 22 +- .gitignore | 3 +- .run/Debug.run.xml | 7 - .run/DebugDev.run.xml | 7 + .run/Release.run.xml | 7 - android/app/build.gradle | 54 +- android/app/src/main/AndroidManifest.xml | 13 +- android/app/src/main/res/values/strings.xml | 4 - android/build.gradle | 4 +- ios/.gitignore | 1 + ios/Flutter/Debug.xcconfig | 1 + ios/Flutter/Release.xcconfig | 1 + ios/Flutter/devDebug.xcconfig | 6 - ios/Flutter/devRelease.xcconfig | 6 - ios/Flutter/prodDebug.xcconfig | 6 - ios/Flutter/prodRelease.xcconfig | 6 - ios/Flutter/stageDebug.xcconfig | 6 - ios/Flutter/stageRelease.xcconfig | 6 - ios/Podfile | 3 - ios/Podfile.lock | 2 +- ios/Runner.xcodeproj/project.pbxproj | 1057 ++--------------- .../xcshareddata/xcschemes/Runner.xcscheme | 28 +- .../xcshareddata/xcschemes/dev.xcscheme | 71 -- .../xcshareddata/xcschemes/prod.xcscheme | 71 -- .../xcshareddata/xcschemes/stage.xcscheme | 71 -- ios/Runner/Info.plist | 7 +- ios/Runner/devLaunchScreen.storyboard | 43 - ios/Runner/prodLaunchScreen.storyboard | 43 - ios/Runner/stageLaunchScreen.storyboard | 43 - lib/app.dart | 2 - lib/flavors.dart | 23 - lib/main-prod.dart | 24 - lib/main-stage.dart | 24 - lib/{main-dev.dart => main.dart} | 41 +- pubspec.lock | 9 +- pubspec.yaml | 64 - 37 files changed, 227 insertions(+), 1569 deletions(-) delete mode 100644 .run/Debug.run.xml create mode 100644 .run/DebugDev.run.xml delete mode 100644 .run/Release.run.xml delete mode 100644 android/app/src/main/res/values/strings.xml delete mode 100644 ios/Flutter/devDebug.xcconfig delete mode 100644 ios/Flutter/devRelease.xcconfig delete mode 100644 ios/Flutter/prodDebug.xcconfig delete mode 100644 ios/Flutter/prodRelease.xcconfig delete mode 100644 ios/Flutter/stageDebug.xcconfig delete mode 100644 ios/Flutter/stageRelease.xcconfig delete mode 100644 ios/Runner.xcodeproj/xcshareddata/xcschemes/dev.xcscheme delete mode 100644 ios/Runner.xcodeproj/xcshareddata/xcschemes/prod.xcscheme delete mode 100644 ios/Runner.xcodeproj/xcshareddata/xcschemes/stage.xcscheme delete mode 100644 ios/Runner/devLaunchScreen.storyboard delete mode 100644 ios/Runner/prodLaunchScreen.storyboard delete mode 100644 ios/Runner/stageLaunchScreen.storyboard delete mode 100644 lib/flavors.dart delete mode 100644 lib/main-prod.dart delete mode 100644 lib/main-stage.dart rename lib/{main-dev.dart => main.dart} (67%) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 49aeb463..4be12e03 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,7 @@ name: Build branches: - master env: - flutter_version: 2.5.2 + flutter_version: 2.5.3 jobs: build: name: Build @@ -23,7 +23,7 @@ jobs: flutter-version: '${{ env.flutter_version }}' - uses: actions/setup-java@v1 with: - java-version: '12.x' + java-version: 12.x - name: Get dependencies run: flutter pub get - name: Format source code @@ -47,5 +47,7 @@ jobs: - name: Build stage application run: >- flutter build apk --obfuscate - --split-debug-info=build/app/outputs/symbols --flavor stage - --split-per-abi --target lib/main-stage.dart + --split-debug-info=build/app/outputs/symbols --split-per-abi + --dart-define=ENV_APP_NAME="Hit Notes Stage" + --dart-define=ENV_FLAVOR=stage + --dart-define=ENV_FACEBOOK_APP_ID=134284937214878 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 69f4818a..279056a6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,7 +4,7 @@ name: Release tags: - '*' env: - flutter_version: 2.5.2 + flutter_version: 2.5.3 jobs: build: name: Build @@ -35,7 +35,7 @@ jobs: flutter-version: '${{ env.flutter_version }}' - uses: actions/setup-java@v1 with: - java-version: '12.x' + java-version: 12.x - name: Get dependencies run: flutter pub get - name: Add config files @@ -70,16 +70,20 @@ jobs: - name: Build stage application run: >- flutter build apk --obfuscate - --split-debug-info=build/app/outputs/symbols --flavor stage --target lib/main-stage.dart + --split-debug-info=build/app/outputs/symbols + --dart-define=ENV_APP_NAME="Hit Notes Stage" + --dart-define=ENV_FLAVOR=stage + --dart-define=ENV_FACEBOOK_APP_ID=134284937214878 - name: Build production application run: >- flutter build apk --obfuscate - --split-debug-info=build/app/outputs/symbols --flavor prod - --split-per-abi --target lib/main-prod.dart + --split-debug-info=build/app/outputs/symbols --split-per-abi + --dart-define=ENV_APP_NAME="Hit Notes" --dart-define=ENV_FLAVOR=prod + --dart-define=ENV_FACEBOOK_APP_ID=134284937214878 - name: Upload production to Google Play internal track run: >- cd android; fastlane supply --track=internal - --apk_paths=../build/app/outputs/flutter-apk/app-armeabi-v7a-prod-release.apk,../build/app/outputs/flutter-apk/app-arm64-v8a-prod-release.apk,../build/app/outputs/flutter-apk/app-x86_64-prod-release.apk + --apk_paths=../build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk,../build/app/outputs/flutter-apk/app-arm64-v8a-release.apk,../build/app/outputs/flutter-apk/app-x86_64-release.apk - name: Setup firebase uses: pocket-apps/action-setup-firebase@v2 with: @@ -87,8 +91,8 @@ jobs: - name: Distribute stage via Firebase run: >- firebase appdistribution:distribute - build/app/outputs/flutter-apk/app-stage-release.apk --app - "${{ secrets.STAGE_APP_ID }}" --release-notes "$(git log -1 + build/app/outputs/flutter-apk/app-release.apk --app "${{ + secrets.STAGE_APP_ID }}" --release-notes "$(git log -1 --pretty=short)" --groups testers - name: Build iOS - run: flutter build ios --debug --flavor=dev --no-codesign --target lib/main-dev.dart + run: flutter build ios --debug --no-codesign diff --git a/.gitignore b/.gitignore index 1ee332d0..0d910025 100644 --- a/.gitignore +++ b/.gitignore @@ -43,7 +43,6 @@ app.*.map.json google-services.json service_account.json +/ios/Flutter/Environment.xcconfig GoogleService-Info.plist /ios/build/ - -/flavor/ diff --git a/.run/Debug.run.xml b/.run/Debug.run.xml deleted file mode 100644 index e4aa3c3c..00000000 --- a/.run/Debug.run.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/.run/DebugDev.run.xml b/.run/DebugDev.run.xml new file mode 100644 index 00000000..347c95aa --- /dev/null +++ b/.run/DebugDev.run.xml @@ -0,0 +1,7 @@ + + + + \ No newline at end of file diff --git a/.run/Release.run.xml b/.run/Release.run.xml deleted file mode 100644 index b97c320e..00000000 --- a/.run/Release.run.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - \ No newline at end of file diff --git a/android/app/build.gradle b/android/app/build.gradle index 1448007e..5c1a9442 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -17,6 +17,30 @@ if (flutterRoot == null) { throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") } +def dartEnvironmentVariables = [:] +if (project.hasProperty('dart-defines')) { + dartEnvironmentVariables = dartEnvironmentVariables + project.property('dart-defines') + .split(',') + .collectEntries { entry -> + def pair = new String(entry.decodeBase64(), 'UTF-8').split('=') + [(pair.first()): pair.last()] + } +} + +task copyGoogleServicesJson(type: Copy) { + from "src/${dartEnvironmentVariables.ENV_FLAVOR}/google-services.json" + into './' +} + +tasks.whenTaskAdded { task -> + if (task.name == 'processDebugGoogleServices') { + task.dependsOn copyGoogleServicesJson + } + if (task.name == 'processReleaseGoogleServices') { + task.dependsOn copyGoogleServicesJson + } +} + apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" @@ -24,31 +48,7 @@ apply plugin: 'com.google.gms.google-services' apply plugin: 'com.google.firebase.crashlytics' android { - - // ----- BEGIN flavorDimensions (autogenerated by flutter_flavorizr) ----- - flavorDimensions "default" - - productFlavors { - dev { - dimension "default" - applicationId "com.chaomao.hittick" - resValue "string", "app_name", "Hit Notes Dev" - } - stage { - dimension "default" - applicationId "com.chaomao.hittick" - resValue "string", "app_name", "Hit Notes Stage" - } - prod { - dimension "default" - applicationId "com.chaomao.hittick" - resValue "string", "app_name", "Hit Notes" - } - } - - // ----- END flavorDimensions (autogenerated by flutter_flavorizr) ----- - - compileSdkVersion = 30 + compileSdkVersion 31 compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 @@ -64,9 +64,11 @@ android { } defaultConfig { + resValue "string", "app_name", dartEnvironmentVariables.ENV_APP_NAME ? dartEnvironmentVariables.ENV_APP_NAME : "hittick" + resValue "string", "facebook_app_id", dartEnvironmentVariables.ENV_FACEBOOK_APP_ID ? dartEnvironmentVariables.ENV_FACEBOOK_APP_ID : "" applicationId "com.chaomao.hittick" minSdkVersion 16 - targetSdkVersion 30 + targetSdkVersion 31 multiDexEnabled true versionCode 32 versionName "1.2.9" diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 5b012d08..47d95481 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -8,6 +8,7 @@ + android:name="com.facebook.sdk.ApplicationId" + android:value="@string/facebook_app_id" /> + android:name="flutterEmbedding" + android:value="2" /> - - + + diff --git a/android/app/src/main/res/values/strings.xml b/android/app/src/main/res/values/strings.xml deleted file mode 100644 index 80125b10..00000000 --- a/android/app/src/main/res/values/strings.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - 134284937214878 - diff --git a/android/build.gradle b/android/build.gradle index 6ca0c136..bcbddca5 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,12 +1,12 @@ buildscript { - ext.kotlin_version = '1.5.30' + ext.kotlin_version = '1.5.31' repositories { google() mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:7.0.2' + classpath 'com.android.tools.build:gradle:7.0.3' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath 'com.google.gms:google-services:4.3.10' classpath 'com.google.firebase:firebase-crashlytics-gradle:2.7.1' diff --git a/ios/.gitignore b/ios/.gitignore index 151026b9..7a7f9873 100644 --- a/ios/.gitignore +++ b/ios/.gitignore @@ -1,3 +1,4 @@ +**/dgph *.mode1v3 *.mode2v3 *.moved-aside diff --git a/ios/Flutter/Debug.xcconfig b/ios/Flutter/Debug.xcconfig index ec97fc6f..5b285159 100644 --- a/ios/Flutter/Debug.xcconfig +++ b/ios/Flutter/Debug.xcconfig @@ -1,2 +1,3 @@ #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" #include "Generated.xcconfig" +#include "Environment.xcconfig" diff --git a/ios/Flutter/Release.xcconfig b/ios/Flutter/Release.xcconfig index c4855bfe..bb1d7a95 100644 --- a/ios/Flutter/Release.xcconfig +++ b/ios/Flutter/Release.xcconfig @@ -1,2 +1,3 @@ #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" #include "Generated.xcconfig" +#include "Environment.xcconfig" diff --git a/ios/Flutter/devDebug.xcconfig b/ios/Flutter/devDebug.xcconfig deleted file mode 100644 index 389fec80..00000000 --- a/ios/Flutter/devDebug.xcconfig +++ /dev/null @@ -1,6 +0,0 @@ -#include "Generated.xcconfig" - -FLUTTER_TARGET=lib/main-dev.dart - -ASSET_PREFIX=dev -BUNDLE_NAME=Hit Notes Dev diff --git a/ios/Flutter/devRelease.xcconfig b/ios/Flutter/devRelease.xcconfig deleted file mode 100644 index 389fec80..00000000 --- a/ios/Flutter/devRelease.xcconfig +++ /dev/null @@ -1,6 +0,0 @@ -#include "Generated.xcconfig" - -FLUTTER_TARGET=lib/main-dev.dart - -ASSET_PREFIX=dev -BUNDLE_NAME=Hit Notes Dev diff --git a/ios/Flutter/prodDebug.xcconfig b/ios/Flutter/prodDebug.xcconfig deleted file mode 100644 index bcb1d5be..00000000 --- a/ios/Flutter/prodDebug.xcconfig +++ /dev/null @@ -1,6 +0,0 @@ -#include "Generated.xcconfig" - -FLUTTER_TARGET=lib/main-prod.dart - -ASSET_PREFIX=prod -BUNDLE_NAME=Hit Notes diff --git a/ios/Flutter/prodRelease.xcconfig b/ios/Flutter/prodRelease.xcconfig deleted file mode 100644 index bcb1d5be..00000000 --- a/ios/Flutter/prodRelease.xcconfig +++ /dev/null @@ -1,6 +0,0 @@ -#include "Generated.xcconfig" - -FLUTTER_TARGET=lib/main-prod.dart - -ASSET_PREFIX=prod -BUNDLE_NAME=Hit Notes diff --git a/ios/Flutter/stageDebug.xcconfig b/ios/Flutter/stageDebug.xcconfig deleted file mode 100644 index 44aa61b2..00000000 --- a/ios/Flutter/stageDebug.xcconfig +++ /dev/null @@ -1,6 +0,0 @@ -#include "Generated.xcconfig" - -FLUTTER_TARGET=lib/main-stage.dart - -ASSET_PREFIX=stage -BUNDLE_NAME=Hit Notes Stage diff --git a/ios/Flutter/stageRelease.xcconfig b/ios/Flutter/stageRelease.xcconfig deleted file mode 100644 index 44aa61b2..00000000 --- a/ios/Flutter/stageRelease.xcconfig +++ /dev/null @@ -1,6 +0,0 @@ -#include "Generated.xcconfig" - -FLUTTER_TARGET=lib/main-stage.dart - -ASSET_PREFIX=stage -BUNDLE_NAME=Hit Notes Stage diff --git a/ios/Podfile b/ios/Podfile index 60c141f9..814fe9d2 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -45,9 +45,6 @@ post_install do |installer| config.build_settings['EXPANDED_CODE_SIGN_IDENTITY'] = "" config.build_settings['CODE_SIGNING_REQUIRED'] = "NO" config.build_settings['CODE_SIGNING_ALLOWED'] = "NO" - - # https://github.com/flutter/flutter/issues/57839 - config.build_settings['ENABLE_BITCODE'] = 'NO' end end end diff --git a/ios/Podfile.lock b/ios/Podfile.lock index cd647ecd..9fd1b881 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -671,6 +671,6 @@ SPEC CHECKSUMS: sqflite: 6d358c025f5b867b29ed92fc697fd34924e11904 url_launcher: b6e016d912f04be9f5bf6e8e82dc599b7ba59649 -PODFILE CHECKSUM: 2b69b992653b5b0372b3ed3993c7a9eb102a4095 +PODFILE CHECKSUM: 52850884bc4fe89b720ca304751837c651c6cba9 COCOAPODS: 1.11.2 diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 4d385aa1..c734dcef 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -8,23 +8,15 @@ /* Begin PBXBuildFile section */ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; - 1F68C26B9FE4D516D2362A78 /* stageRelease.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = E6439C7E93ED055ED9B847FB /* stageRelease.xcconfig */; }; - 2E652BA391720B5632C7F53A /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 28BE25B9FD8E6DEE41B076CB /* GoogleService-Info.plist */; }; 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; - 598C64110415CF4FC3EA5679 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BBAE23DB407C22271730E77D /* Pods_Runner.framework */; }; - 59F59F293258360930E750E7 /* devRelease.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 2F708F85BF0F22999EB6DF5D /* devRelease.xcconfig */; }; - 5ADF1E81F59C9754EBF5D871 /* prodRelease.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = EA3B29DE7A78AC09785CC885 /* prodRelease.xcconfig */; }; - 61B8B590D8FFE40E49B62ADD /* devLaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D9B17C02C7C6888CB61102F6 /* devLaunchScreen.storyboard */; }; - 660AC962B4A17A059B5D4A73 /* stageLaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5A09A2E56C88C827BB0521CF /* stageLaunchScreen.storyboard */; }; 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; - 79D377D0EBAC9015CF5AEAD2 /* prodLaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 62251494172338E2F422A2F5 /* prodLaunchScreen.storyboard */; }; - 7B213E5B9E1DBFD9F225738F /* stageDebug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 1AC1B245F6E09E84DB533465 /* stageDebug.xcconfig */; }; 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; - C931FB1126F79377007A947E /* SoundMethodCallHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = C931FB1026F79377007A947E /* SoundMethodCallHandler.swift */; }; - D3DA1833A16DED4795C713A9 /* prodDebug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 472AEC3F0DCC0979DB47A787 /* prodDebug.xcconfig */; }; - F56590B2B9910388E05B5131 /* devDebug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 8785B751E9DE6F327C1D51E8 /* devDebug.xcconfig */; }; + C941DDFE2723F1B600D9CAF2 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = C941DDFD2723F1B600D9CAF2 /* GoogleService-Info.plist */; }; + C941DE002723F1E000D9CAF2 /* Environment.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = C941DDFF2723F1E000D9CAF2 /* Environment.xcconfig */; }; + C941DE022723F2B100D9CAF2 /* SoundMethodCallHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = C941DE012723F2B100D9CAF2 /* SoundMethodCallHandler.swift */; }; + E092D463356C9868B016FAEF /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 689C9733B39705E0912A43C4 /* Pods_Runner.framework */; }; /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -41,27 +33,15 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ - 03A3DC7C99DB6A3B97FDECF5 /* Pods-Runner.profile-prod.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile-prod.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile-prod.xcconfig"; sourceTree = ""; }; 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; - 18CDA78305019395724C8D36 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; - 1AC1B245F6E09E84DB533465 /* stageDebug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = stageDebug.xcconfig; path = Flutter/stageDebug.xcconfig; sourceTree = ""; }; - 28BE25B9FD8E6DEE41B076CB /* GoogleService-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = "GoogleService-Info.plist"; path = "Runner/GoogleService-Info.plist"; sourceTree = ""; }; - 2EF0DEB7C9775A437F9EF300 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; - 2F708F85BF0F22999EB6DF5D /* devRelease.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = devRelease.xcconfig; path = Flutter/devRelease.xcconfig; sourceTree = ""; }; + 2670E3767FCF130B0480E2F1 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; + 35DAAB5CD9ED4A7490E04718 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; - 472AEC3F0DCC0979DB47A787 /* prodDebug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = prodDebug.xcconfig; path = Flutter/prodDebug.xcconfig; sourceTree = ""; }; - 511E919DCEF074AD1D1A813E /* Pods-Runner.release-dev.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release-dev.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release-dev.xcconfig"; sourceTree = ""; }; - 5A09A2E56C88C827BB0521CF /* stageLaunchScreen.storyboard */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file.storyboard; name = stageLaunchScreen.storyboard; path = Runner/stageLaunchScreen.storyboard; sourceTree = ""; }; - 62251494172338E2F422A2F5 /* prodLaunchScreen.storyboard */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file.storyboard; name = prodLaunchScreen.storyboard; path = Runner/prodLaunchScreen.storyboard; sourceTree = ""; }; - 6B15C2EAEA05D5146FC359C7 /* Pods-Runner.profile-dev.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile-dev.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile-dev.xcconfig"; sourceTree = ""; }; + 689C9733B39705E0912A43C4 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; - 843AA763205A22485B8A7E70 /* Pods-Runner.release-stage.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release-stage.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release-stage.xcconfig"; sourceTree = ""; }; - 85B922E4B46B0FD22FF68545 /* Pods-Runner.debug-stage.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug-stage.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug-stage.xcconfig"; sourceTree = ""; }; - 8785B751E9DE6F327C1D51E8 /* devDebug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = devDebug.xcconfig; path = Flutter/devDebug.xcconfig; sourceTree = ""; }; - 937A66A77DBF5BCFF177AA3C /* Pods-Runner.debug-prod.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug-prod.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug-prod.xcconfig"; sourceTree = ""; }; 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -69,15 +49,10 @@ 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - BBAE23DB407C22271730E77D /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - BBB96720972B0027B6CEACF8 /* Pods-Runner.release-prod.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release-prod.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release-prod.xcconfig"; sourceTree = ""; }; - BCBAADFAA81087941D9994F3 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; - C931FB1026F79377007A947E /* SoundMethodCallHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SoundMethodCallHandler.swift; sourceTree = ""; }; - D1D1D900C2E8897E51EDA511 /* Pods-Runner.profile-stage.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile-stage.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile-stage.xcconfig"; sourceTree = ""; }; - D84A7E001E1D813A63BB96CB /* Pods-Runner.debug-dev.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug-dev.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug-dev.xcconfig"; sourceTree = ""; }; - D9B17C02C7C6888CB61102F6 /* devLaunchScreen.storyboard */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file.storyboard; name = devLaunchScreen.storyboard; path = Runner/devLaunchScreen.storyboard; sourceTree = ""; }; - E6439C7E93ED055ED9B847FB /* stageRelease.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = stageRelease.xcconfig; path = Flutter/stageRelease.xcconfig; sourceTree = ""; }; - EA3B29DE7A78AC09785CC885 /* prodRelease.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = prodRelease.xcconfig; path = Flutter/prodRelease.xcconfig; sourceTree = ""; }; + C167F9BDF7529787664F5384 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; + C941DDFD2723F1B600D9CAF2 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = ""; }; + C941DDFF2723F1E000D9CAF2 /* Environment.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Environment.xcconfig; path = Flutter/Environment.xcconfig; sourceTree = ""; }; + C941DE012723F2B100D9CAF2 /* SoundMethodCallHandler.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SoundMethodCallHandler.swift; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -85,53 +60,31 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 598C64110415CF4FC3EA5679 /* Pods_Runner.framework in Frameworks */, + E092D463356C9868B016FAEF /* Pods_Runner.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 37DB24512EF2B449D96E910D /* Pods */ = { + 874C39BDA4F53EB510416F25 /* Pods */ = { isa = PBXGroup; children = ( - BCBAADFAA81087941D9994F3 /* Pods-Runner.debug.xcconfig */, - 2EF0DEB7C9775A437F9EF300 /* Pods-Runner.release.xcconfig */, - 18CDA78305019395724C8D36 /* Pods-Runner.profile.xcconfig */, - D84A7E001E1D813A63BB96CB /* Pods-Runner.debug-dev.xcconfig */, - 6B15C2EAEA05D5146FC359C7 /* Pods-Runner.profile-dev.xcconfig */, - 511E919DCEF074AD1D1A813E /* Pods-Runner.release-dev.xcconfig */, - 85B922E4B46B0FD22FF68545 /* Pods-Runner.debug-stage.xcconfig */, - D1D1D900C2E8897E51EDA511 /* Pods-Runner.profile-stage.xcconfig */, - 843AA763205A22485B8A7E70 /* Pods-Runner.release-stage.xcconfig */, - 937A66A77DBF5BCFF177AA3C /* Pods-Runner.debug-prod.xcconfig */, - 03A3DC7C99DB6A3B97FDECF5 /* Pods-Runner.profile-prod.xcconfig */, - BBB96720972B0027B6CEACF8 /* Pods-Runner.release-prod.xcconfig */, + 2670E3767FCF130B0480E2F1 /* Pods-Runner.debug.xcconfig */, + 35DAAB5CD9ED4A7490E04718 /* Pods-Runner.release.xcconfig */, + C167F9BDF7529787664F5384 /* Pods-Runner.profile.xcconfig */, ); path = Pods; sourceTree = ""; }; - 6C5CC04194ABFE5B3BAC802B /* Frameworks */ = { - isa = PBXGroup; - children = ( - BBAE23DB407C22271730E77D /* Pods_Runner.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; 9740EEB11CF90186004384FC /* Flutter */ = { isa = PBXGroup; children = ( + C941DDFF2723F1E000D9CAF2 /* Environment.xcconfig */, 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, 9740EEB21CF90195004384FC /* Debug.xcconfig */, 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, 9740EEB31CF90195004384FC /* Generated.xcconfig */, - 8785B751E9DE6F327C1D51E8 /* devDebug.xcconfig */, - 2F708F85BF0F22999EB6DF5D /* devRelease.xcconfig */, - 1AC1B245F6E09E84DB533465 /* stageDebug.xcconfig */, - E6439C7E93ED055ED9B847FB /* stageRelease.xcconfig */, - 472AEC3F0DCC0979DB47A787 /* prodDebug.xcconfig */, - EA3B29DE7A78AC09785CC885 /* prodRelease.xcconfig */, ); name = Flutter; sourceTree = ""; @@ -142,12 +95,8 @@ 9740EEB11CF90186004384FC /* Flutter */, 97C146F01CF9000F007C117D /* Runner */, 97C146EF1CF9000F007C117D /* Products */, - D9B17C02C7C6888CB61102F6 /* devLaunchScreen.storyboard */, - 5A09A2E56C88C827BB0521CF /* stageLaunchScreen.storyboard */, - 62251494172338E2F422A2F5 /* prodLaunchScreen.storyboard */, - 28BE25B9FD8E6DEE41B076CB /* GoogleService-Info.plist */, - 37DB24512EF2B449D96E910D /* Pods */, - 6C5CC04194ABFE5B3BAC802B /* Frameworks */, + 874C39BDA4F53EB510416F25 /* Pods */, + A3706918736C384BD85E4EFC /* Frameworks */, ); sourceTree = ""; }; @@ -162,7 +111,8 @@ 97C146F01CF9000F007C117D /* Runner */ = { isa = PBXGroup; children = ( - C931FB1026F79377007A947E /* SoundMethodCallHandler.swift */, + C941DE012723F2B100D9CAF2 /* SoundMethodCallHandler.swift */, + C941DDFD2723F1B600D9CAF2 /* GoogleService-Info.plist */, 97C146FA1CF9000F007C117D /* Main.storyboard */, 97C146FD1CF9000F007C117D /* Assets.xcassets */, 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, @@ -175,6 +125,14 @@ path = Runner; sourceTree = ""; }; + A3706918736C384BD85E4EFC /* Frameworks */ = { + isa = PBXGroup; + children = ( + 689C9733B39705E0912A43C4 /* Pods_Runner.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -182,16 +140,15 @@ isa = PBXNativeTarget; buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; buildPhases = ( - 8DC7CA7D6140387A70CA925C /* [CP] Check Pods Manifest.lock */, - DFC5486E7E90CC8D7DD73AEC /* Firebase Setup */, + CA82706ED2A31A641D32CE42 /* [CP] Check Pods Manifest.lock */, 9740EEB61CF901F6004384FC /* Run Script */, 97C146EA1CF9000F007C117D /* Sources */, 97C146EB1CF9000F007C117D /* Frameworks */, 97C146EC1CF9000F007C117D /* Resources */, 9705A1C41CF9048500538489 /* Embed Frameworks */, 3B06AD1E1E4923F5004D2608 /* Thin Binary */, - 701ACC4883EDDFCFF9FF0F8C /* [CP] Embed Pods Frameworks */, - 387BBDDFFA2AE00D0ECF395B /* [CP] Copy Pods Resources */, + 7D4CFA0B199CC78C40FA5F1D /* [CP] Embed Pods Frameworks */, + 71D61F9E6CD42BFF3E0F148A /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -240,43 +197,18 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + C941DE002723F1E000D9CAF2 /* Environment.xcconfig in Resources */, 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, + C941DDFE2723F1B600D9CAF2 /* GoogleService-Info.plist in Resources */, 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, - F56590B2B9910388E05B5131 /* devDebug.xcconfig in Resources */, - 59F59F293258360930E750E7 /* devRelease.xcconfig in Resources */, - 7B213E5B9E1DBFD9F225738F /* stageDebug.xcconfig in Resources */, - 1F68C26B9FE4D516D2362A78 /* stageRelease.xcconfig in Resources */, - D3DA1833A16DED4795C713A9 /* prodDebug.xcconfig in Resources */, - 5ADF1E81F59C9754EBF5D871 /* prodRelease.xcconfig in Resources */, - 61B8B590D8FFE40E49B62ADD /* devLaunchScreen.storyboard in Resources */, - 660AC962B4A17A059B5D4A73 /* stageLaunchScreen.storyboard in Resources */, - 79D377D0EBAC9015CF5AEAD2 /* prodLaunchScreen.storyboard in Resources */, - 2E652BA391720B5632C7F53A /* GoogleService-Info.plist in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ - 387BBDDFFA2AE00D0ECF395B /* [CP] Copy Pods Resources */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist", - ); - name = "[CP] Copy Pods Resources"; - outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist", - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n"; - showEnvVarsInLog = 0; - }; 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; @@ -291,43 +223,38 @@ shellPath = /bin/sh; shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; }; - 701ACC4883EDDFCFF9FF0F8C /* [CP] Embed Pods Frameworks */ = { + 71D61F9E6CD42BFF3E0F148A /* [CP] Copy Pods Resources */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist", ); - name = "[CP] Embed Pods Frameworks"; + name = "[CP] Copy Pods Resources"; outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n"; showEnvVarsInLog = 0; }; - 8DC7CA7D6140387A70CA925C /* [CP] Check Pods Manifest.lock */ = { + 7D4CFA0B199CC78C40FA5F1D /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; + name = "[CP] Embed Pods Frameworks"; outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; 9740EEB61CF901F6004384FC /* Run Script */ = { @@ -344,7 +271,7 @@ shellPath = /bin/sh; shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; }; - DFC5486E7E90CC8D7DD73AEC /* Firebase Setup */ = { + CA82706ED2A31A641D32CE42 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -352,15 +279,19 @@ inputFileListPaths = ( ); inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", ); - name = "Firebase Setup"; + name = "[CP] Check Pods Manifest.lock"; outputFileListPaths = ( ); outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "if [ \"$CONFIGURATION\" == \"Debug-dev\" ] || [ \"$CONFIGURATION\" == \"Release-dev\" ]; then\n cp Runner/dev/GoogleService-Info.plist Runner/GoogleService-Info.plist\nelif [ \"$CONFIGURATION\" == \"Debug-stage\" ] || [ \"$CONFIGURATION\" == \"Release-stage\" ]; then\n cp Runner/stage/GoogleService-Info.plist Runner/GoogleService-Info.plist\nelif [ \"$CONFIGURATION\" == \"Debug-prod\" ] || [ \"$CONFIGURATION\" == \"Release-prod\" ]; then\n cp Runner/prod/GoogleService-Info.plist Runner/GoogleService-Info.plist\nfi\n\n"; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; }; /* End PBXShellScriptBuildPhase section */ @@ -370,7 +301,7 @@ buildActionMask = 2147483647; files = ( 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, - C931FB1126F79377007A947E /* SoundMethodCallHandler.swift in Sources */, + C941DE022723F2B100D9CAF2 /* SoundMethodCallHandler.swift in Sources */, 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -397,12 +328,10 @@ /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ - 044308FEB147E5A77C7248ED /* Debug-stage */ = { + 249021D3217E4FDB00AE95B9 /* Profile */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 1AC1B245F6E09E84DB533465 /* stageDebug.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; @@ -429,56 +358,54 @@ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_BITCODE = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "i386 arm64"; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - GOOGLE_SERVICE_REVERSED_CLIENT_ID = "com.googleusercontent.apps.839556303918-sjt2kvium8hd02orlelqujl5c3e4rb8k"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SUPPORTED_PLATFORMS = iphoneos; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + }; + name = Profile; + }; + 249021D4217E4FDB00AE95B9 /* Profile */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_STYLE = Manual; + CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + DEVELOPMENT_TEAM = ""; + ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.1; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; PRODUCT_BUNDLE_IDENTIFIER = com.chaomao.hittick; - SDKROOT = iphoneos; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; }; - name = "Debug-stage"; + name = Profile; }; - 0C43477221DD3E0F92FDC400 /* Release-prod */ = { + 97C147031CF9000F007C117D /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = EA3B29DE7A78AC09785CC885 /* prodRelease.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ANALYZER_NONNULL = YES; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; @@ -505,48 +432,32 @@ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_BITCODE = NO; - ENABLE_NS_ASSERTIONS = NO; + DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; - "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "i386 arm64"; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); + ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - GOOGLE_SERVICE_REVERSED_CLIENT_ID = "com.googleusercontent.apps.839556303918-sjt2kvium8hd02orlelqujl5c3e4rb8k"; - INFOPLIST_FILE = Runner/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.1; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); - MTL_ENABLE_DEBUG_INFO = NO; - PRODUCT_BUNDLE_IDENTIFIER = com.chaomao.hittick; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; }; - name = "Release-prod"; + name = Debug; }; - 249021D3217E4FDB00AE95B9 /* Profile */ = { + 97C147041CF9000F007C117D /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; @@ -591,14 +502,16 @@ MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; }; - name = Profile; + name = Release; }; - 249021D4217E4FDB00AE95B9 /* Profile */ = { + 97C147061CF9000F007C117D /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; + baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; @@ -615,774 +528,36 @@ PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; }; - name = Profile; + name = Debug; }; - 4FD8177A1D863FBC7A752BB1 /* Profile-dev */ = { + 97C147071CF9000F007C117D /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + CODE_SIGN_STYLE = Manual; + CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + DEVELOPMENT_TEAM = ""; ENABLE_BITCODE = NO; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "i386 arm64"; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - GOOGLE_SERVICE_REVERSED_CLIENT_ID = "com.googleusercontent.apps.839556303918-sjt2kvium8hd02orlelqujl5c3e4rb8k"; INFOPLIST_FILE = Runner/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.1; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", ); - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); - MTL_ENABLE_DEBUG_INFO = NO; PRODUCT_BUNDLE_IDENTIFIER = com.chaomao.hittick; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = "Profile-dev"; - }; - 5D09F8C3952D26D1F88C32A2 /* Debug-prod */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 472AEC3F0DCC0979DB47A787 /* prodDebug.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_BITCODE = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "i386 arm64"; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - GOOGLE_SERVICE_REVERSED_CLIENT_ID = "com.googleusercontent.apps.839556303918-sjt2kvium8hd02orlelqujl5c3e4rb8k"; - INFOPLIST_FILE = Runner/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.1; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_BUNDLE_IDENTIFIER = com.chaomao.hittick; - SDKROOT = iphoneos; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = "Debug-prod"; - }; - 5D7B8D6E05D97B98052A33C7 /* Profile-stage */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_BITCODE = NO; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "i386 arm64"; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - GOOGLE_SERVICE_REVERSED_CLIENT_ID = "com.googleusercontent.apps.839556303918-sjt2kvium8hd02orlelqujl5c3e4rb8k"; - INFOPLIST_FILE = Runner/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.1; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); - MTL_ENABLE_DEBUG_INFO = NO; - PRODUCT_BUNDLE_IDENTIFIER = com.chaomao.hittick; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = "Profile-stage"; - }; - 76A7B9C981A5DA49D5322F1D /* Profile-prod */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_BITCODE = NO; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "i386 arm64"; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - GOOGLE_SERVICE_REVERSED_CLIENT_ID = "com.googleusercontent.apps.839556303918-sjt2kvium8hd02orlelqujl5c3e4rb8k"; - INFOPLIST_FILE = Runner/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.1; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); - MTL_ENABLE_DEBUG_INFO = NO; - PRODUCT_BUNDLE_IDENTIFIER = com.chaomao.hittick; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = "Profile-prod"; - }; - 8930DFCA51929430D937E7A9 /* Release-dev */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 2F708F85BF0F22999EB6DF5D /* devRelease.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_BITCODE = NO; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "i386 arm64"; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - GOOGLE_SERVICE_REVERSED_CLIENT_ID = "com.googleusercontent.apps.839556303918-sjt2kvium8hd02orlelqujl5c3e4rb8k"; - INFOPLIST_FILE = Runner/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.1; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); - MTL_ENABLE_DEBUG_INFO = NO; - PRODUCT_BUNDLE_IDENTIFIER = com.chaomao.hittick; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = "Release-dev"; - }; - 91D1C4A758C540BCFF9931B3 /* Debug-dev */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 8785B751E9DE6F327C1D51E8 /* devDebug.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_BITCODE = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "i386 arm64"; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - GOOGLE_SERVICE_REVERSED_CLIENT_ID = "com.googleusercontent.apps.839556303918-sjt2kvium8hd02orlelqujl5c3e4rb8k"; - INFOPLIST_FILE = Runner/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.1; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_BUNDLE_IDENTIFIER = com.chaomao.hittick; - SDKROOT = iphoneos; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = "Debug-dev"; - }; - 97C147031CF9000F007C117D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 97C147041CF9000F007C117D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 97C147061CF9000F007C117D /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = ""; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.chaomao.hittick; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Debug; - }; - 97C147071CF9000F007C117D /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = ""; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.chaomao.hittick; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; + VERSIONING_SYSTEM = "apple-generic"; }; name = Release; }; - 9A3E9A421A94A406A8F5E137 /* Release-stage */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = E6439C7E93ED055ED9B847FB /* stageRelease.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_BITCODE = NO; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "i386 arm64"; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - GOOGLE_SERVICE_REVERSED_CLIENT_ID = "com.googleusercontent.apps.839556303918-sjt2kvium8hd02orlelqujl5c3e4rb8k"; - INFOPLIST_FILE = Runner/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.1; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); - MTL_ENABLE_DEBUG_INFO = NO; - PRODUCT_BUNDLE_IDENTIFIER = com.chaomao.hittick; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = "Release-stage"; - }; - C931FB0726F7935A007A947E /* Debug-dev */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D84A7E001E1D813A63BB96CB /* Pods-Runner.debug-dev.xcconfig */; - buildSettings = { - CODE_SIGN_STYLE = Manual; - DEVELOPMENT_TEAM = ""; - PRODUCT_NAME = Runner; - PROVISIONING_PROFILE_SPECIFIER = ""; - }; - name = "Debug-dev"; - }; - C931FB0826F7935A007A947E /* Profile-dev */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 6B15C2EAEA05D5146FC359C7 /* Pods-Runner.profile-dev.xcconfig */; - buildSettings = { - CODE_SIGN_STYLE = Manual; - DEVELOPMENT_TEAM = ""; - PRODUCT_NAME = Runner; - PROVISIONING_PROFILE_SPECIFIER = ""; - }; - name = "Profile-dev"; - }; - C931FB0926F7935A007A947E /* Release-dev */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 511E919DCEF074AD1D1A813E /* Pods-Runner.release-dev.xcconfig */; - buildSettings = { - CODE_SIGN_STYLE = Manual; - DEVELOPMENT_TEAM = ""; - PRODUCT_NAME = Runner; - PROVISIONING_PROFILE_SPECIFIER = ""; - }; - name = "Release-dev"; - }; - C931FB0A26F7935A007A947E /* Debug-stage */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 85B922E4B46B0FD22FF68545 /* Pods-Runner.debug-stage.xcconfig */; - buildSettings = { - CODE_SIGN_STYLE = Manual; - DEVELOPMENT_TEAM = ""; - PRODUCT_NAME = Runner; - PROVISIONING_PROFILE_SPECIFIER = ""; - }; - name = "Debug-stage"; - }; - C931FB0B26F7935A007A947E /* Profile-stage */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D1D1D900C2E8897E51EDA511 /* Pods-Runner.profile-stage.xcconfig */; - buildSettings = { - CODE_SIGN_STYLE = Manual; - DEVELOPMENT_TEAM = ""; - PRODUCT_NAME = Runner; - PROVISIONING_PROFILE_SPECIFIER = ""; - }; - name = "Profile-stage"; - }; - C931FB0C26F7935A007A947E /* Release-stage */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 843AA763205A22485B8A7E70 /* Pods-Runner.release-stage.xcconfig */; - buildSettings = { - CODE_SIGN_STYLE = Manual; - DEVELOPMENT_TEAM = ""; - PRODUCT_NAME = Runner; - PROVISIONING_PROFILE_SPECIFIER = ""; - }; - name = "Release-stage"; - }; - C931FB0D26F7935A007A947E /* Debug-prod */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 937A66A77DBF5BCFF177AA3C /* Pods-Runner.debug-prod.xcconfig */; - buildSettings = { - CODE_SIGN_STYLE = Manual; - DEVELOPMENT_TEAM = ""; - PRODUCT_NAME = Runner; - PROVISIONING_PROFILE_SPECIFIER = ""; - }; - name = "Debug-prod"; - }; - C931FB0E26F7935A007A947E /* Profile-prod */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 03A3DC7C99DB6A3B97FDECF5 /* Pods-Runner.profile-prod.xcconfig */; - buildSettings = { - CODE_SIGN_STYLE = Manual; - DEVELOPMENT_TEAM = ""; - PRODUCT_NAME = Runner; - PROVISIONING_PROFILE_SPECIFIER = ""; - }; - name = "Profile-prod"; - }; - C931FB0F26F7935A007A947E /* Release-prod */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = BBB96720972B0027B6CEACF8 /* Pods-Runner.release-prod.xcconfig */; - buildSettings = { - CODE_SIGN_STYLE = Manual; - DEVELOPMENT_TEAM = ""; - PRODUCT_NAME = Runner; - PROVISIONING_PROFILE_SPECIFIER = ""; - }; - name = "Release-prod"; - }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -1392,15 +567,6 @@ 97C147031CF9000F007C117D /* Debug */, 97C147041CF9000F007C117D /* Release */, 249021D3217E4FDB00AE95B9 /* Profile */, - 91D1C4A758C540BCFF9931B3 /* Debug-dev */, - 4FD8177A1D863FBC7A752BB1 /* Profile-dev */, - 8930DFCA51929430D937E7A9 /* Release-dev */, - 044308FEB147E5A77C7248ED /* Debug-stage */, - 5D7B8D6E05D97B98052A33C7 /* Profile-stage */, - 9A3E9A421A94A406A8F5E137 /* Release-stage */, - 5D09F8C3952D26D1F88C32A2 /* Debug-prod */, - 76A7B9C981A5DA49D5322F1D /* Profile-prod */, - 0C43477221DD3E0F92FDC400 /* Release-prod */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; @@ -1411,15 +577,6 @@ 97C147061CF9000F007C117D /* Debug */, 97C147071CF9000F007C117D /* Release */, 249021D4217E4FDB00AE95B9 /* Profile */, - C931FB0726F7935A007A947E /* Debug-dev */, - C931FB0826F7935A007A947E /* Profile-dev */, - C931FB0926F7935A007A947E /* Release-dev */, - C931FB0A26F7935A007A947E /* Debug-stage */, - C931FB0B26F7935A007A947E /* Profile-stage */, - C931FB0C26F7935A007A947E /* Release-stage */, - C931FB0D26F7935A007A947E /* Debug-prod */, - C931FB0E26F7935A007A947E /* Profile-prod */, - C931FB0F26F7935A007A947E /* Release-prod */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; diff --git a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index a28140cf..146664e2 100644 --- a/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,10 +1,28 @@ + version = "1.7"> + + + + + + + + + + - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/ios/Runner.xcodeproj/xcshareddata/xcschemes/prod.xcscheme b/ios/Runner.xcodeproj/xcshareddata/xcschemes/prod.xcscheme deleted file mode 100644 index 3cf80c8a..00000000 --- a/ios/Runner.xcodeproj/xcshareddata/xcschemes/prod.xcscheme +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/ios/Runner.xcodeproj/xcshareddata/xcschemes/stage.xcscheme b/ios/Runner.xcodeproj/xcshareddata/xcschemes/stage.xcscheme deleted file mode 100644 index 7b7cd931..00000000 --- a/ios/Runner.xcodeproj/xcshareddata/xcschemes/stage.xcscheme +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index e60ed703..7d1f9c1a 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -11,7 +11,7 @@ CFBundleInfoDictionaryVersion 6.0 CFBundleName - $(BUNDLE_NAME) + $(ENV_APP_NAME) CFBundlePackageType APPL CFBundleShortVersionString @@ -25,10 +25,13 @@ Editor CFBundleURLSchemes + fb$(ENV_FACEBOOK_APP_ID) $(GOOGLE_SERVICE_REVERSED_CLIENT_ID) + FacebookAppID + $(ENV_FACEBOOK_APP_ID) CFBundleVersion $(FLUTTER_BUILD_NUMBER) LSRequiresIPhoneOS @@ -50,4 +53,4 @@ UIStatusBarHidden - \ No newline at end of file + diff --git a/ios/Runner/devLaunchScreen.storyboard b/ios/Runner/devLaunchScreen.storyboard deleted file mode 100644 index f0a63bfd..00000000 --- a/ios/Runner/devLaunchScreen.storyboard +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/ios/Runner/prodLaunchScreen.storyboard b/ios/Runner/prodLaunchScreen.storyboard deleted file mode 100644 index 5b6b815b..00000000 --- a/ios/Runner/prodLaunchScreen.storyboard +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/ios/Runner/stageLaunchScreen.storyboard b/ios/Runner/stageLaunchScreen.storyboard deleted file mode 100644 index 9cc3b699..00000000 --- a/ios/Runner/stageLaunchScreen.storyboard +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/lib/app.dart b/lib/app.dart index 3c15c8ca..ac6ccec2 100644 --- a/lib/app.dart +++ b/lib/app.dart @@ -5,7 +5,6 @@ import 'package:flutter/material.dart'; import 'package:flutter_gen/gen_l10n/l10n.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; -import 'flavors.dart'; import 'locale/locale_controller.dart'; import 'router/router.dart'; import 'theme/theme_controller.dart'; @@ -20,7 +19,6 @@ class App extends ConsumerWidget { final themeMode = ref.watch(themeModeProvider); final locale = ref.watch(localeProvider); return MaterialApp.router( - title: F.title, debugShowCheckedModeBanner: false, locale: locale, localizationsDelegates: L10n.localizationsDelegates, diff --git a/lib/flavors.dart b/lib/flavors.dart deleted file mode 100644 index fae274ae..00000000 --- a/lib/flavors.dart +++ /dev/null @@ -1,23 +0,0 @@ -enum Flavor { - dev, - stage, - prod, -} - -// ignore: avoid_classes_with_only_static_members -class F { - static Flavor? appFlavor; - - static String get title { - switch (appFlavor) { - case Flavor.dev: - return 'Hit Notes Dev'; - case Flavor.stage: - return 'Hit Notes Stage'; - case Flavor.prod: - return 'Hit Notes'; - case null: - return 'title'; - } - } -} diff --git a/lib/main-prod.dart b/lib/main-prod.dart deleted file mode 100644 index d494bf6a..00000000 --- a/lib/main-prod.dart +++ /dev/null @@ -1,24 +0,0 @@ -// ignore_for_file: file_names -import 'package:firebase_core/firebase_core.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter_riverpod/flutter_riverpod.dart'; -import 'package:shared_preferences/shared_preferences.dart'; - -import 'app.dart'; -import 'flavors.dart'; -import 'preferences.dart'; - -Future main() async { - F.appFlavor = Flavor.prod; - WidgetsFlutterBinding.ensureInitialized(); - final sharedPreferences = await SharedPreferences.getInstance(); - await Firebase.initializeApp(); - runApp( - ProviderScope( - overrides: [ - sharedPreferencesProvider.overrideWithValue(sharedPreferences), - ], - child: App(), - ), - ); -} diff --git a/lib/main-stage.dart b/lib/main-stage.dart deleted file mode 100644 index d76f3eae..00000000 --- a/lib/main-stage.dart +++ /dev/null @@ -1,24 +0,0 @@ -// ignore_for_file: file_names -import 'package:firebase_core/firebase_core.dart'; -import 'package:flutter/material.dart'; -import 'package:flutter_riverpod/flutter_riverpod.dart'; -import 'package:shared_preferences/shared_preferences.dart'; - -import 'app.dart'; -import 'flavors.dart'; -import 'preferences.dart'; - -Future main() async { - F.appFlavor = Flavor.stage; - WidgetsFlutterBinding.ensureInitialized(); - final sharedPreferences = await SharedPreferences.getInstance(); - await Firebase.initializeApp(); - runApp( - ProviderScope( - overrides: [ - sharedPreferencesProvider.overrideWithValue(sharedPreferences), - ], - child: App(), - ), - ); -} diff --git a/lib/main-dev.dart b/lib/main.dart similarity index 67% rename from lib/main-dev.dart rename to lib/main.dart index 49eeffb9..67248a13 100644 --- a/lib/main-dev.dart +++ b/lib/main.dart @@ -1,12 +1,11 @@ -// ignore_for_file: file_names import 'package:firebase_core/firebase_core.dart'; +import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:logging/logging.dart'; import 'package:shared_preferences/shared_preferences.dart'; import 'app.dart'; -import 'flavors.dart'; import 'preferences.dart'; class LogProviderObserver extends ProviderObserver { @@ -56,21 +55,31 @@ Dispose } Future main() async { - F.appFlavor = Flavor.dev; WidgetsFlutterBinding.ensureInitialized(); final sharedPreferences = await SharedPreferences.getInstance(); await Firebase.initializeApp(); - Logger.root.onRecord.listen((record) { - // ignore: avoid_print - print('${record.level.name}: ${record.time}: ${record.message}'); - }); - runApp( - ProviderScope( - observers: [LogProviderObserver()], - overrides: [ - sharedPreferencesProvider.overrideWithValue(sharedPreferences), - ], - child: App(), - ), - ); + if (kReleaseMode) { + runApp( + ProviderScope( + overrides: [ + sharedPreferencesProvider.overrideWithValue(sharedPreferences), + ], + child: App(), + ), + ); + } else { + Logger.root.onRecord.listen((record) { + // ignore: avoid_print + print('${record.level.name}: ${record.time}: ${record.message}'); + }); + runApp( + ProviderScope( + observers: [LogProviderObserver()], + overrides: [ + sharedPreferencesProvider.overrideWithValue(sharedPreferences), + ], + child: App(), + ), + ); + } } diff --git a/pubspec.lock b/pubspec.lock index dbc63e43..661e336a 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -42,7 +42,7 @@ packages: name: auto_route url: "https://pub.dartlang.org" source: hosted - version: "3.0.2" + version: "3.0.3" auto_route_generator: dependency: "direct dev" description: @@ -386,13 +386,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.6.0+2" - flutter_flavorizr: - dependency: "direct dev" - description: - name: flutter_flavorizr - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.0" flutter_hooks: dependency: "direct main" description: diff --git a/pubspec.yaml b/pubspec.yaml index 1848578a..7e74e886 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -41,7 +41,6 @@ dependencies: dev_dependencies: auto_route_generator: any build_runner: any - flutter_flavorizr: any flutter_launcher_icons: any flutter_native_splash: any freezed: any @@ -59,69 +58,6 @@ flutter_native_splash: color: '#000000' image: assets/blank.png -flavorizr: - app: - android: - flavorDimensions: default - ios: - buildSettings: - IPHONEOS_DEPLOYMENT_TARGET: 12.1 - EXCLUDED_ARCHS[sdk=iphonesimulator*]: i386 arm64 - ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon - ENABLE_BITCODE: NO - - flavors: - dev: - app: - name: Hit Notes Dev - android: - applicationId: com.chaomao.hittick - generateDummyAssets: false - firebase: - config: flavor/android/dev/google-services.json - ios: - bundleId: com.chaomao.hittick - generateDummyAssets: false - firebase: - config: flavor/ios/dev/GoogleService-Info.plist - buildSettings: - GOOGLE_SERVICE_REVERSED_CLIENT_ID: >- - com.googleusercontent.apps.839556303918-sjt2kvium8hd02orlelqujl5c3e4rb8k - - stage: - app: - name: Hit Notes Stage - android: - applicationId: com.chaomao.hittick - generateDummyAssets: false - firebase: - config: flavor/android/stage/google-services.json - ios: - bundleId: com.chaomao.hittick - generateDummyAssets: false - firebase: - config: flavor/ios/stage/GoogleService-Info.plist - buildSettings: - GOOGLE_SERVICE_REVERSED_CLIENT_ID: >- - com.googleusercontent.apps.839556303918-sjt2kvium8hd02orlelqujl5c3e4rb8k - - prod: - app: - name: Hit Notes - android: - applicationId: com.chaomao.hittick - generateDummyAssets: false - firebase: - config: flavor/android/prod/google-services.json - ios: - bundleId: com.chaomao.hittick - generateDummyAssets: false - firebase: - config: flavor/ios/prod/GoogleService-Info.plist - buildSettings: - GOOGLE_SERVICE_REVERSED_CLIENT_ID: >- - com.googleusercontent.apps.839556303918-sjt2kvium8hd02orlelqujl5c3e4rb8k - flutter: assets: - assets/images/