diff --git a/.DS_Store b/.DS_Store index fdf261b4..1e38da1a 100755 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..7fc3fcae --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,175 @@ +stages: + - test + - generate_tag_or_version + - build-artifacts + - release-artifacts + - notification + +variables: + LC_ALL: "en_US.UTF-8" + LANG: "en_US.UTF-8" + + +.build_rule: + tags: + - macos + - flutter + rules: + - if: $CI_COMMIT_BRANCH == "develop" + - if: $CI_COMMIT_BRANCH == "release" + - if: $CI_COMMIT_BRANCH =~ /feat_[a-zA-Z]+/ + - if: $CI_COMMIT_BRANCH == "canary_release" + - if: $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z]+\.[0-9]+)?$/ + +.generate_tag_rule: + tags: + - macos + - flutter + rules: + - if: $CI_COMMIT_BRANCH == "master" + +.generate_next_version_rule: + tags: + - macos + - flutter + rules: + - if: $CI_COMMIT_BRANCH == "develop" + - if: $CI_COMMIT_BRANCH == "release" + - if: $CI_COMMIT_BRANCH == "canary_release" + - if: $CI_COMMIT_BRANCH =~ /feat_[a-zA-Z]+/ + +.print_env: + stage: test + extends: .build_rule + before_script: + - java --version + - printenv | while IFS='=' read -r key value; do echo "$key=$value"; done + after_script: + - echo "finished" + +.setup_fastlane_android: + extends: .build_rule + before_script: + - ls -li + - export NEXT_VERSION="$(cat app_new.version)" + - flutter pub get + - bundle install --gemfile android/Gemfile --quiet + cache: + paths: + - app_new.version + +.setup_fastlane_ios: + extends: .build_rule + before_script: + - ls -li + - export NEXT_VERSION="$(cat app_new.version)" + - flutter pub get + - bundle install --gemfile ios/Gemfile --quiet + cache: + paths: + - app_new.version + +test_lint_check: + stage: test + extends: .print_env + script: + - echo "run lint check or per-test here" + tags: + - macos + - flutter + +generate_git_tag: + stage: generate_tag_or_version + extends: .generate_tag_rule + before_script: + - project_url=$(echo $CI_PROJECT_URL | sed 's/http:\/\///') + - echo "project_url:$project_url" + - git remote set-url origin http://gitlab-ci-token:${GITLAB_ACCESS_TOKEN}@$project_url.git + script: + - bash tag_generator.sh generate_tag + +generate_next_version: + stage: generate_tag_or_version + extends: .generate_next_version_rule + script: + - bash tag_generator.sh generate_version + cache: + paths: + - app_new.version + +build_android: + stage: build-artifacts + extends: .setup_fastlane_android + script: bash android/build.sh + artifacts: + paths: + - build/app/outputs/flutter-apk/ + +build_ios: + stage: build-artifacts + extends: .setup_fastlane_ios + script: + - bash ios/build.sh + artifacts: + paths: + - build/app/outputs/flutter-ipa + +create-release: + stage: release-artifacts + extends: .build_rule + dependencies: + - build_android + - build_ios + needs: + - job: build_android + artifacts: true + - job: build_ios + artifacts: true + rules: + - if: $CI_COMMIT_TAG + before_script: + - echo "start create release" + - bash release_description_generator.sh + - export RELEASE_DESCRIPTION="$(cat changelog.md)" + - echo "${RELEASE_DESCRIPTION}" + script: + - export StarLock_VERSION=${CI_COMMIT_TAG#*-} + - echo "Uploading StarLock-${StarLock_VERSION} packages to + ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/StarLock/${StarLock_VERSION}/StarLock-${StarLock_VERSION}-*" + - 'curl -i --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file build/app/outputs/flutter-apk/starlock-xhj-release-${CI_COMMIT_TAG}.apk + "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/StarLock/${StarLock_VERSION}/starlock-xhj-release-${CI_COMMIT_TAG}.apk"' + - 'curl -i --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file build/app/outputs/flutter-apk/starlock-xhj-release-${CI_COMMIT_TAG}.aab + "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/StarLock/${StarLock_VERSION}/starlock-xhj-release-${CI_COMMIT_TAG}.aab"' + - 'curl -i --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file build/app/outputs/flutter-apk/starlock-sky-release-${CI_COMMIT_TAG}.apk + "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/StarLock/${StarLock_VERSION}/starlock-sky-release-${CI_COMMIT_TAG}.apk"' + - 'curl -i --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file build/app/outputs/flutter-apk/starlock-sky-release-${CI_COMMIT_TAG}.aab + "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/StarLock/${StarLock_VERSION}/starlock-sky-release-${CI_COMMIT_TAG}.aab"' + - 'curl -i --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file build/app/outputs/flutter-ipa/starlock-xhj-release-${CI_COMMIT_TAG}.ipa + "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/StarLock/${StarLock_VERSION}/starlock-xhj-release-${CI_COMMIT_TAG}.ipa"' + - 'curl -i --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file build/app/outputs/flutter-ipa/starlock-sky-release-${CI_COMMIT_TAG}.ipa + "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/StarLock/${StarLock_VERSION}/starlock-sky-release-${CI_COMMIT_TAG}.ipa"' + release: + name: '$CI_COMMIT_TAG' + description: '$(cat changelog.md)' + tag_name: '$CI_COMMIT_TAG' + ref: '$CI_COMMIT_TAG' + assets: + links: + - name: 'xhj apk binary package' + url: '${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/StarLock/${CI_COMMIT_TAG}/starlock-xhj-release-${CI_COMMIT_TAG}.apk' + link_type: 'package' + - name: 'xhj bundle binary package' + url: '${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/StarLock/${CI_COMMIT_TAG}/starlock-xhj-release-${CI_COMMIT_TAG}.aab' + link_type: 'package' + - name: 'sky apk binary package' + url: '${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/StarLock/${CI_COMMIT_TAG}/starlock-sky-release-${CI_COMMIT_TAG}.apk' + link_type: 'package' + - name: 'sky bundle binary package' + url: '${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/StarLock/${CI_COMMIT_TAG}/starlock-sky-release-${CI_COMMIT_TAG}.aab' + link_type: 'package' + - name: 'xhj ipa binary package' + url: '${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/StarLock/${CI_COMMIT_TAG}/starlock-xhj-release-${CI_COMMIT_TAG}.ipa' + link_type: 'package' + - name: 'sky ipa binary package' + url: '${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/StarLock/${CI_COMMIT_TAG}/starlock-sky-release-${CI_COMMIT_TAG}.ipa' + link_type: 'package' diff --git a/android/Gemfile b/android/Gemfile new file mode 100644 index 00000000..cdd3a6b3 --- /dev/null +++ b/android/Gemfile @@ -0,0 +1,6 @@ +source "https://rubygems.org" + +gem "fastlane" + +plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile') +eval_gemfile(plugins_path) if File.exist?(plugins_path) diff --git a/android/Gemfile.lock b/android/Gemfile.lock new file mode 100644 index 00000000..554a5952 --- /dev/null +++ b/android/Gemfile.lock @@ -0,0 +1,221 @@ +GEM + remote: https://rubygems.org/ + specs: + CFPropertyList (3.0.7) + base64 + nkf + rexml + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) + artifactory (3.0.17) + atomos (0.1.3) + aws-eventstream (1.3.0) + aws-partitions (1.979.0) + aws-sdk-core (3.209.1) + aws-eventstream (~> 1, >= 1.3.0) + aws-partitions (~> 1, >= 1.651.0) + aws-sigv4 (~> 1.9) + jmespath (~> 1, >= 1.6.1) + aws-sdk-kms (1.94.0) + aws-sdk-core (~> 3, >= 3.207.0) + aws-sigv4 (~> 1.5) + aws-sdk-s3 (1.166.0) + aws-sdk-core (~> 3, >= 3.207.0) + aws-sdk-kms (~> 1) + aws-sigv4 (~> 1.5) + aws-sigv4 (1.10.0) + aws-eventstream (~> 1, >= 1.0.2) + babosa (1.0.4) + base64 (0.2.0) + claide (1.1.0) + colored (1.2) + colored2 (3.1.2) + commander (4.6.0) + highline (~> 2.0.0) + declarative (0.0.20) + digest-crc (0.6.5) + rake (>= 12.0.0, < 14.0.0) + domain_name (0.5.20190701) + unf (>= 0.0.5, < 1.0.0) + dotenv (2.8.1) + emoji_regex (3.2.3) + excon (0.109.0) + faraday (1.10.4) + faraday-em_http (~> 1.0) + faraday-em_synchrony (~> 1.0) + faraday-excon (~> 1.1) + faraday-httpclient (~> 1.0) + faraday-multipart (~> 1.0) + faraday-net_http (~> 1.0) + faraday-net_http_persistent (~> 1.0) + faraday-patron (~> 1.0) + faraday-rack (~> 1.0) + faraday-retry (~> 1.0) + ruby2_keywords (>= 0.0.4) + faraday-cookie_jar (0.0.7) + faraday (>= 0.8.0) + http-cookie (~> 1.0.0) + faraday-em_http (1.0.0) + faraday-em_synchrony (1.0.0) + faraday-excon (1.1.0) + faraday-httpclient (1.0.1) + faraday-multipart (1.0.4) + multipart-post (~> 2) + faraday-net_http (1.0.2) + faraday-net_http_persistent (1.2.0) + faraday-patron (1.0.0) + faraday-rack (1.0.0) + faraday-retry (1.0.3) + faraday_middleware (1.2.1) + faraday (~> 1.0) + fastimage (2.3.1) + fastlane (2.222.0) + CFPropertyList (>= 2.3, < 4.0.0) + addressable (>= 2.8, < 3.0.0) + artifactory (~> 3.0) + aws-sdk-s3 (~> 1.0) + babosa (>= 1.0.3, < 2.0.0) + bundler (>= 1.12.0, < 3.0.0) + colored (~> 1.2) + commander (~> 4.6) + dotenv (>= 2.1.1, < 3.0.0) + emoji_regex (>= 0.1, < 4.0) + excon (>= 0.71.0, < 1.0.0) + faraday (~> 1.0) + faraday-cookie_jar (~> 0.0.6) + faraday_middleware (~> 1.0) + fastimage (>= 2.1.0, < 3.0.0) + gh_inspector (>= 1.1.2, < 2.0.0) + google-apis-androidpublisher_v3 (~> 0.3) + google-apis-playcustomapp_v1 (~> 0.1) + google-cloud-env (>= 1.6.0, < 2.0.0) + google-cloud-storage (~> 1.31) + highline (~> 2.0) + http-cookie (~> 1.0.5) + json (< 3.0.0) + jwt (>= 2.1.0, < 3) + mini_magick (>= 4.9.4, < 5.0.0) + multipart-post (>= 2.0.0, < 3.0.0) + naturally (~> 2.2) + optparse (>= 0.1.1, < 1.0.0) + plist (>= 3.1.0, < 4.0.0) + rubyzip (>= 2.0.0, < 3.0.0) + security (= 0.1.5) + simctl (~> 1.6.3) + terminal-notifier (>= 2.0.0, < 3.0.0) + terminal-table (~> 3) + tty-screen (>= 0.6.3, < 1.0.0) + tty-spinner (>= 0.8.0, < 1.0.0) + word_wrap (~> 1.0.0) + xcodeproj (>= 1.13.0, < 2.0.0) + xcpretty (~> 0.3.0) + xcpretty-travis-formatter (>= 0.0.3, < 2.0.0) + fastlane-plugin-pgyer (0.2.9) + gh_inspector (1.1.3) + google-apis-androidpublisher_v3 (0.54.0) + google-apis-core (>= 0.11.0, < 2.a) + google-apis-core (0.11.3) + addressable (~> 2.5, >= 2.5.1) + googleauth (>= 0.16.2, < 2.a) + httpclient (>= 2.8.1, < 3.a) + mini_mime (~> 1.0) + representable (~> 3.0) + retriable (>= 2.0, < 4.a) + rexml + google-apis-iamcredentials_v1 (0.17.0) + google-apis-core (>= 0.11.0, < 2.a) + google-apis-playcustomapp_v1 (0.13.0) + google-apis-core (>= 0.11.0, < 2.a) + google-apis-storage_v1 (0.29.0) + google-apis-core (>= 0.11.0, < 2.a) + google-cloud-core (1.6.1) + google-cloud-env (>= 1.0, < 3.a) + google-cloud-errors (~> 1.0) + google-cloud-env (1.6.0) + faraday (>= 0.17.3, < 3.0) + google-cloud-errors (1.3.1) + google-cloud-storage (1.45.0) + addressable (~> 2.8) + digest-crc (~> 0.4) + google-apis-iamcredentials_v1 (~> 0.1) + google-apis-storage_v1 (~> 0.29.0) + google-cloud-core (~> 1.6) + googleauth (>= 0.16.2, < 2.a) + mini_mime (~> 1.0) + googleauth (1.8.1) + faraday (>= 0.17.3, < 3.a) + jwt (>= 1.4, < 3.0) + multi_json (~> 1.11) + os (>= 0.9, < 2.0) + signet (>= 0.16, < 2.a) + highline (2.0.3) + http-cookie (1.0.7) + domain_name (~> 0.5) + httpclient (2.8.3) + jmespath (1.6.2) + json (2.7.2) + jwt (2.9.1) + base64 + mini_magick (4.13.2) + mini_mime (1.1.5) + multi_json (1.15.0) + multipart-post (2.4.1) + nanaimo (0.3.0) + naturally (2.2.1) + nkf (0.2.0) + optparse (0.5.0) + os (1.1.4) + plist (3.7.1) + public_suffix (5.1.1) + rake (13.2.1) + representable (3.2.0) + declarative (< 0.1.0) + trailblazer-option (>= 0.1.1, < 0.2.0) + uber (< 0.2.0) + retriable (3.1.2) + rexml (3.3.7) + rouge (2.0.7) + ruby2_keywords (0.0.5) + rubyzip (2.3.2) + security (0.1.5) + signet (0.18.0) + addressable (~> 2.8) + faraday (>= 0.17.5, < 3.a) + jwt (>= 1.5, < 3.0) + multi_json (~> 1.10) + simctl (1.6.10) + CFPropertyList + naturally + terminal-notifier (2.0.0) + terminal-table (3.0.2) + unicode-display_width (>= 1.1.1, < 3) + trailblazer-option (0.1.2) + tty-cursor (0.7.1) + tty-screen (0.8.2) + tty-spinner (0.9.3) + tty-cursor (~> 0.7) + uber (0.1.0) + unf (0.2.0) + unicode-display_width (2.6.0) + word_wrap (1.0.0) + xcodeproj (1.25.0) + CFPropertyList (>= 2.3.3, < 4.0) + atomos (~> 0.1.3) + claide (>= 1.0.2, < 2.0) + colored2 (~> 3.1) + nanaimo (~> 0.3.0) + rexml (>= 3.3.2, < 4.0) + xcpretty (0.3.0) + rouge (~> 2.0.7) + xcpretty-travis-formatter (1.0.1) + xcpretty (~> 0.2, >= 0.0.7) + +PLATFORMS + ruby + +DEPENDENCIES + fastlane + fastlane-plugin-pgyer + +BUNDLED WITH + 1.17.2 diff --git a/android/app/build.gradle b/android/app/build.gradle index 68d0a18d..e8f0a10f 100755 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -106,10 +106,22 @@ android { dimension "flavor-type" applicationId "com.skychip.lock" signingConfig signingConfigs.sky - resValue "string", "app_name", "斯凯智能" + resValue "string", "app_name", "锁通通" manifestPlaceholders.JPUSH_PKGNAME = "com.skychip.lock" proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules-sky.pro' } + sky_pre { + dimension "flavor-type" + applicationId "com.skychip.lock.pre" + signingConfig signingConfigs.sky + resValue "string", "app_name", "锁通通-P" + } + sky_dev { + dimension "flavor-type" + applicationId "com.skychip.lock.dev" + signingConfig signingConfigs.sky + resValue "string", "app_name", "锁通通-D" + } xhj { dimension "flavor-type" applicationId "com.xhjcn.lock" @@ -118,6 +130,18 @@ android { manifestPlaceholders.JPUSH_PKGNAME = "com.xhjcn.lock" proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules-xhj.pro' } + xhj_pre { + dimension "flavor-type" + applicationId "com.xhjcn.lock.pre" + signingConfig signingConfigs.xhj + resValue "string", "app_name", "星星锁-P" + } + xhj_dev { + dimension "flavor-type" + applicationId "com.xhjcn.lock.dev" + signingConfig signingConfigs.xhj + resValue "string", "app_name", "星星锁-D" + } } // ----- END flavorDimensions (autogenerated by flutter_flavorizr) ----- @@ -149,7 +173,7 @@ android { // You can update the following values to match your application needs. // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration. minSdkVersion 25 - targetSdkVersion 33 + targetSdkVersion 34 versionCode flutterVersionCode.toInteger() versionName flutterVersionName proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' @@ -227,6 +251,12 @@ android { productFlavors.xhj.signingConfig signingConfigs.xhj } } + + applicationVariants.all { variant -> + variant.outputs.all { + outputFileName = "app-starlock-${variant.buildType.name}-${variant.flavorName}-${defaultConfig.versionName}.apk" + } + } } flutter { @@ -235,8 +265,9 @@ flutter { dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" - implementation('com.amap.api:location:5.6.0') - implementation('com.amap.api:3dmap:8.1.0') +// implementation('com.amap.api:location:5.6.0') +// implementation('com.amap.api:3dmap:8.1.0') + implementation('com.amap.api:3dmap-location-search:latest.integration') implementation 'cn.jiguang.sdk:jpush:5.2.3' // 接入华为厂商 diff --git a/android/app/src/sky/agconnect-services.json b/android/app/src/sky/agconnect-services.json new file mode 100644 index 00000000..887f84c5 --- /dev/null +++ b/android/app/src/sky/agconnect-services.json @@ -0,0 +1,96 @@ +{ + "agcgw":{ + "backurl":"connect-drcn.hispace.hicloud.com", + "url":"connect-drcn.dbankcloud.cn", + "websocketbackurl":"connect-ws-drcn.hispace.dbankcloud.com", + "websocketurl":"connect-ws-drcn.hispace.dbankcloud.cn" + }, + "agcgw_all":{ + "CN":"connect-drcn.dbankcloud.cn", + "CN_back":"connect-drcn.hispace.hicloud.com", + "DE":"connect-dre.dbankcloud.cn", + "DE_back":"connect-dre.hispace.hicloud.com", + "RU":"connect-drru.hispace.dbankcloud.ru", + "RU_back":"connect-drru.hispace.dbankcloud.cn", + "SG":"connect-dra.dbankcloud.cn", + "SG_back":"connect-dra.hispace.hicloud.com" + }, + "websocketgw_all":{ + "CN":"connect-ws-drcn.hispace.dbankcloud.cn", + "CN_back":"connect-ws-drcn.hispace.dbankcloud.com", + "DE":"connect-ws-dre.hispace.dbankcloud.cn", + "DE_back":"connect-ws-dre.hispace.dbankcloud.com", + "RU":"connect-ws-drru.hispace.dbankcloud.ru", + "RU_back":"connect-ws-drru.hispace.dbankcloud.cn", + "SG":"connect-ws-dra.hispace.dbankcloud.cn", + "SG_back":"connect-ws-dra.hispace.dbankcloud.com" + }, + "client":{ + "cp_id":"30086000752967166", + "product_id":"388421841222116270", + "client_id":"1406555529261648640", + "client_secret":"843E8191B02B692239726CF0ED990E1EC2B31928F825AA012B932A128FD2C516", + "project_id":"388421841222116270", + "app_id":"110798531", + "api_key":"DQEDAALnPCtuCgoYOyZfsIDa9/YZZhQ+buDGpypeurXhQUGMajWcVyYLQgXXqV3x2HbI6oyG+Wm2Gf+1hPs6j+wA3B6ylYAXG4aAQA==", + "package_name":"com.skychip.lock" + }, + "oauth_client":{ + "client_id":"110798531", + "client_type":1 + }, + "app_info":{ + "app_id":"110798531", + "package_name":"com.skychip.lock" + }, + "service":{ + "analytics":{ + "collector_url":"datacollector-drcn.dt.hicloud.com,datacollector-drcn.dt.dbankcloud.cn", + "collector_url_ru":"datacollector-drru.dt.dbankcloud.ru,datacollector-drru.dt.hicloud.com", + "collector_url_sg":"datacollector-dra.dt.hicloud.com,datacollector-dra.dt.dbankcloud.cn", + "collector_url_de":"datacollector-dre.dt.hicloud.com,datacollector-dre.dt.dbankcloud.cn", + "collector_url_cn":"datacollector-drcn.dt.hicloud.com,datacollector-drcn.dt.dbankcloud.cn", + "resource_id":"p1", + "channel_id":"" + }, + "edukit":{ + "edu_url":"edukit.cloud.huawei.com.cn", + "dh_url":"edukit.cloud.huawei.com.cn" + }, + "search":{ + "url":"https://search-drcn.cloud.huawei.com" + }, + "cloudstorage":{ + "storage_url_sg_back":"https://agc-storage-dra.cloud.huawei.asia", + "storage_url_ru_back":"https://agc-storage-drru.cloud.huawei.ru", + "storage_url_ru":"https://agc-storage-drru.cloud.huawei.ru", + "storage_url_de_back":"https://agc-storage-dre.cloud.huawei.eu", + "storage_url_de":"https://ops-dre.agcstorage.link", + "storage_url":"https://agc-storage-drcn.platform.dbankcloud.cn", + "storage_url_sg":"https://ops-dra.agcstorage.link", + "storage_url_cn_back":"https://agc-storage-drcn.cloud.huawei.com.cn", + "storage_url_cn":"https://agc-storage-drcn.platform.dbankcloud.cn" + }, + "ml":{ + "mlservice_url":"ml-api-drcn.ai.dbankcloud.com,ml-api-drcn.ai.dbankcloud.cn" + } + }, + "region":"CN", + "configuration_version":"3.0", + "appInfos":[ + { + "package_name":"com.skychip.lock", + "client":{ + "app_id":"110798531" + }, + "app_info":{ + "package_name":"com.skychip.lock", + "app_id":"110798531" + }, + "oauth_client":{ + "client_type":1, + "client_id":"110798531" + } + } + ] +} \ No newline at end of file diff --git a/android/app/src/sky_dev/agconnect-services.json b/android/app/src/sky_dev/agconnect-services.json new file mode 100644 index 00000000..6c5c0e6a --- /dev/null +++ b/android/app/src/sky_dev/agconnect-services.json @@ -0,0 +1,96 @@ +{ + "agcgw":{ + "backurl":"connect-drcn.hispace.hicloud.com", + "url":"connect-drcn.dbankcloud.cn", + "websocketbackurl":"connect-ws-drcn.hispace.dbankcloud.com", + "websocketurl":"connect-ws-drcn.hispace.dbankcloud.cn" + }, + "agcgw_all":{ + "CN":"connect-drcn.dbankcloud.cn", + "CN_back":"connect-drcn.hispace.hicloud.com", + "DE":"connect-dre.dbankcloud.cn", + "DE_back":"connect-dre.hispace.hicloud.com", + "RU":"connect-drru.hispace.dbankcloud.ru", + "RU_back":"connect-drru.hispace.dbankcloud.cn", + "SG":"connect-dra.dbankcloud.cn", + "SG_back":"connect-dra.hispace.hicloud.com" + }, + "websocketgw_all":{ + "CN":"connect-ws-drcn.hispace.dbankcloud.cn", + "CN_back":"connect-ws-drcn.hispace.dbankcloud.com", + "DE":"connect-ws-dre.hispace.dbankcloud.cn", + "DE_back":"connect-ws-dre.hispace.dbankcloud.com", + "RU":"connect-ws-drru.hispace.dbankcloud.ru", + "RU_back":"connect-ws-drru.hispace.dbankcloud.cn", + "SG":"connect-ws-dra.hispace.dbankcloud.cn", + "SG_back":"connect-ws-dra.hispace.dbankcloud.com" + }, + "client":{ + "cp_id":"30086000752967166", + "product_id":"388421841222116270", + "client_id":"1406555529261648640", + "client_secret":"843E8191B02B692239726CF0ED990E1EC2B31928F825AA012B932A128FD2C516", + "project_id":"388421841222116270", + "app_id":"110798531", + "api_key":"DQEDAALnPCtuCgoYOyZfsIDa9/YZZhQ+buDGpypeurXhQUGMajWcVyYLQgXXqV3x2HbI6oyG+Wm2Gf+1hPs6j+wA3B6ylYAXG4aAQA==", + "package_name":"com.skychip.lock.dev" + }, + "oauth_client":{ + "client_id":"110798531", + "client_type":1 + }, + "app_info":{ + "app_id":"110798531", + "package_name":"com.skychip.lock.dev" + }, + "service":{ + "analytics":{ + "collector_url":"datacollector-drcn.dt.hicloud.com,datacollector-drcn.dt.dbankcloud.cn", + "collector_url_ru":"datacollector-drru.dt.dbankcloud.ru,datacollector-drru.dt.hicloud.com", + "collector_url_sg":"datacollector-dra.dt.hicloud.com,datacollector-dra.dt.dbankcloud.cn", + "collector_url_de":"datacollector-dre.dt.hicloud.com,datacollector-dre.dt.dbankcloud.cn", + "collector_url_cn":"datacollector-drcn.dt.hicloud.com,datacollector-drcn.dt.dbankcloud.cn", + "resource_id":"p1", + "channel_id":"" + }, + "edukit":{ + "edu_url":"edukit.cloud.huawei.com.cn", + "dh_url":"edukit.cloud.huawei.com.cn" + }, + "search":{ + "url":"https://search-drcn.cloud.huawei.com" + }, + "cloudstorage":{ + "storage_url_sg_back":"https://agc-storage-dra.cloud.huawei.asia", + "storage_url_ru_back":"https://agc-storage-drru.cloud.huawei.ru", + "storage_url_ru":"https://agc-storage-drru.cloud.huawei.ru", + "storage_url_de_back":"https://agc-storage-dre.cloud.huawei.eu", + "storage_url_de":"https://ops-dre.agcstorage.link", + "storage_url":"https://agc-storage-drcn.platform.dbankcloud.cn", + "storage_url_sg":"https://ops-dra.agcstorage.link", + "storage_url_cn_back":"https://agc-storage-drcn.cloud.huawei.com.cn", + "storage_url_cn":"https://agc-storage-drcn.platform.dbankcloud.cn" + }, + "ml":{ + "mlservice_url":"ml-api-drcn.ai.dbankcloud.com,ml-api-drcn.ai.dbankcloud.cn" + } + }, + "region":"CN", + "configuration_version":"3.0", + "appInfos":[ + { + "package_name":"com.skychip.lock.dev", + "client":{ + "app_id":"110798531" + }, + "app_info":{ + "package_name":"com.skychip.lock.dev", + "app_id":"110798531" + }, + "oauth_client":{ + "client_type":1, + "client_id":"110798531" + } + } + ] +} \ No newline at end of file diff --git a/android/app/src/sky_dev/res/mipmap-hdpi/ic_launcher.png b/android/app/src/sky_dev/res/mipmap-hdpi/ic_launcher.png new file mode 100755 index 00000000..4587c19d Binary files /dev/null and b/android/app/src/sky_dev/res/mipmap-hdpi/ic_launcher.png differ diff --git a/android/app/src/sky_dev/res/mipmap-mdpi/ic_launcher.png b/android/app/src/sky_dev/res/mipmap-mdpi/ic_launcher.png new file mode 100755 index 00000000..32e709f3 Binary files /dev/null and b/android/app/src/sky_dev/res/mipmap-mdpi/ic_launcher.png differ diff --git a/android/app/src/sky_dev/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/sky_dev/res/mipmap-xhdpi/ic_launcher.png new file mode 100755 index 00000000..bdd7f056 Binary files /dev/null and b/android/app/src/sky_dev/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/android/app/src/sky_dev/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/sky_dev/res/mipmap-xxhdpi/ic_launcher.png new file mode 100755 index 00000000..1598749d Binary files /dev/null and b/android/app/src/sky_dev/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/android/app/src/sky_dev/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/sky_dev/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100755 index 00000000..644b4d33 Binary files /dev/null and b/android/app/src/sky_dev/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/android/app/src/sky_pre/agconnect-services.json b/android/app/src/sky_pre/agconnect-services.json new file mode 100644 index 00000000..904465cf --- /dev/null +++ b/android/app/src/sky_pre/agconnect-services.json @@ -0,0 +1,96 @@ +{ + "agcgw":{ + "backurl":"connect-drcn.hispace.hicloud.com", + "url":"connect-drcn.dbankcloud.cn", + "websocketbackurl":"connect-ws-drcn.hispace.dbankcloud.com", + "websocketurl":"connect-ws-drcn.hispace.dbankcloud.cn" + }, + "agcgw_all":{ + "CN":"connect-drcn.dbankcloud.cn", + "CN_back":"connect-drcn.hispace.hicloud.com", + "DE":"connect-dre.dbankcloud.cn", + "DE_back":"connect-dre.hispace.hicloud.com", + "RU":"connect-drru.hispace.dbankcloud.ru", + "RU_back":"connect-drru.hispace.dbankcloud.cn", + "SG":"connect-dra.dbankcloud.cn", + "SG_back":"connect-dra.hispace.hicloud.com" + }, + "websocketgw_all":{ + "CN":"connect-ws-drcn.hispace.dbankcloud.cn", + "CN_back":"connect-ws-drcn.hispace.dbankcloud.com", + "DE":"connect-ws-dre.hispace.dbankcloud.cn", + "DE_back":"connect-ws-dre.hispace.dbankcloud.com", + "RU":"connect-ws-drru.hispace.dbankcloud.ru", + "RU_back":"connect-ws-drru.hispace.dbankcloud.cn", + "SG":"connect-ws-dra.hispace.dbankcloud.cn", + "SG_back":"connect-ws-dra.hispace.dbankcloud.com" + }, + "client":{ + "cp_id":"30086000752967166", + "product_id":"388421841222116270", + "client_id":"1406555529261648640", + "client_secret":"843E8191B02B692239726CF0ED990E1EC2B31928F825AA012B932A128FD2C516", + "project_id":"388421841222116270", + "app_id":"110798531", + "api_key":"DQEDAALnPCtuCgoYOyZfsIDa9/YZZhQ+buDGpypeurXhQUGMajWcVyYLQgXXqV3x2HbI6oyG+Wm2Gf+1hPs6j+wA3B6ylYAXG4aAQA==", + "package_name":"com.skychip.lock.pre" + }, + "oauth_client":{ + "client_id":"110798531", + "client_type":1 + }, + "app_info":{ + "app_id":"110798531", + "package_name":"com.skychip.lock.pre" + }, + "service":{ + "analytics":{ + "collector_url":"datacollector-drcn.dt.hicloud.com,datacollector-drcn.dt.dbankcloud.cn", + "collector_url_ru":"datacollector-drru.dt.dbankcloud.ru,datacollector-drru.dt.hicloud.com", + "collector_url_sg":"datacollector-dra.dt.hicloud.com,datacollector-dra.dt.dbankcloud.cn", + "collector_url_de":"datacollector-dre.dt.hicloud.com,datacollector-dre.dt.dbankcloud.cn", + "collector_url_cn":"datacollector-drcn.dt.hicloud.com,datacollector-drcn.dt.dbankcloud.cn", + "resource_id":"p1", + "channel_id":"" + }, + "edukit":{ + "edu_url":"edukit.cloud.huawei.com.cn", + "dh_url":"edukit.cloud.huawei.com.cn" + }, + "search":{ + "url":"https://search-drcn.cloud.huawei.com" + }, + "cloudstorage":{ + "storage_url_sg_back":"https://agc-storage-dra.cloud.huawei.asia", + "storage_url_ru_back":"https://agc-storage-drru.cloud.huawei.ru", + "storage_url_ru":"https://agc-storage-drru.cloud.huawei.ru", + "storage_url_de_back":"https://agc-storage-dre.cloud.huawei.eu", + "storage_url_de":"https://ops-dre.agcstorage.link", + "storage_url":"https://agc-storage-drcn.platform.dbankcloud.cn", + "storage_url_sg":"https://ops-dra.agcstorage.link", + "storage_url_cn_back":"https://agc-storage-drcn.cloud.huawei.com.cn", + "storage_url_cn":"https://agc-storage-drcn.platform.dbankcloud.cn" + }, + "ml":{ + "mlservice_url":"ml-api-drcn.ai.dbankcloud.com,ml-api-drcn.ai.dbankcloud.cn" + } + }, + "region":"CN", + "configuration_version":"3.0", + "appInfos":[ + { + "package_name":"com.skychip.lock.pre", + "client":{ + "app_id":"110798531" + }, + "app_info":{ + "package_name":"com.skychip.lock.pre", + "app_id":"110798531" + }, + "oauth_client":{ + "client_type":1, + "client_id":"110798531" + } + } + ] +} \ No newline at end of file diff --git a/android/app/src/sky_pre/res/mipmap-hdpi/ic_launcher.png b/android/app/src/sky_pre/res/mipmap-hdpi/ic_launcher.png new file mode 100755 index 00000000..4587c19d Binary files /dev/null and b/android/app/src/sky_pre/res/mipmap-hdpi/ic_launcher.png differ diff --git a/android/app/src/sky_pre/res/mipmap-mdpi/ic_launcher.png b/android/app/src/sky_pre/res/mipmap-mdpi/ic_launcher.png new file mode 100755 index 00000000..32e709f3 Binary files /dev/null and b/android/app/src/sky_pre/res/mipmap-mdpi/ic_launcher.png differ diff --git a/android/app/src/sky_pre/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/sky_pre/res/mipmap-xhdpi/ic_launcher.png new file mode 100755 index 00000000..bdd7f056 Binary files /dev/null and b/android/app/src/sky_pre/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/android/app/src/sky_pre/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/sky_pre/res/mipmap-xxhdpi/ic_launcher.png new file mode 100755 index 00000000..1598749d Binary files /dev/null and b/android/app/src/sky_pre/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/android/app/src/sky_pre/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/sky_pre/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100755 index 00000000..644b4d33 Binary files /dev/null and b/android/app/src/sky_pre/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/android/app/src/xhj_dev/agconnect-services.json b/android/app/src/xhj_dev/agconnect-services.json new file mode 100644 index 00000000..9588d348 --- /dev/null +++ b/android/app/src/xhj_dev/agconnect-services.json @@ -0,0 +1,96 @@ +{ + "agcgw":{ + "backurl":"connect-drcn.hispace.hicloud.com", + "url":"connect-drcn.dbankcloud.cn", + "websocketbackurl":"connect-ws-drcn.hispace.dbankcloud.com", + "websocketurl":"connect-ws-drcn.hispace.dbankcloud.cn" + }, + "agcgw_all":{ + "CN":"connect-drcn.dbankcloud.cn", + "CN_back":"connect-drcn.hispace.hicloud.com", + "DE":"connect-dre.dbankcloud.cn", + "DE_back":"connect-dre.hispace.hicloud.com", + "RU":"connect-drru.hispace.dbankcloud.ru", + "RU_back":"connect-drru.hispace.dbankcloud.cn", + "SG":"connect-dra.dbankcloud.cn", + "SG_back":"connect-dra.hispace.hicloud.com" + }, + "websocketgw_all":{ + "CN":"connect-ws-drcn.hispace.dbankcloud.cn", + "CN_back":"connect-ws-drcn.hispace.dbankcloud.com", + "DE":"connect-ws-dre.hispace.dbankcloud.cn", + "DE_back":"connect-ws-dre.hispace.dbankcloud.com", + "RU":"connect-ws-drru.hispace.dbankcloud.ru", + "RU_back":"connect-ws-drru.hispace.dbankcloud.cn", + "SG":"connect-ws-dra.hispace.dbankcloud.cn", + "SG_back":"connect-ws-dra.hispace.dbankcloud.com" + }, + "client":{ + "cp_id":"30086000752967166", + "product_id":"388421841222116270", + "client_id":"1406555529261648640", + "client_secret":"843E8191B02B692239726CF0ED990E1EC2B31928F825AA012B932A128FD2C516", + "project_id":"388421841222116270", + "app_id":"110798531", + "api_key":"DQEDAALnPCtuCgoYOyZfsIDa9/YZZhQ+buDGpypeurXhQUGMajWcVyYLQgXXqV3x2HbI6oyG+Wm2Gf+1hPs6j+wA3B6ylYAXG4aAQA==", + "package_name":"com.xhjcn.lock.dev" + }, + "oauth_client":{ + "client_id":"110798531", + "client_type":1 + }, + "app_info":{ + "app_id":"110798531", + "package_name":"com.xhjcn.lock.dev" + }, + "service":{ + "analytics":{ + "collector_url":"datacollector-drcn.dt.hicloud.com,datacollector-drcn.dt.dbankcloud.cn", + "collector_url_ru":"datacollector-drru.dt.dbankcloud.ru,datacollector-drru.dt.hicloud.com", + "collector_url_sg":"datacollector-dra.dt.hicloud.com,datacollector-dra.dt.dbankcloud.cn", + "collector_url_de":"datacollector-dre.dt.hicloud.com,datacollector-dre.dt.dbankcloud.cn", + "collector_url_cn":"datacollector-drcn.dt.hicloud.com,datacollector-drcn.dt.dbankcloud.cn", + "resource_id":"p1", + "channel_id":"" + }, + "edukit":{ + "edu_url":"edukit.cloud.huawei.com.cn", + "dh_url":"edukit.cloud.huawei.com.cn" + }, + "search":{ + "url":"https://search-drcn.cloud.huawei.com" + }, + "cloudstorage":{ + "storage_url_sg_back":"https://agc-storage-dra.cloud.huawei.asia", + "storage_url_ru_back":"https://agc-storage-drru.cloud.huawei.ru", + "storage_url_ru":"https://agc-storage-drru.cloud.huawei.ru", + "storage_url_de_back":"https://agc-storage-dre.cloud.huawei.eu", + "storage_url_de":"https://ops-dre.agcstorage.link", + "storage_url":"https://agc-storage-drcn.platform.dbankcloud.cn", + "storage_url_sg":"https://ops-dra.agcstorage.link", + "storage_url_cn_back":"https://agc-storage-drcn.cloud.huawei.com.cn", + "storage_url_cn":"https://agc-storage-drcn.platform.dbankcloud.cn" + }, + "ml":{ + "mlservice_url":"ml-api-drcn.ai.dbankcloud.com,ml-api-drcn.ai.dbankcloud.cn" + } + }, + "region":"CN", + "configuration_version":"3.0", + "appInfos":[ + { + "package_name":"com.xhjcn.lock.dev", + "client":{ + "app_id":"110798531" + }, + "app_info":{ + "package_name":"com.xhjcn.lock.dev", + "app_id":"110798531" + }, + "oauth_client":{ + "client_type":1, + "client_id":"110798531" + } + } + ] +} \ No newline at end of file diff --git a/android/app/src/xhj_dev/res/mipmap-hdpi/ic_launcher.png b/android/app/src/xhj_dev/res/mipmap-hdpi/ic_launcher.png new file mode 100755 index 00000000..e17ec78d Binary files /dev/null and b/android/app/src/xhj_dev/res/mipmap-hdpi/ic_launcher.png differ diff --git a/android/app/src/xhj_dev/res/mipmap-mdpi/ic_launcher.png b/android/app/src/xhj_dev/res/mipmap-mdpi/ic_launcher.png new file mode 100755 index 00000000..4e071c25 Binary files /dev/null and b/android/app/src/xhj_dev/res/mipmap-mdpi/ic_launcher.png differ diff --git a/android/app/src/xhj_dev/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/xhj_dev/res/mipmap-xhdpi/ic_launcher.png new file mode 100755 index 00000000..f190d692 Binary files /dev/null and b/android/app/src/xhj_dev/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/android/app/src/xhj_dev/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/xhj_dev/res/mipmap-xxhdpi/ic_launcher.png new file mode 100755 index 00000000..db495a38 Binary files /dev/null and b/android/app/src/xhj_dev/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/android/app/src/xhj_dev/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/xhj_dev/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100755 index 00000000..58a29a5e Binary files /dev/null and b/android/app/src/xhj_dev/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/android/app/src/xhj_pre/agconnect-services.json b/android/app/src/xhj_pre/agconnect-services.json new file mode 100644 index 00000000..0e8de286 --- /dev/null +++ b/android/app/src/xhj_pre/agconnect-services.json @@ -0,0 +1,96 @@ +{ + "agcgw":{ + "backurl":"connect-drcn.hispace.hicloud.com", + "url":"connect-drcn.dbankcloud.cn", + "websocketbackurl":"connect-ws-drcn.hispace.dbankcloud.com", + "websocketurl":"connect-ws-drcn.hispace.dbankcloud.cn" + }, + "agcgw_all":{ + "CN":"connect-drcn.dbankcloud.cn", + "CN_back":"connect-drcn.hispace.hicloud.com", + "DE":"connect-dre.dbankcloud.cn", + "DE_back":"connect-dre.hispace.hicloud.com", + "RU":"connect-drru.hispace.dbankcloud.ru", + "RU_back":"connect-drru.hispace.dbankcloud.cn", + "SG":"connect-dra.dbankcloud.cn", + "SG_back":"connect-dra.hispace.hicloud.com" + }, + "websocketgw_all":{ + "CN":"connect-ws-drcn.hispace.dbankcloud.cn", + "CN_back":"connect-ws-drcn.hispace.dbankcloud.com", + "DE":"connect-ws-dre.hispace.dbankcloud.cn", + "DE_back":"connect-ws-dre.hispace.dbankcloud.com", + "RU":"connect-ws-drru.hispace.dbankcloud.ru", + "RU_back":"connect-ws-drru.hispace.dbankcloud.cn", + "SG":"connect-ws-dra.hispace.dbankcloud.cn", + "SG_back":"connect-ws-dra.hispace.dbankcloud.com" + }, + "client":{ + "cp_id":"30086000752967166", + "product_id":"388421841222116270", + "client_id":"1406555529261648640", + "client_secret":"843E8191B02B692239726CF0ED990E1EC2B31928F825AA012B932A128FD2C516", + "project_id":"388421841222116270", + "app_id":"110798531", + "api_key":"DQEDAALnPCtuCgoYOyZfsIDa9/YZZhQ+buDGpypeurXhQUGMajWcVyYLQgXXqV3x2HbI6oyG+Wm2Gf+1hPs6j+wA3B6ylYAXG4aAQA==", + "package_name":"com.xhjcn.lock.pre" + }, + "oauth_client":{ + "client_id":"110798531", + "client_type":1 + }, + "app_info":{ + "app_id":"110798531", + "package_name":"com.xhjcn.lock.pre" + }, + "service":{ + "analytics":{ + "collector_url":"datacollector-drcn.dt.hicloud.com,datacollector-drcn.dt.dbankcloud.cn", + "collector_url_ru":"datacollector-drru.dt.dbankcloud.ru,datacollector-drru.dt.hicloud.com", + "collector_url_sg":"datacollector-dra.dt.hicloud.com,datacollector-dra.dt.dbankcloud.cn", + "collector_url_de":"datacollector-dre.dt.hicloud.com,datacollector-dre.dt.dbankcloud.cn", + "collector_url_cn":"datacollector-drcn.dt.hicloud.com,datacollector-drcn.dt.dbankcloud.cn", + "resource_id":"p1", + "channel_id":"" + }, + "edukit":{ + "edu_url":"edukit.cloud.huawei.com.cn", + "dh_url":"edukit.cloud.huawei.com.cn" + }, + "search":{ + "url":"https://search-drcn.cloud.huawei.com" + }, + "cloudstorage":{ + "storage_url_sg_back":"https://agc-storage-dra.cloud.huawei.asia", + "storage_url_ru_back":"https://agc-storage-drru.cloud.huawei.ru", + "storage_url_ru":"https://agc-storage-drru.cloud.huawei.ru", + "storage_url_de_back":"https://agc-storage-dre.cloud.huawei.eu", + "storage_url_de":"https://ops-dre.agcstorage.link", + "storage_url":"https://agc-storage-drcn.platform.dbankcloud.cn", + "storage_url_sg":"https://ops-dra.agcstorage.link", + "storage_url_cn_back":"https://agc-storage-drcn.cloud.huawei.com.cn", + "storage_url_cn":"https://agc-storage-drcn.platform.dbankcloud.cn" + }, + "ml":{ + "mlservice_url":"ml-api-drcn.ai.dbankcloud.com,ml-api-drcn.ai.dbankcloud.cn" + } + }, + "region":"CN", + "configuration_version":"3.0", + "appInfos":[ + { + "package_name":"com.xhjcn.lock.pre", + "client":{ + "app_id":"110798531" + }, + "app_info":{ + "package_name":"com.xhjcn.lock.pre", + "app_id":"110798531" + }, + "oauth_client":{ + "client_type":1, + "client_id":"110798531" + } + } + ] +} \ No newline at end of file diff --git a/android/app/src/xhj_pre/res/mipmap-hdpi/ic_launcher.png b/android/app/src/xhj_pre/res/mipmap-hdpi/ic_launcher.png new file mode 100755 index 00000000..e17ec78d Binary files /dev/null and b/android/app/src/xhj_pre/res/mipmap-hdpi/ic_launcher.png differ diff --git a/android/app/src/xhj_pre/res/mipmap-mdpi/ic_launcher.png b/android/app/src/xhj_pre/res/mipmap-mdpi/ic_launcher.png new file mode 100755 index 00000000..4e071c25 Binary files /dev/null and b/android/app/src/xhj_pre/res/mipmap-mdpi/ic_launcher.png differ diff --git a/android/app/src/xhj_pre/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/xhj_pre/res/mipmap-xhdpi/ic_launcher.png new file mode 100755 index 00000000..f190d692 Binary files /dev/null and b/android/app/src/xhj_pre/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/android/app/src/xhj_pre/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/xhj_pre/res/mipmap-xxhdpi/ic_launcher.png new file mode 100755 index 00000000..db495a38 Binary files /dev/null and b/android/app/src/xhj_pre/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/android/app/src/xhj_pre/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/xhj_pre/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100755 index 00000000..58a29a5e Binary files /dev/null and b/android/app/src/xhj_pre/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/android/build.sh b/android/build.sh new file mode 100755 index 00000000..8e672739 --- /dev/null +++ b/android/build.sh @@ -0,0 +1,30 @@ +#!/bin/bash +set -e +echo "Build Params Info:Build Dir:$CI_PROJECT_DIR,Build Tag:$CI_COMMIT_TAG,Build Branch:$CI_COMMIT_BRANCH,Build BUILD_REVISION:$CI_RUNNER_REVISION" + +export ENV_BUILD_TAG=${CI_COMMIT_TAG} +export ENV_BUILD_BRANCH=${CI_COMMIT_BRANCH} +export ENV_BUILD_WORKSPACE=${CI_PROJECT_DIR} +echo "GITLAB_WORKSPACE: ${CI_PROJECT_DIR}" +cd ${CI_PROJECT_DIR}/android +echo "ENV_BUILD_TAG:${ENV_BUILD_TAG},ENV_BUILD_BRANCH:${ENV_BUILD_BRANCH}" +regex='^v[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z]+\.[0-9]+)?$' +if [[ "${ENV_BUILD_BRANCH}" == "canary_release" ]]; then + echo "===build canary_release: ${NEXT_VERSION}" + export ENV_BUILD_TAG=${NEXT_VERSION} + bundle exec fastlane release flavor:xhj --verbose + bundle exec fastlane release flavor:sky --verbose +elif [[ $ENV_BUILD_TAG =~ $regex ]]; then + echo "===build release===$ENV_BUILD_TAG" + bundle exec fastlane release flavor:xhj --verbose + bundle exec fastlane release flavor:sky --verbose +elif [[ "${ENV_BUILD_BRANCH}" == "develop" ]]; then + echo "===build dev===${NEXT_VERSION}" + bundle exec fastlane beta flavor:xhj env:dev --verbose + bundle exec fastlane beta flavor:sky env:dev --verbose +elif [[ "${ENV_BUILD_BRANCH}" == "release" ]] || [[ "${ENV_BUILD_BRANCH}" == "feat_devops" ]] ; then + echo "===build pre===${NEXT_VERSION}" + bundle exec fastlane beta flavor:xhj env:pre --verbose + bundle exec fastlane beta flavor:sky env:pre --verbose +fi +exit 0 \ No newline at end of file diff --git a/android/fastlane/Appfile b/android/fastlane/Appfile new file mode 100644 index 00000000..26360691 --- /dev/null +++ b/android/fastlane/Appfile @@ -0,0 +1,2 @@ +json_key_file("") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one +package_name("") # e.g. com.krausefx.app diff --git a/android/fastlane/Fastfile b/android/fastlane/Fastfile new file mode 100644 index 00000000..3930650f --- /dev/null +++ b/android/fastlane/Fastfile @@ -0,0 +1,125 @@ +# This file contains the fastlane.tools configuration +# You can find the documentation at https://docs.fastlane.tools +# +# For a list of all available actions, check out +# +# https://docs.fastlane.tools/actions +# +# For a list of all available plugins, check out +# +# https://docs.fastlane.tools/plugins/available-plugins +# + +# Uncomment the line if you want fastlane to automatically update itself +# update_fastlane + +default_platform(:android) + +$env_key_project_root = 'ENV_BUILD_WORKSPACE' +$env_current_branch = 'ENV_BUILD_BRANCH' +$env_current_tag = 'ENV_BUILD_TAG' +$env_next_version = 'NEXT_VERSION' + +$path_dir_build = File.join(ENV[$env_key_project_root],'') +$current_branch = ENV[$env_current_branch] +$current_tag = ENV[$env_current_tag] +$next_version = ENV[$env_next_version] + +$path_apk_output_dir = File.join($path_dir_build, 'build/app/outputs/flutter-apk') +$path_bundle_output_dir = File.join($path_dir_build, 'build/app/outputs/bundle') + + +def print_header header + UI.message "~~~~~~~~~~~~~~~~~~~~~~" + UI.message '📍 ' + header.to_s + UI.message "~~~~~~~~~~~~~~~~~~~~~~" +end + +def print_log(content) + UI.message '📠 ' + content.to_s +end + +platform :android do + before_all do + print_header '🏁 Before All' + print_log $current_branch + print_log $current_tag + print_log $path_file_preview_apk_default + print_log $path_file_release_apk_default + print_log $path_file_preview_apk_copy + print_log $path_file_release_apk_copy + Dir.chdir "../.." do + sh('pwd') + end + end + + desc "Submit a new Beta Build to Pgy Beta" + lane :beta do |options| + flavor = options[:flavor] + env = options[:env] + UI.user_error!("flavor is required") unless flavor + UI.user_error!("env is required") unless env + print_log "build #{flavor} on #{env}" + build_number = Time.now.strftime("%Y%m%d%H") + print_log "BuildNo #{build_number}" + build_version = $next_version + print_log "build_version #{build_version}" + commit_hash = last_git_commit + short_hash = commit_hash[:abbreviated_commit_hash] + print_log "last_git_commit_short_hash #{short_hash}" + Dir.chdir "../.." do + sh("flutter", "build", "apk", "--no-tree-shake-icons", "--release", "--flavor", "#{flavor}_#{env}", "-t", "lib/main_#{flavor}_#{env}.dart", "--build-number=#{build_number}", "--build-name=#{build_version}") + end + old_file_path = File.join($path_apk_output_dir, "app-#{flavor}_#{env}-release.apk") + new_file_path = File.join($path_apk_output_dir, "starlock-#{flavor}-preview-#{build_version}.apk") + File.rename(old_file_path, new_file_path) + logs = changelog_from_git_commits( + pretty: '- %s (%cn)', + commits_count: 5, + merge_commit_filtering: 'exclude_merges' + ) + upload_file_to_pgy(directory:$path_apk_output_dir,file_extension:".apk",logs:logs) + end + + desc "Build & upload a new version to Gitlab Release" + lane :release do |options| + flavor = options[:flavor] + UI.user_error!("flavor is required") unless flavor + print_log "build flavor for: #{flavor}" + build_number = Time.now.strftime("%Y%m%d%H") + print_log "BuildNo #{build_number}" + build_version = $current_tag.match(/^v(\d+\.\d+\.\d+)/).captures[0] + print_log "buildVersion #{build_version}" + commit_hash = last_git_commit + short_hash = commit_hash[:abbreviated_commit_hash] + print_log "last_git_commit_short_hash #{short_hash}" + Dir.chdir "../.." do + sh("flutter", "build", "apk", "--no-tree-shake-icons", "--release", "--flavor", "#{flavor}", "-t", "lib/main_#{flavor}_lite.dart", "--build-number=#{build_number}", "--build-name=#{build_version}") + end + old_apk_file_path = File.join($path_apk_output_dir, "app-#{flavor}-release.apk") + new_apk_file_path = File.join($path_apk_output_dir, "starlock-#{flavor}-release-"+$current_tag+".apk") + File.rename(old_apk_file_path, new_apk_file_path) + Dir.chdir "../.." do + sh("flutter", "build", "appbundle", "--no-tree-shake-icons", "--release", "--flavor", "#{flavor}", "-t", "lib/main_#{flavor}_lite.dart", "--build-number=#{build_number}", "--build-name=#{build_version}") + end + old_bundle_file_path = File.join($path_bundle_output_dir , "/#{flavor}Release/app-#{flavor}-release.aab") + new_bundle_file_path = File.join($path_bundle_output_dir , "/#{flavor}Release/starlock-#{flavor}-release-"+$current_tag+".aab") + File.rename(old_bundle_file_path, new_bundle_file_path) + sh('cp',new_bundle_file_path,$path_apk_output_dir) + end + + lane :upload_file_to_pgy do |options| + directory = options[:directory] + file_extension = options[:file_extension] + logs = options[:logs] + UI.user_error!("Directory path is required") unless directory + UI.user_error!("File extension is required") unless file_extension + # 使用Dir.glob来查找目录下的所有.apk和.ipa文件 + Dir.glob("#{directory}/*#{file_extension}").each do |file| + # 打印文件名称 + puts "start upload file: #{file}" + pgyer(api_key: ENV['PGY_API_KEY'],apk:file,update_description: logs) + File.delete(file) + end + end +end diff --git a/android/fastlane/Pluginfile b/android/fastlane/Pluginfile new file mode 100644 index 00000000..ecfdb3ce --- /dev/null +++ b/android/fastlane/Pluginfile @@ -0,0 +1,5 @@ +# Autogenerated by fastlane +# +# Ensure this file is checked in to source control! + +gem 'fastlane-plugin-pgyer' diff --git a/ios/.gitignore b/ios/.gitignore index 7a7f9873..3f13ee83 100755 --- a/ios/.gitignore +++ b/ios/.gitignore @@ -7,6 +7,7 @@ **/*sync/ .sconsign.dblite .tags* +.DS_Store **/.vagrant/ **/DerivedData/ Icon? diff --git a/ios/Flutter/localDebug.xcconfig b/ios/Flutter/localDebug.xcconfig new file mode 100644 index 00000000..c29c755c --- /dev/null +++ b/ios/Flutter/localDebug.xcconfig @@ -0,0 +1,6 @@ +#include "Generated.xcconfig" + +FLUTTER_TARGET=lib/main_local.dart +ASSET_PREFIX=local +BUNDLE_NAME=星锁-local +BUNDLE_DISPLAY_NAME=星锁-local diff --git a/ios/Flutter/skyDebug.xcconfig b/ios/Flutter/skyDebug.xcconfig index 4148f08e..b2f11914 100755 --- a/ios/Flutter/skyDebug.xcconfig +++ b/ios/Flutter/skyDebug.xcconfig @@ -2,5 +2,5 @@ FLUTTER_TARGET=lib/main_sky_full.dart ASSET_PREFIX=sky -BUNDLE_NAME=斯凯智能 -BUNDLE_DISPLAY_NAME=斯凯智能 +BUNDLE_NAME=锁通通 +BUNDLE_DISPLAY_NAME=锁通通 diff --git a/ios/Flutter/skyDevRelease.xcconfig b/ios/Flutter/skyDevRelease.xcconfig new file mode 100644 index 00000000..b5f16eea --- /dev/null +++ b/ios/Flutter/skyDevRelease.xcconfig @@ -0,0 +1,6 @@ +#include "Generated.xcconfig" + +FLUTTER_TARGET=lib/main_sky_dev.dart +ASSET_PREFIX=sky +BUNDLE_NAME=锁通通-D +BUNDLE_DISPLAY_NAME=锁通通-D diff --git a/ios/Flutter/skyPreviewRelease.xcconfig b/ios/Flutter/skyPreviewRelease.xcconfig new file mode 100644 index 00000000..95a72d10 --- /dev/null +++ b/ios/Flutter/skyPreviewRelease.xcconfig @@ -0,0 +1,6 @@ +#include "Generated.xcconfig" + +FLUTTER_TARGET=lib/main_sky_pre.dart +ASSET_PREFIX=sky +BUNDLE_NAME=锁通通-P +BUNDLE_DISPLAY_NAME=锁通通-P diff --git a/ios/Flutter/skyProfile.xcconfig b/ios/Flutter/skyProfile.xcconfig index 4148f08e..b2f11914 100755 --- a/ios/Flutter/skyProfile.xcconfig +++ b/ios/Flutter/skyProfile.xcconfig @@ -2,5 +2,5 @@ FLUTTER_TARGET=lib/main_sky_full.dart ASSET_PREFIX=sky -BUNDLE_NAME=斯凯智能 -BUNDLE_DISPLAY_NAME=斯凯智能 +BUNDLE_NAME=锁通通 +BUNDLE_DISPLAY_NAME=锁通通 diff --git a/ios/Flutter/skyRelease.xcconfig b/ios/Flutter/skyRelease.xcconfig index 4148f08e..30eced7a 100755 --- a/ios/Flutter/skyRelease.xcconfig +++ b/ios/Flutter/skyRelease.xcconfig @@ -1,6 +1,6 @@ #include "Generated.xcconfig" -FLUTTER_TARGET=lib/main_sky_full.dart +FLUTTER_TARGET=lib/main_sky_lite.dart ASSET_PREFIX=sky -BUNDLE_NAME=斯凯智能 -BUNDLE_DISPLAY_NAME=斯凯智能 +BUNDLE_NAME=锁通通 +BUNDLE_DISPLAY_NAME=锁通通 diff --git a/ios/Flutter/xhjDevRelease.xcconfig b/ios/Flutter/xhjDevRelease.xcconfig new file mode 100644 index 00000000..7e563ac7 --- /dev/null +++ b/ios/Flutter/xhjDevRelease.xcconfig @@ -0,0 +1,6 @@ +#include "Generated.xcconfig" + +FLUTTER_TARGET=lib/main_xhj_dev.dart +ASSET_PREFIX=xhj +BUNDLE_NAME=星星锁-D +BUNDLE_DISPLAY_NAME=星星锁-D diff --git a/ios/Flutter/xhjPreviewRelease.xcconfig b/ios/Flutter/xhjPreviewRelease.xcconfig new file mode 100644 index 00000000..7aff4b5b --- /dev/null +++ b/ios/Flutter/xhjPreviewRelease.xcconfig @@ -0,0 +1,6 @@ +#include "Generated.xcconfig" + +FLUTTER_TARGET=lib/main_xhj_pre.dart +ASSET_PREFIX=xhj +BUNDLE_NAME=星星锁-P +BUNDLE_DISPLAY_NAME=星星锁-P diff --git a/ios/Gemfile b/ios/Gemfile new file mode 100644 index 00000000..21cb5dfc --- /dev/null +++ b/ios/Gemfile @@ -0,0 +1,7 @@ +source "https://rubygems.org" + +gem "fastlane" +gem 'cocoapods', '1.14.3' +gem 'public_suffix', '~> 4.0' +plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile') +eval_gemfile(plugins_path) if File.exist?(plugins_path) diff --git a/ios/Gemfile.lock b/ios/Gemfile.lock new file mode 100644 index 00000000..8882903d --- /dev/null +++ b/ios/Gemfile.lock @@ -0,0 +1,288 @@ +GEM + remote: https://rubygems.org/ + specs: + CFPropertyList (3.0.7) + base64 + nkf + rexml + activesupport (6.1.7.8) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (>= 1.6, < 2) + minitest (>= 5.1) + tzinfo (~> 2.0) + zeitwerk (~> 2.3) + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) + algoliasearch (1.27.5) + httpclient (~> 2.8, >= 2.8.3) + json (>= 1.5.1) + artifactory (3.0.17) + atomos (0.1.3) + aws-eventstream (1.3.0) + aws-partitions (1.979.0) + aws-sdk-core (3.209.1) + aws-eventstream (~> 1, >= 1.3.0) + aws-partitions (~> 1, >= 1.651.0) + aws-sigv4 (~> 1.9) + jmespath (~> 1, >= 1.6.1) + aws-sdk-kms (1.94.0) + aws-sdk-core (~> 3, >= 3.207.0) + aws-sigv4 (~> 1.5) + aws-sdk-s3 (1.166.0) + aws-sdk-core (~> 3, >= 3.207.0) + aws-sdk-kms (~> 1) + aws-sigv4 (~> 1.5) + aws-sigv4 (1.10.0) + aws-eventstream (~> 1, >= 1.0.2) + babosa (1.0.4) + base64 (0.2.0) + claide (1.1.0) + cocoapods (1.14.3) + addressable (~> 2.8) + claide (>= 1.0.2, < 2.0) + cocoapods-core (= 1.14.3) + cocoapods-deintegrate (>= 1.0.3, < 2.0) + cocoapods-downloader (>= 2.1, < 3.0) + cocoapods-plugins (>= 1.0.0, < 2.0) + cocoapods-search (>= 1.0.0, < 2.0) + cocoapods-trunk (>= 1.6.0, < 2.0) + cocoapods-try (>= 1.1.0, < 2.0) + colored2 (~> 3.1) + escape (~> 0.0.4) + fourflusher (>= 2.3.0, < 3.0) + gh_inspector (~> 1.0) + molinillo (~> 0.8.0) + nap (~> 1.0) + ruby-macho (>= 2.3.0, < 3.0) + xcodeproj (>= 1.23.0, < 2.0) + cocoapods-core (1.14.3) + activesupport (>= 5.0, < 8) + addressable (~> 2.8) + algoliasearch (~> 1.0) + concurrent-ruby (~> 1.1) + fuzzy_match (~> 2.0.4) + nap (~> 1.0) + netrc (~> 0.11) + public_suffix (~> 4.0) + typhoeus (~> 1.0) + cocoapods-deintegrate (1.0.5) + cocoapods-downloader (2.1) + cocoapods-plugins (1.0.0) + nap + cocoapods-search (1.0.1) + cocoapods-trunk (1.6.0) + nap (>= 0.8, < 2.0) + netrc (~> 0.11) + cocoapods-try (1.2.0) + colored (1.2) + colored2 (3.1.2) + commander (4.6.0) + highline (~> 2.0.0) + concurrent-ruby (1.3.4) + declarative (0.0.20) + digest-crc (0.6.5) + rake (>= 12.0.0, < 14.0.0) + domain_name (0.5.20190701) + unf (>= 0.0.5, < 1.0.0) + dotenv (2.8.1) + emoji_regex (3.2.3) + escape (0.0.4) + ethon (0.16.0) + ffi (>= 1.15.0) + excon (0.109.0) + faraday (1.10.4) + faraday-em_http (~> 1.0) + faraday-em_synchrony (~> 1.0) + faraday-excon (~> 1.1) + faraday-httpclient (~> 1.0) + faraday-multipart (~> 1.0) + faraday-net_http (~> 1.0) + faraday-net_http_persistent (~> 1.0) + faraday-patron (~> 1.0) + faraday-rack (~> 1.0) + faraday-retry (~> 1.0) + ruby2_keywords (>= 0.0.4) + faraday-cookie_jar (0.0.7) + faraday (>= 0.8.0) + http-cookie (~> 1.0.0) + faraday-em_http (1.0.0) + faraday-em_synchrony (1.0.0) + faraday-excon (1.1.0) + faraday-httpclient (1.0.1) + faraday-multipart (1.0.4) + multipart-post (~> 2) + faraday-net_http (1.0.2) + faraday-net_http_persistent (1.2.0) + faraday-patron (1.0.0) + faraday-rack (1.0.0) + faraday-retry (1.0.3) + faraday_middleware (1.2.1) + faraday (~> 1.0) + fastimage (2.3.1) + fastlane (2.222.0) + CFPropertyList (>= 2.3, < 4.0.0) + addressable (>= 2.8, < 3.0.0) + artifactory (~> 3.0) + aws-sdk-s3 (~> 1.0) + babosa (>= 1.0.3, < 2.0.0) + bundler (>= 1.12.0, < 3.0.0) + colored (~> 1.2) + commander (~> 4.6) + dotenv (>= 2.1.1, < 3.0.0) + emoji_regex (>= 0.1, < 4.0) + excon (>= 0.71.0, < 1.0.0) + faraday (~> 1.0) + faraday-cookie_jar (~> 0.0.6) + faraday_middleware (~> 1.0) + fastimage (>= 2.1.0, < 3.0.0) + gh_inspector (>= 1.1.2, < 2.0.0) + google-apis-androidpublisher_v3 (~> 0.3) + google-apis-playcustomapp_v1 (~> 0.1) + google-cloud-env (>= 1.6.0, < 2.0.0) + google-cloud-storage (~> 1.31) + highline (~> 2.0) + http-cookie (~> 1.0.5) + json (< 3.0.0) + jwt (>= 2.1.0, < 3) + mini_magick (>= 4.9.4, < 5.0.0) + multipart-post (>= 2.0.0, < 3.0.0) + naturally (~> 2.2) + optparse (>= 0.1.1, < 1.0.0) + plist (>= 3.1.0, < 4.0.0) + rubyzip (>= 2.0.0, < 3.0.0) + security (= 0.1.5) + simctl (~> 1.6.3) + terminal-notifier (>= 2.0.0, < 3.0.0) + terminal-table (~> 3) + tty-screen (>= 0.6.3, < 1.0.0) + tty-spinner (>= 0.8.0, < 1.0.0) + word_wrap (~> 1.0.0) + xcodeproj (>= 1.13.0, < 2.0.0) + xcpretty (~> 0.3.0) + xcpretty-travis-formatter (>= 0.0.3, < 2.0.0) + fastlane-plugin-pgyer (0.2.9) + ffi (1.17.0) + fourflusher (2.3.1) + fuzzy_match (2.0.4) + gh_inspector (1.1.3) + google-apis-androidpublisher_v3 (0.54.0) + google-apis-core (>= 0.11.0, < 2.a) + google-apis-core (0.11.3) + addressable (~> 2.5, >= 2.5.1) + googleauth (>= 0.16.2, < 2.a) + httpclient (>= 2.8.1, < 3.a) + mini_mime (~> 1.0) + representable (~> 3.0) + retriable (>= 2.0, < 4.a) + rexml + google-apis-iamcredentials_v1 (0.17.0) + google-apis-core (>= 0.11.0, < 2.a) + google-apis-playcustomapp_v1 (0.13.0) + google-apis-core (>= 0.11.0, < 2.a) + google-apis-storage_v1 (0.29.0) + google-apis-core (>= 0.11.0, < 2.a) + google-cloud-core (1.6.1) + google-cloud-env (>= 1.0, < 3.a) + google-cloud-errors (~> 1.0) + google-cloud-env (1.6.0) + faraday (>= 0.17.3, < 3.0) + google-cloud-errors (1.3.1) + google-cloud-storage (1.45.0) + addressable (~> 2.8) + digest-crc (~> 0.4) + google-apis-iamcredentials_v1 (~> 0.1) + google-apis-storage_v1 (~> 0.29.0) + google-cloud-core (~> 1.6) + googleauth (>= 0.16.2, < 2.a) + mini_mime (~> 1.0) + googleauth (1.8.1) + faraday (>= 0.17.3, < 3.a) + jwt (>= 1.4, < 3.0) + multi_json (~> 1.11) + os (>= 0.9, < 2.0) + signet (>= 0.16, < 2.a) + highline (2.0.3) + http-cookie (1.0.7) + domain_name (~> 0.5) + httpclient (2.8.3) + i18n (1.14.6) + concurrent-ruby (~> 1.0) + jmespath (1.6.2) + json (2.7.2) + jwt (2.9.1) + base64 + mini_magick (4.13.2) + mini_mime (1.1.5) + minitest (5.25.1) + molinillo (0.8.0) + multi_json (1.15.0) + multipart-post (2.4.1) + nanaimo (0.3.0) + nap (1.1.0) + naturally (2.2.1) + netrc (0.11.0) + nkf (0.2.0) + optparse (0.5.0) + os (1.1.4) + plist (3.7.1) + public_suffix (4.0.7) + rake (13.2.1) + representable (3.2.0) + declarative (< 0.1.0) + trailblazer-option (>= 0.1.1, < 0.2.0) + uber (< 0.2.0) + retriable (3.1.2) + rexml (3.3.7) + rouge (2.0.7) + ruby-macho (2.5.1) + ruby2_keywords (0.0.5) + rubyzip (2.3.2) + security (0.1.5) + signet (0.18.0) + addressable (~> 2.8) + faraday (>= 0.17.5, < 3.a) + jwt (>= 1.5, < 3.0) + multi_json (~> 1.10) + simctl (1.6.10) + CFPropertyList + naturally + terminal-notifier (2.0.0) + terminal-table (3.0.2) + unicode-display_width (>= 1.1.1, < 3) + trailblazer-option (0.1.2) + tty-cursor (0.7.1) + tty-screen (0.8.2) + tty-spinner (0.9.3) + tty-cursor (~> 0.7) + typhoeus (1.4.1) + ethon (>= 0.9.0) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + uber (0.1.0) + unf (0.2.0) + unicode-display_width (2.6.0) + word_wrap (1.0.0) + xcodeproj (1.25.0) + CFPropertyList (>= 2.3.3, < 4.0) + atomos (~> 0.1.3) + claide (>= 1.0.2, < 2.0) + colored2 (~> 3.1) + nanaimo (~> 0.3.0) + rexml (>= 3.3.2, < 4.0) + xcpretty (0.3.0) + rouge (~> 2.0.7) + xcpretty-travis-formatter (1.0.1) + xcpretty (~> 0.2, >= 0.0.7) + zeitwerk (2.6.18) + +PLATFORMS + ruby + +DEPENDENCIES + cocoapods (= 1.14.3) + fastlane + fastlane-plugin-pgyer + public_suffix (~> 4.0) + +BUNDLED WITH + 1.17.2 diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj old mode 100755 new mode 100644 index 4ebc047a..3dd035fb --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -17,9 +17,7 @@ 8297E4102AE75AC500E886FA /* XSFlutterManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 8297E40E2AE75AC500E886FA /* XSFlutterManager.m */; }; 8297E49B2AE7974700E886FA /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 8297E49A2AE7974700E886FA /* AppDelegate.m */; }; 82B657622C91665F0079121C /* Info_sky.plist in Resources */ = {isa = PBXBuildFile; fileRef = 82B657602C91665E0079121C /* Info_sky.plist */; }; - 82B657632C91665F0079121C /* Info_xhj.plist in Resources */ = {isa = PBXBuildFile; fileRef = 82B657612C91665E0079121C /* Info_xhj.plist */; }; 82B657652C917F950079121C /* Info_pre.plist in Resources */ = {isa = PBXBuildFile; fileRef = 82B657642C917F950079121C /* Info_pre.plist */; }; - 82B657672C919BDF0079121C /* launchImage_xhj.png in Resources */ = {isa = PBXBuildFile; fileRef = 82B657662C919BDF0079121C /* launchImage_xhj.png */; }; 82B657692C919DA70079121C /* launchImage_sky.png in Resources */ = {isa = PBXBuildFile; fileRef = 82B657682C919DA60079121C /* launchImage_sky.png */; }; 82C026542AE8AC6D0011FE6A /* AliyunEmasServices-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 82C026532AE8AC6D0011FE6A /* AliyunEmasServices-Info.plist */; }; 82F1ECDB2BE8B7B500265D59 /* DTFIdentityManager.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 82F1ECD12BE8B7B400265D59 /* DTFIdentityManager.framework */; }; @@ -70,6 +68,11 @@ CD1142BE3A076363977FB03C /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED1F1A04428235FB1B6FD471 /* Pods_Runner.framework */; }; D415555B0C61C5422202D037 /* devProfile.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9AA145F8B894E5E4F14249DB /* devProfile.xcconfig */; }; D7EF77645AB1C3CEEA536468 /* skyDebug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 7579B06AEF5FEA95042D8474 /* skyDebug.xcconfig */; }; + E0A496C52CA3092500E376BB /* localDebug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = E0A496C42CA3092500E376BB /* localDebug.xcconfig */; }; + E0A496C92CA30C2C00E376BB /* xhjDevRelease.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = E0A496C82CA30C2C00E376BB /* xhjDevRelease.xcconfig */; }; + E0A496CB2CA30C7400E376BB /* xhjPreviewRelease.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = E0A496CA2CA30C7400E376BB /* xhjPreviewRelease.xcconfig */; }; + E0A496CD2CA30CA900E376BB /* skyDevRelease.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = E0A496CC2CA30CA900E376BB /* skyDevRelease.xcconfig */; }; + E0A496CF2CA30CEF00E376BB /* skyPreviewRelease.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = E0A496CE2CA30CEF00E376BB /* skyPreviewRelease.xcconfig */; }; E2FF5D00DFF6E2BF9DA36649 /* devLaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = D627D69970E6DA2D33F770E3 /* devLaunchScreen.storyboard */; }; EE0A7A61CF36BC83ACA6EE3E /* xhjProfile.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = DC2FBF181C8D9880E24845E6 /* xhjProfile.xcconfig */; }; F0A7A6EF7D83CA92324D9C20 /* preDebug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 383F65C3166F78B1A1470A4E /* preDebug.xcconfig */; }; @@ -94,6 +97,7 @@ 04BFC4482BCFE05100688FCA /* RunnerRelease-xhj.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "RunnerRelease-xhj.entitlements"; sourceTree = ""; }; 0BEB3ADCCEC961E2916B9004 /* 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 = ""; }; 0D02C18E16914A687A4A1AC2 /* devDebug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = devDebug.xcconfig; path = Flutter/devDebug.xcconfig; sourceTree = ""; }; + 126D1370182AB44291C67A10 /* Pods-Runner.dev-release-sky.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.dev-release-sky.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.dev-release-sky.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 = ""; }; 16A83D21DFB231D8453DC681 /* Pods-Runner.release-sky.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release-sky.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release-sky.xcconfig"; sourceTree = ""; }; @@ -110,7 +114,9 @@ 6285D102821F3D2FB7B09E43 /* 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 = ""; }; 68C41ACED6A779BAAA0A51A7 /* Pods-Runner.release-pre.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release-pre.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release-pre.xcconfig"; sourceTree = ""; }; 6A6F5C86239927252C06A16A /* xhjLaunchScreen.storyboard */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file.storyboard; name = xhjLaunchScreen.storyboard; path = Runner/xhjLaunchScreen.storyboard; sourceTree = ""; }; + 72E2A6A227EA101C0167D322 /* Pods-Runner.debug-local.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug-local.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug-local.xcconfig"; sourceTree = ""; }; 7579B06AEF5FEA95042D8474 /* skyDebug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = skyDebug.xcconfig; path = Flutter/skyDebug.xcconfig; sourceTree = ""; }; + 789004F1B475B44713E199BC /* Pods-Runner.pre-release-xhj.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.pre-release-xhj.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.pre-release-xhj.xcconfig"; sourceTree = ""; }; 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 7EA577AFEEE10224BA96C569 /* preLaunchScreen.storyboard */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file.storyboard; name = preLaunchScreen.storyboard; path = Runner/preLaunchScreen.storyboard; sourceTree = ""; }; 8297E40E2AE75AC500E886FA /* XSFlutterManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = XSFlutterManager.m; sourceTree = ""; }; @@ -182,10 +188,17 @@ D501929EA2295683612A3AD8 /* preRelease.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = preRelease.xcconfig; path = Flutter/preRelease.xcconfig; sourceTree = ""; }; D62237D2D011BDC27FB2BC28 /* Pods-Runner.profile-xhj.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile-xhj.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile-xhj.xcconfig"; sourceTree = ""; }; D627D69970E6DA2D33F770E3 /* devLaunchScreen.storyboard */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = file.storyboard; name = devLaunchScreen.storyboard; path = Runner/devLaunchScreen.storyboard; sourceTree = ""; }; + D697F91E8405773AB9A5881E /* Pods-Runner.pre-release-sky.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.pre-release-sky.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.pre-release-sky.xcconfig"; sourceTree = ""; }; DAD8EE71BE7C05B99667C256 /* 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 = ""; }; DC2FBF181C8D9880E24845E6 /* xhjProfile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = xhjProfile.xcconfig; path = Flutter/xhjProfile.xcconfig; sourceTree = ""; }; DC36296928F573892A6C154E /* skyProfile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = skyProfile.xcconfig; path = Flutter/skyProfile.xcconfig; sourceTree = ""; }; + E0A496C42CA3092500E376BB /* localDebug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = localDebug.xcconfig; path = Flutter/localDebug.xcconfig; sourceTree = ""; }; + E0A496C82CA30C2C00E376BB /* xhjDevRelease.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = xhjDevRelease.xcconfig; path = Flutter/xhjDevRelease.xcconfig; sourceTree = ""; }; + E0A496CA2CA30C7400E376BB /* xhjPreviewRelease.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = xhjPreviewRelease.xcconfig; path = Flutter/xhjPreviewRelease.xcconfig; sourceTree = ""; }; + E0A496CC2CA30CA900E376BB /* skyDevRelease.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = skyDevRelease.xcconfig; path = Flutter/skyDevRelease.xcconfig; sourceTree = ""; }; + E0A496CE2CA30CEF00E376BB /* skyPreviewRelease.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = skyPreviewRelease.xcconfig; path = Flutter/skyPreviewRelease.xcconfig; sourceTree = ""; }; ED1F1A04428235FB1B6FD471 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + ED3A443EA1439FD0FB4BCF80 /* Pods-Runner.dev-release-xhj.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.dev-release-xhj.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.dev-release-xhj.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -250,6 +263,11 @@ 22D858E988707FF26E068457 /* Pods-Runner.debug-xhj.xcconfig */, D62237D2D011BDC27FB2BC28 /* Pods-Runner.profile-xhj.xcconfig */, CDC2B8ED804B514A774F187D /* Pods-Runner.release-xhj.xcconfig */, + 72E2A6A227EA101C0167D322 /* Pods-Runner.debug-local.xcconfig */, + D697F91E8405773AB9A5881E /* Pods-Runner.pre-release-sky.xcconfig */, + 126D1370182AB44291C67A10 /* Pods-Runner.dev-release-sky.xcconfig */, + 789004F1B475B44713E199BC /* Pods-Runner.pre-release-xhj.xcconfig */, + ED3A443EA1439FD0FB4BCF80 /* Pods-Runner.dev-release-xhj.xcconfig */, ); path = Pods; sourceTree = ""; @@ -273,6 +291,11 @@ 853610C00A55CC450C2FF839 /* xhjDebug.xcconfig */, DC2FBF181C8D9880E24845E6 /* xhjProfile.xcconfig */, CA9024705F732C9C000EA53E /* xhjRelease.xcconfig */, + E0A496C42CA3092500E376BB /* localDebug.xcconfig */, + E0A496C82CA30C2C00E376BB /* xhjDevRelease.xcconfig */, + E0A496CA2CA30C7400E376BB /* xhjPreviewRelease.xcconfig */, + E0A496CC2CA30CA900E376BB /* skyDevRelease.xcconfig */, + E0A496CE2CA30CEF00E376BB /* skyPreviewRelease.xcconfig */, ); name = Flutter; sourceTree = ""; @@ -453,15 +476,18 @@ 82B657622C91665F0079121C /* Info_sky.plist in Resources */, 82F1ED142BE8B9F400265D59 /* ToygerService.bundle in Resources */, 82C026542AE8AC6D0011FE6A /* AliyunEmasServices-Info.plist in Resources */, + E0A496C92CA30C2C00E376BB /* xhjDevRelease.xcconfig in Resources */, 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, + E0A496CD2CA30CA900E376BB /* skyDevRelease.xcconfig in Resources */, 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, - 82B657632C91665F0079121C /* Info_xhj.plist in Resources */, - 82B657672C919BDF0079121C /* launchImage_xhj.png in Resources */, + E0A496CB2CA30C7400E376BB /* xhjPreviewRelease.xcconfig in Resources */, + E0A496C52CA3092500E376BB /* localDebug.xcconfig in Resources */, 805C745A7C79091E65665B96 /* devDebug.xcconfig in Resources */, D415555B0C61C5422202D037 /* devProfile.xcconfig in Resources */, 8A77CDE0EDBCACCE22C29A9E /* devRelease.xcconfig in Resources */, F0A7A6EF7D83CA92324D9C20 /* preDebug.xcconfig in Resources */, + E0A496CF2CA30CEF00E376BB /* skyPreviewRelease.xcconfig in Resources */, 9C453CBFAB0703DFA762337C /* preProfile.xcconfig in Resources */, 44827AC367F1EAB110A97660 /* preRelease.xcconfig in Resources */, D7EF77645AB1C3CEEA536468 /* skyDebug.xcconfig in Resources */, @@ -580,146 +606,18 @@ /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ - 04ED962A2B688AB00046472A /* Debug-dev */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D28DFC3BEA6D46B5F5B5E55F /* Pods-Runner.debug-dev.xcconfig */; - buildSettings = { - CODE_SIGN_ENTITLEMENTS = "Runner/RunnerDebug-dev.entitlements"; - CODE_SIGN_IDENTITY = "Apple Development"; - CODE_SIGN_STYLE = Automatic; - DEVELOPMENT_TEAM = 7D53BZAN75; - INFOPLIST_FILE = Runner/Info_dev.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - PRODUCT_NAME = Runner; - PROVISIONING_PROFILE_SPECIFIER = ""; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; - SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - TARGETED_DEVICE_FAMILY = 1; - }; - name = "Debug-dev"; - }; - 04ED962B2B688AB00046472A /* Profile-dev */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 6285D102821F3D2FB7B09E43 /* Pods-Runner.profile-dev.xcconfig */; - buildSettings = { - CODE_SIGN_ENTITLEMENTS = "Runner/RunnerProfile-dev.entitlements"; - DEVELOPMENT_TEAM = 7D53BZAN75; - INFOPLIST_FILE = Runner/Info_dev.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - PRODUCT_NAME = Runner; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; - SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - TARGETED_DEVICE_FAMILY = 1; - }; - name = "Profile-dev"; - }; - 04ED962C2B688AB00046472A /* Release-dev */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 295A8AFEEC4806105FAA13B5 /* Pods-Runner.release-dev.xcconfig */; - buildSettings = { - CODE_SIGN_ENTITLEMENTS = "Runner/RunnerRelease-dev.entitlements"; - DEVELOPMENT_TEAM = 7D53BZAN75; - INFOPLIST_FILE = Runner/Info_dev.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - PRODUCT_NAME = Runner; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; - SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - TARGETED_DEVICE_FAMILY = 1; - }; - name = "Release-dev"; - }; - 04ED962D2B688AB00046472A /* Debug-pre */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 51086737647B9B5E510020C6 /* Pods-Runner.debug-pre.xcconfig */; - buildSettings = { - CODE_SIGN_ENTITLEMENTS = "Runner/RunnerDebug-pre.entitlements"; - DEVELOPMENT_TEAM = 7D53BZAN75; - INFOPLIST_FILE = Runner/Info_pre.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - PRODUCT_NAME = Runner; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; - SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - TARGETED_DEVICE_FAMILY = 1; - }; - name = "Debug-pre"; - }; - 04ED962E2B688AB00046472A /* Profile-pre */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D001CDA3D7BF065A0C6E3B64 /* Pods-Runner.profile-pre.xcconfig */; - buildSettings = { - CODE_SIGN_ENTITLEMENTS = "Runner/RunnerProfile-pre.entitlements"; - DEVELOPMENT_TEAM = 7D53BZAN75; - INFOPLIST_FILE = Runner/Info_pre.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - PRODUCT_NAME = Runner; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; - SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - TARGETED_DEVICE_FAMILY = 1; - }; - name = "Profile-pre"; - }; - 04ED962F2B688AB00046472A /* Release-pre */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 68C41ACED6A779BAAA0A51A7 /* Pods-Runner.release-pre.xcconfig */; - buildSettings = { - CODE_SIGN_ENTITLEMENTS = "Runner/RunnerRelease-pre.entitlements"; - DEVELOPMENT_TEAM = 7D53BZAN75; - INFOPLIST_FILE = Runner/Info_pre.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - PRODUCT_NAME = Runner; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; - SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - TARGETED_DEVICE_FAMILY = 1; - }; - name = "Release-pre"; - }; - 04ED96302B688AB00046472A /* Debug-sky */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 4A63B2C308CB401731950EC8 /* Pods-Runner.debug-sky.xcconfig */; - buildSettings = { - CODE_SIGN_ENTITLEMENTS = "Runner/RunnerDebug-sky.entitlements"; - DEVELOPMENT_TEAM = NAQ5PL2DYC; - INFOPLIST_FILE = Runner/Info_sky.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - PRODUCT_NAME = Runner; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; - SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - TARGETED_DEVICE_FAMILY = 1; - }; - name = "Debug-sky"; - }; - 04ED96312B688AB00046472A /* Profile-sky */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 8CD96970DEA44F6CC71DEECE /* Pods-Runner.profile-sky.xcconfig */; - buildSettings = { - CODE_SIGN_ENTITLEMENTS = "Runner/RunnerProfile-sky.entitlements"; - DEVELOPMENT_TEAM = NAQ5PL2DYC; - INFOPLIST_FILE = Runner/info_sky.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - PRODUCT_NAME = Runner; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; - SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - TARGETED_DEVICE_FAMILY = 1; - }; - name = "Profile-sky"; - }; 04ED96322B688AB00046472A /* Release-sky */ = { isa = XCBuildConfiguration; baseConfigurationReference = 16A83D21DFB231D8453DC681 /* Pods-Runner.release-sky.xcconfig */; buildSettings = { CODE_SIGN_ENTITLEMENTS = "Runner/RunnerRelease-sky.entitlements"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; DEVELOPMENT_TEAM = NAQ5PL2DYC; - INFOPLIST_FILE = Runner/info_sky.plist; + "DEVELOPMENT_TEAM[sdk=iphoneos*]" = NAQ5PL2DYC; + INFOPLIST_FILE = Runner/Info_sky.plist; IPHONEOS_DEPLOYMENT_TARGET = 12.0; PRODUCT_NAME = Runner; + "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = Appstore_com.skychip.lock.mobileprovision; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTS_MACCATALYST = NO; SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; @@ -727,47 +625,19 @@ }; name = "Release-sky"; }; - 04ED96332B688AB00046472A /* Debug-xhj */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 22D858E988707FF26E068457 /* Pods-Runner.debug-xhj.xcconfig */; - buildSettings = { - CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - DEVELOPMENT_TEAM = P8997RW3V8; - INFOPLIST_FILE = Runner/Info_xhj.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - PRODUCT_NAME = Runner; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; - SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - TARGETED_DEVICE_FAMILY = 1; - }; - name = "Debug-xhj"; - }; - 04ED96342B688AB00046472A /* Profile-xhj */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D62237D2D011BDC27FB2BC28 /* Pods-Runner.profile-xhj.xcconfig */; - buildSettings = { - CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - DEVELOPMENT_TEAM = P8997RW3V8; - INFOPLIST_FILE = Runner/Info_xhj.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - PRODUCT_NAME = Runner; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; - SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - TARGETED_DEVICE_FAMILY = 1; - }; - name = "Profile-xhj"; - }; 04ED96352B688AB00046472A /* Release-xhj */ = { isa = XCBuildConfiguration; baseConfigurationReference = CDC2B8ED804B514A774F187D /* Pods-Runner.release-xhj.xcconfig */; buildSettings = { CODE_SIGN_ENTITLEMENTS = "Runner/RunnerRelease-xhj.entitlements"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; DEVELOPMENT_TEAM = P8997RW3V8; + "DEVELOPMENT_TEAM[sdk=iphoneos*]" = P8997RW3V8; INFOPLIST_FILE = Runner/Info_xhj.plist; IPHONEOS_DEPLOYMENT_TARGET = 12.0; + PRODUCT_BUNDLE_IDENTIFIER = com.xhjcn.lock; PRODUCT_NAME = Runner; + "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = Appstore_com.xhjcn.lock.mobileprovision; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTS_MACCATALYST = NO; SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; @@ -775,342 +645,6 @@ }; name = "Release-xhj"; }; - 0AECF9F7E0C6DEA08F10801D /* Profile-xhj */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = DC2FBF181C8D9880E24845E6 /* xhjProfile.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_APPICON_NAME = "$(ASSET_PREFIX)AppIcon"; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - 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; - EXCLUDED_ARCHS = ""; - 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; - INFOPLIST_FILE = Runner/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); - MTL_ENABLE_DEBUG_INFO = NO; - PRODUCT_BUNDLE_IDENTIFIER = com.xhjcn.lock; - 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-xhj"; - }; - 249021D3217E4FDB00AE95B9 /* Profile */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - 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; - EXCLUDED_ARCHS = ""; - 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 = 12.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 = { - ALWAYS_SEARCH_USER_PATHS = YES; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = Runner/RunnerProfile.entitlements; - CODE_SIGN_IDENTITY = "Apple Development"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 7D53BZAN75; - ENABLE_BITCODE = NO; - GCC_NO_COMMON_BLOCKS = NO; - INFOPLIST_FILE = Runner/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - MARKETING_VERSION = 1.0.0; - OTHER_LDFLAGS = ( - "$(inherited)", - "-ObjC", - "-l\"c++\"", - "-l\"resolv\"", - "-l\"sqlite3\"", - "-l\"sqlite3.0\"", - "-l\"z\"", - "-framework", - "\"AMapFoundationKit\"", - "-framework", - "\"AMapLocationKit\"", - "-framework", - "\"Accelerate\"", - "-framework", - "\"AlicloudSender\"", - "-framework", - "\"AlicloudUtils\"", - "-framework", - "\"CloudPushSDK\"", - "-framework", - "\"CoreData\"", - "-framework", - "\"CoreGraphics\"", - "-framework", - "\"CoreImage\"", - "-framework", - "\"CoreLocation\"", - "-framework", - "\"CoreTelephony\"", - "-framework", - "\"CoreText\"", - "-framework", - "\"EMASRest\"", - "-framework", - "\"ExternalAccessory\"", - "-framework", - "\"FMDB\"", - "-framework", - "\"GLKit\"", - "-framework", - "\"GoogleMaps\"", - "-framework", - "\"GoogleMapsBase\"", - "-framework", - "\"GoogleMapsCore\"", - "-framework", - "\"ImageIO\"", - "-framework", - "\"MAMapKit\"", - "-framework", - "\"Metal\"", - "-framework", - "\"OpenGLES\"", - "-framework", - "\"Protobuf\"", - "-framework", - "\"QuartzCore\"", - "-framework", - "\"Security\"", - "-framework", - "\"SwiftProtobuf\"", - "-framework", - "\"SystemConfiguration\"", - "-framework", - "\"Toast\"", - "-framework", - "\"UIKit\"", - "-framework", - "\"UTDID\"", - "-framework", - "\"UTMini\"", - "-framework", - "\"aj_captcha_flutter\"", - "-framework", - "\"amap_flutter_location\"", - "-framework", - "\"amap_flutter_map\"", - "-framework", - "\"camera_avfoundation\"", - "-framework", - "\"device_info_plus\"", - "-framework", - "\"flutter_native_contact_picker\"", - "-framework", - "\"fluttertoast\"", - "-framework", - "\"google_maps_flutter_ios\"", - "-framework", - "\"image_picker_ios\"", - "-framework", - "\"network_info_plus\"", - "-framework", - "\"package_info_plus\"", - "-framework", - "\"path_provider_foundation\"", - "-framework", - "\"permission_handler_apple\"", - "-framework", - "\"reactive_ble_mobile\"", - "-framework", - "\"shared_preferences_foundation\"", - "-framework", - "\"sqflite\"", - "-framework", - "\"url_launcher_ios\"", - "-framework", - "\"webview_flutter_wkwebview\"", - ); - PRODUCT_BUNDLE_IDENTIFIER = "cn.star-lock.starLock"; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; - STRIP_INSTALLED_PRODUCT = NO; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; - SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = 1; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Profile; - }; - 286CDDCE190664D4A34E4EA4 /* Profile-pre */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = B7AA7A6DD927B38E32E2C889 /* preProfile.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_APPICON_NAME = "$(ASSET_PREFIX)AppIcon"; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - 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; - EXCLUDED_ARCHS = ""; - 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; - INFOPLIST_FILE = Runner/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); - MTL_ENABLE_DEBUG_INFO = NO; - PRODUCT_BUNDLE_IDENTIFIER = com.starlock.lock.pre; - 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-pre"; - }; 5028C464A6FD115380ECE6A0 /* Release-sky */ = { isa = XCBuildConfiguration; baseConfigurationReference = 35F02D170492750B437D6AB6 /* skyRelease.xcconfig */; @@ -1181,151 +715,6 @@ }; name = "Release-sky"; }; - 73A00B8681EDE1EB63EC993D /* Debug-dev */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 0D02C18E16914A687A4A1AC2 /* devDebug.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_APPICON_NAME = "$(ASSET_PREFIX)AppIcon"; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - 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; - EXCLUDED_ARCHS = ""; - 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; - INFOPLIST_FILE = Runner/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - 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.starlock.lock.dev; - SDKROOT = iphoneos; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = "Debug-dev"; - }; - 8B40B3FD83C5A41406C64627 /* Profile-dev */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9AA145F8B894E5E4F14249DB /* devProfile.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_APPICON_NAME = "$(ASSET_PREFIX)AppIcon"; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - 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; - EXCLUDED_ARCHS = ""; - 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; - INFOPLIST_FILE = Runner/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); - MTL_ENABLE_DEBUG_INFO = NO; - PRODUCT_BUNDLE_IDENTIFIER = com.starlock.lock.dev; - 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-dev"; - }; 9073AF548DAA546CE84A8D2F /* Release-xhj */ = { isa = XCBuildConfiguration; baseConfigurationReference = CA9024705F732C9C000EA53E /* xhjRelease.xcconfig */; @@ -1396,9 +785,9 @@ }; name = "Release-xhj"; }; - 92508731B124D206E57D27AC /* Debug-sky */ = { + E0A496C62CA309AD00E376BB /* Debug-local */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 7579B06AEF5FEA95042D8474 /* skyDebug.xcconfig */; + baseConfigurationReference = E0A496C42CA3092500E376BB /* localDebug.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; ASSETCATALOG_COMPILER_APPICON_NAME = "$(ASSET_PREFIX)AppIcon"; @@ -1463,700 +852,40 @@ ); MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; - PRODUCT_BUNDLE_IDENTIFIER = com.skychip.lock; - SDKROOT = iphoneos; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = "Debug-sky"; - }; - 97C147031CF9000F007C117D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - 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; - EXCLUDED_ARCHS = ""; - 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 = 12.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_LOCALIZABILITY_NONLOCALIZED = YES; - 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; - EXCLUDED_ARCHS = ""; - 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 = 12.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 97C147061CF9000F007C117D /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = YES; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - CODE_SIGN_IDENTITY = "Apple Development"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 7D53BZAN75; - ENABLE_BITCODE = NO; - GCC_NO_COMMON_BLOCKS = NO; - INFOPLIST_FILE = Runner/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - MARKETING_VERSION = 1.0.0; - OTHER_LDFLAGS = ( - "$(inherited)", - "-ObjC", - "-l\"c++\"", - "-l\"resolv\"", - "-l\"sqlite3\"", - "-l\"sqlite3.0\"", - "-l\"z\"", - "-framework", - "\"AMapFoundationKit\"", - "-framework", - "\"AMapLocationKit\"", - "-framework", - "\"Accelerate\"", - "-framework", - "\"AlicloudSender\"", - "-framework", - "\"AlicloudUtils\"", - "-framework", - "\"CloudPushSDK\"", - "-framework", - "\"CoreData\"", - "-framework", - "\"CoreGraphics\"", - "-framework", - "\"CoreImage\"", - "-framework", - "\"CoreLocation\"", - "-framework", - "\"CoreTelephony\"", - "-framework", - "\"CoreText\"", - "-framework", - "\"EMASRest\"", - "-framework", - "\"ExternalAccessory\"", - "-framework", - "\"FMDB\"", - "-framework", - "\"GLKit\"", - "-framework", - "\"GoogleMaps\"", - "-framework", - "\"GoogleMapsBase\"", - "-framework", - "\"GoogleMapsCore\"", - "-framework", - "\"ImageIO\"", - "-framework", - "\"MAMapKit\"", - "-framework", - "\"Metal\"", - "-framework", - "\"OpenGLES\"", - "-framework", - "\"Protobuf\"", - "-framework", - "\"QuartzCore\"", - "-framework", - "\"Security\"", - "-framework", - "\"SwiftProtobuf\"", - "-framework", - "\"SystemConfiguration\"", - "-framework", - "\"Toast\"", - "-framework", - "\"UIKit\"", - "-framework", - "\"UTDID\"", - "-framework", - "\"UTMini\"", - "-framework", - "\"aj_captcha_flutter\"", - "-framework", - "\"amap_flutter_location\"", - "-framework", - "\"amap_flutter_map\"", - "-framework", - "\"camera_avfoundation\"", - "-framework", - "\"device_info_plus\"", - "-framework", - "\"flutter_native_contact_picker\"", - "-framework", - "\"fluttertoast\"", - "-framework", - "\"google_maps_flutter_ios\"", - "-framework", - "\"image_picker_ios\"", - "-framework", - "\"network_info_plus\"", - "-framework", - "\"package_info_plus\"", - "-framework", - "\"path_provider_foundation\"", - "-framework", - "\"permission_handler_apple\"", - "-framework", - "\"reactive_ble_mobile\"", - "-framework", - "\"shared_preferences_foundation\"", - "-framework", - "\"sqflite\"", - "-framework", - "\"url_launcher_ios\"", - "-framework", - "\"webview_flutter_wkwebview\"", - ); - PRODUCT_BUNDLE_IDENTIFIER = "cn.star-lock.starLock"; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; - STRIP_INSTALLED_PRODUCT = NO; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; - SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = 1; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Debug; - }; - 97C147071CF9000F007C117D /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = YES; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = Runner/RunnerRelease.entitlements; - CODE_SIGN_IDENTITY = "Apple Development"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = 7D53BZAN75; - ENABLE_BITCODE = NO; - GCC_NO_COMMON_BLOCKS = NO; - INFOPLIST_FILE = Runner/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - MARKETING_VERSION = 1.0.0; - OTHER_LDFLAGS = ( - "$(inherited)", - "-ObjC", - "-l\"c++\"", - "-l\"resolv\"", - "-l\"sqlite3\"", - "-l\"sqlite3.0\"", - "-l\"z\"", - "-framework", - "\"AMapFoundationKit\"", - "-framework", - "\"AMapLocationKit\"", - "-framework", - "\"Accelerate\"", - "-framework", - "\"AlicloudSender\"", - "-framework", - "\"AlicloudUtils\"", - "-framework", - "\"CloudPushSDK\"", - "-framework", - "\"CoreData\"", - "-framework", - "\"CoreGraphics\"", - "-framework", - "\"CoreImage\"", - "-framework", - "\"CoreLocation\"", - "-framework", - "\"CoreTelephony\"", - "-framework", - "\"CoreText\"", - "-framework", - "\"EMASRest\"", - "-framework", - "\"ExternalAccessory\"", - "-framework", - "\"FMDB\"", - "-framework", - "\"GLKit\"", - "-framework", - "\"GoogleMaps\"", - "-framework", - "\"GoogleMapsBase\"", - "-framework", - "\"GoogleMapsCore\"", - "-framework", - "\"ImageIO\"", - "-framework", - "\"MAMapKit\"", - "-framework", - "\"Metal\"", - "-framework", - "\"OpenGLES\"", - "-framework", - "\"Protobuf\"", - "-framework", - "\"QuartzCore\"", - "-framework", - "\"Security\"", - "-framework", - "\"SwiftProtobuf\"", - "-framework", - "\"SystemConfiguration\"", - "-framework", - "\"Toast\"", - "-framework", - "\"UIKit\"", - "-framework", - "\"UTDID\"", - "-framework", - "\"UTMini\"", - "-framework", - "\"aj_captcha_flutter\"", - "-framework", - "\"amap_flutter_location\"", - "-framework", - "\"amap_flutter_map\"", - "-framework", - "\"camera_avfoundation\"", - "-framework", - "\"device_info_plus\"", - "-framework", - "\"flutter_native_contact_picker\"", - "-framework", - "\"fluttertoast\"", - "-framework", - "\"google_maps_flutter_ios\"", - "-framework", - "\"image_picker_ios\"", - "-framework", - "\"network_info_plus\"", - "-framework", - "\"package_info_plus\"", - "-framework", - "\"path_provider_foundation\"", - "-framework", - "\"permission_handler_apple\"", - "-framework", - "\"reactive_ble_mobile\"", - "-framework", - "\"shared_preferences_foundation\"", - "-framework", - "\"sqflite\"", - "-framework", - "\"url_launcher_ios\"", - "-framework", - "\"webview_flutter_wkwebview\"", - ); - PRODUCT_BUNDLE_IDENTIFIER = "cn.star-lock.starLock"; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; - STRIP_INSTALLED_PRODUCT = NO; - SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; - SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = 1; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Release; - }; - C51E26EEC6F3F8D8814544CD /* Profile-sky */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = DC36296928F573892A6C154E /* skyProfile.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_APPICON_NAME = "$(ASSET_PREFIX)AppIcon"; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - 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; - EXCLUDED_ARCHS = ""; - 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; - INFOPLIST_FILE = Runner/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); - MTL_ENABLE_DEBUG_INFO = NO; - PRODUCT_BUNDLE_IDENTIFIER = com.skychip.lock; - 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-sky"; - }; - CD0F4AFC8F434AA9EA2D2A95 /* Debug-pre */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 383F65C3166F78B1A1470A4E /* preDebug.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_APPICON_NAME = "$(ASSET_PREFIX)AppIcon"; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - 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; - EXCLUDED_ARCHS = ""; - 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; - INFOPLIST_FILE = Runner/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - 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.starlock.lock.pre; - SDKROOT = iphoneos; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = "Debug-pre"; - }; - DEEE4BE2780828AE04C19988 /* Release-pre */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = D501929EA2295683612A3AD8 /* preRelease.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_APPICON_NAME = "$(ASSET_PREFIX)AppIcon"; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - 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; - EXCLUDED_ARCHS = ""; - 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; - INFOPLIST_FILE = Runner/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); - MTL_ENABLE_DEBUG_INFO = NO; - PRODUCT_BUNDLE_IDENTIFIER = com.starlock.lock.pre; - 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 = "Release-pre"; - }; - E012F2CE4EAD5EA6383524FD /* Release-dev */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 2248834AC2C89C79BC3744F6 /* devRelease.xcconfig */; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_APPICON_NAME = "$(ASSET_PREFIX)AppIcon"; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - 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; - EXCLUDED_ARCHS = ""; - 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; - INFOPLIST_FILE = Runner/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)/Flutter", - ); - MTL_ENABLE_DEBUG_INFO = NO; PRODUCT_BUNDLE_IDENTIFIER = com.starlock.lock.dev; 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 = "Release-dev"; + name = "Debug-local"; }; - F8797FBDD3C840B38D7E6A01 /* Debug-xhj */ = { + E0A496C72CA309AD00E376BB /* Debug-local */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 853610C00A55CC450C2FF839 /* xhjDebug.xcconfig */; + baseConfigurationReference = 72E2A6A227EA101C0167D322 /* Pods-Runner.debug-local.xcconfig */; + buildSettings = { + CODE_SIGN_ENTITLEMENTS = "Runner/RunnerDebug-dev.entitlements"; + CODE_SIGN_IDENTITY = "Apple Development"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CODE_SIGN_STYLE = Manual; + DEVELOPMENT_TEAM = ""; + "DEVELOPMENT_TEAM[sdk=iphoneos*]" = NAQ5PL2DYC; + INFOPLIST_FILE = Runner/Info_dev.plist; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; + PRODUCT_BUNDLE_IDENTIFIER = com.starlock.lock.local; + PRODUCT_NAME = Runner; + PROVISIONING_PROFILE_SPECIFIER = ""; + "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = Debug_com.starlock.lock.local.mobileprovision; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + TARGETED_DEVICE_FAMILY = 1; + }; + name = "Debug-local"; + }; + E0A496D02CA30D2800E376BB /* pre-release-sky */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = E0A496CE2CA30CEF00E376BB /* skyPreviewRelease.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; ASSETCATALOG_COMPILER_APPICON_NAME = "$(ASSET_PREFIX)AppIcon"; @@ -2187,22 +916,16 @@ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; EXCLUDED_ARCHS = ""; 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; @@ -2219,15 +942,314 @@ "$(inherited)", "$(PROJECT_DIR)/Flutter", ); - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - PRODUCT_BUNDLE_IDENTIFIER = com.xhjcn.lock; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_BUNDLE_IDENTIFIER = com.skychip.lock; 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 = "Debug-xhj"; + name = "pre-release-sky"; + }; + E0A496D12CA30D2800E376BB /* pre-release-sky */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = D697F91E8405773AB9A5881E /* Pods-Runner.pre-release-sky.xcconfig */; + buildSettings = { + CODE_SIGN_ENTITLEMENTS = "Runner/RunnerRelease-sky.entitlements"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; + CODE_SIGN_STYLE = Manual; + DEVELOPMENT_TEAM = ""; + "DEVELOPMENT_TEAM[sdk=iphoneos*]" = NAQ5PL2DYC; + INFOPLIST_FILE = Runner/Info_pre.plist; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; + PRODUCT_BUNDLE_IDENTIFIER = com.skychip.lock.pre; + PRODUCT_NAME = Runner; + PROVISIONING_PROFILE_SPECIFIER = ""; + "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = Adhoc_com.skychip.lock.pre.mobileprovision; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + TARGETED_DEVICE_FAMILY = 1; + }; + name = "pre-release-sky"; + }; + E0A496D22CA30D5A00E376BB /* dev-release-sky */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = E0A496CC2CA30CA900E376BB /* skyDevRelease.xcconfig */; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_APPICON_NAME = "$(ASSET_PREFIX)AppIcon"; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + 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; + EXCLUDED_ARCHS = ""; + 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; + INFOPLIST_FILE = Runner/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/Flutter", + ); + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_BUNDLE_IDENTIFIER = com.skychip.lock; + 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 = "dev-release-sky"; + }; + E0A496D32CA30D5A00E376BB /* dev-release-sky */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 126D1370182AB44291C67A10 /* Pods-Runner.dev-release-sky.xcconfig */; + buildSettings = { + CODE_SIGN_ENTITLEMENTS = "Runner/RunnerRelease-sky.entitlements"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; + CODE_SIGN_STYLE = Manual; + DEVELOPMENT_TEAM = ""; + "DEVELOPMENT_TEAM[sdk=iphoneos*]" = NAQ5PL2DYC; + INFOPLIST_FILE = Runner/Info_dev.plist; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; + PRODUCT_BUNDLE_IDENTIFIER = com.skychip.lock.dev; + PRODUCT_NAME = Runner; + PROVISIONING_PROFILE_SPECIFIER = ""; + "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = Adhoc_com.skychip.lock.dev.mobileprovision; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + TARGETED_DEVICE_FAMILY = 1; + }; + name = "dev-release-sky"; + }; + E0A496D42CA30D7400E376BB /* pre-release-xhj */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = E0A496CA2CA30C7400E376BB /* xhjPreviewRelease.xcconfig */; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_APPICON_NAME = "$(ASSET_PREFIX)AppIcon"; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + 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; + EXCLUDED_ARCHS = ""; + 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; + INFOPLIST_FILE = Runner/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/Flutter", + ); + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_BUNDLE_IDENTIFIER = com.xhjcn.lock; + 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 = "pre-release-xhj"; + }; + E0A496D52CA30D7400E376BB /* pre-release-xhj */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 789004F1B475B44713E199BC /* Pods-Runner.pre-release-xhj.xcconfig */; + buildSettings = { + CODE_SIGN_ENTITLEMENTS = "Runner/RunnerRelease-xhj.entitlements"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; + CODE_SIGN_STYLE = Manual; + DEVELOPMENT_TEAM = ""; + "DEVELOPMENT_TEAM[sdk=iphoneos*]" = P8997RW3V8; + INFOPLIST_FILE = Runner/Info_pre.plist; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; + PRODUCT_BUNDLE_IDENTIFIER = com.xhjcn.lock.pre; + PRODUCT_NAME = Runner; + PROVISIONING_PROFILE_SPECIFIER = ""; + "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = Adhoc_com.xhjcn.lock.pre.mobileprovision; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + TARGETED_DEVICE_FAMILY = 1; + }; + name = "pre-release-xhj"; + }; + E0A496D62CA30D8400E376BB /* dev-release-xhj */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = E0A496C82CA30C2C00E376BB /* xhjDevRelease.xcconfig */; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_APPICON_NAME = "$(ASSET_PREFIX)AppIcon"; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + 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; + EXCLUDED_ARCHS = ""; + 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; + INFOPLIST_FILE = Runner/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/Flutter", + ); + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_BUNDLE_IDENTIFIER = com.xhjcn.lock; + 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 = "dev-release-xhj"; + }; + E0A496D72CA30D8400E376BB /* dev-release-xhj */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = ED3A443EA1439FD0FB4BCF80 /* Pods-Runner.dev-release-xhj.xcconfig */; + buildSettings = { + CODE_SIGN_ENTITLEMENTS = "Runner/RunnerRelease-xhj.entitlements"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution"; + CODE_SIGN_STYLE = Manual; + DEVELOPMENT_TEAM = ""; + "DEVELOPMENT_TEAM[sdk=iphoneos*]" = P8997RW3V8; + INFOPLIST_FILE = Runner/Info_dev.plist; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; + PRODUCT_BUNDLE_IDENTIFIER = com.xhjcn.lock.dev; + PRODUCT_NAME = Runner; + PROVISIONING_PROFILE_SPECIFIER = ""; + "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = Adhoc_com.xhjcn.lock.dev.mobileprovision; + SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; + SUPPORTS_MACCATALYST = NO; + SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; + TARGETED_DEVICE_FAMILY = 1; + }; + name = "dev-release-xhj"; }; /* End XCBuildConfiguration section */ @@ -2235,46 +1257,30 @@ 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { isa = XCConfigurationList; buildConfigurations = ( - 97C147031CF9000F007C117D /* Debug */, - 97C147041CF9000F007C117D /* Release */, - 249021D3217E4FDB00AE95B9 /* Profile */, - 73A00B8681EDE1EB63EC993D /* Debug-dev */, - 8B40B3FD83C5A41406C64627 /* Profile-dev */, - E012F2CE4EAD5EA6383524FD /* Release-dev */, - CD0F4AFC8F434AA9EA2D2A95 /* Debug-pre */, - 286CDDCE190664D4A34E4EA4 /* Profile-pre */, - DEEE4BE2780828AE04C19988 /* Release-pre */, - 92508731B124D206E57D27AC /* Debug-sky */, - C51E26EEC6F3F8D8814544CD /* Profile-sky */, + E0A496C62CA309AD00E376BB /* Debug-local */, 5028C464A6FD115380ECE6A0 /* Release-sky */, - F8797FBDD3C840B38D7E6A01 /* Debug-xhj */, - 0AECF9F7E0C6DEA08F10801D /* Profile-xhj */, + E0A496D02CA30D2800E376BB /* pre-release-sky */, + E0A496D22CA30D5A00E376BB /* dev-release-sky */, 9073AF548DAA546CE84A8D2F /* Release-xhj */, + E0A496D42CA30D7400E376BB /* pre-release-xhj */, + E0A496D62CA30D8400E376BB /* dev-release-xhj */, ); defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; + defaultConfigurationName = "Debug-local"; }; 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { isa = XCConfigurationList; buildConfigurations = ( - 97C147061CF9000F007C117D /* Debug */, - 97C147071CF9000F007C117D /* Release */, - 249021D4217E4FDB00AE95B9 /* Profile */, - 04ED962A2B688AB00046472A /* Debug-dev */, - 04ED962B2B688AB00046472A /* Profile-dev */, - 04ED962C2B688AB00046472A /* Release-dev */, - 04ED962D2B688AB00046472A /* Debug-pre */, - 04ED962E2B688AB00046472A /* Profile-pre */, - 04ED962F2B688AB00046472A /* Release-pre */, - 04ED96302B688AB00046472A /* Debug-sky */, - 04ED96312B688AB00046472A /* Profile-sky */, + E0A496C72CA309AD00E376BB /* Debug-local */, 04ED96322B688AB00046472A /* Release-sky */, - 04ED96332B688AB00046472A /* Debug-xhj */, - 04ED96342B688AB00046472A /* Profile-xhj */, + E0A496D12CA30D2800E376BB /* pre-release-sky */, + E0A496D32CA30D5A00E376BB /* dev-release-sky */, 04ED96352B688AB00046472A /* Release-xhj */, + E0A496D52CA30D7400E376BB /* pre-release-xhj */, + E0A496D72CA30D8400E376BB /* dev-release-xhj */, ); defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; + defaultConfigurationName = "Debug-local"; }; /* End XCConfigurationList section */ }; diff --git a/ios/Runner/Info_dev.plist b/ios/Runner/Info_dev.plist index 9874419b..d8ed7c28 100755 --- a/ios/Runner/Info_dev.plist +++ b/ios/Runner/Info_dev.plist @@ -84,6 +84,8 @@ 应用请求相机,以便于拍摄照片,用于头像上传及人脸认证 NSContactsUsageDescription Reason we need access to the contact list + NSFileProtectionKey + NSFileProtectionCompleteUntilFirstUserAuthentication NSLocationAlwaysAndWhenInUseUsageDescription 应用在前台和后台的时候可以搜到更新的位置信息 NSLocationAlwaysUsageDescription @@ -105,6 +107,8 @@ remote-notification + UIFileSharingEnabled + UILaunchStoryboardName xhjLaunchScreen UIMainStoryboardFile @@ -121,10 +125,6 @@ UIViewControllerBasedStatusBarAppearance - NSFileProtectionKey - NSFileProtectionCompleteUntilFirstUserAuthentication - UIFileSharingEnabled - io.flutter.embedded_views_preview diff --git a/ios/Runner/Info_xhj.plist b/ios/Runner/Info_xhj.plist index 9874419b..d8ed7c28 100755 --- a/ios/Runner/Info_xhj.plist +++ b/ios/Runner/Info_xhj.plist @@ -84,6 +84,8 @@ 应用请求相机,以便于拍摄照片,用于头像上传及人脸认证 NSContactsUsageDescription Reason we need access to the contact list + NSFileProtectionKey + NSFileProtectionCompleteUntilFirstUserAuthentication NSLocationAlwaysAndWhenInUseUsageDescription 应用在前台和后台的时候可以搜到更新的位置信息 NSLocationAlwaysUsageDescription @@ -105,6 +107,8 @@ remote-notification + UIFileSharingEnabled + UILaunchStoryboardName xhjLaunchScreen UIMainStoryboardFile @@ -121,10 +125,6 @@ UIViewControllerBasedStatusBarAppearance - NSFileProtectionKey - NSFileProtectionCompleteUntilFirstUserAuthentication - UIFileSharingEnabled - io.flutter.embedded_views_preview diff --git a/ios/build.sh b/ios/build.sh new file mode 100755 index 00000000..d2a127a0 --- /dev/null +++ b/ios/build.sh @@ -0,0 +1,31 @@ +#!/bin/bash +set -e +echo "Build Params Info:Build Dir:$CI_PROJECT_DIR,Build Tag:$CI_COMMIT_TAG,Build Branch:$CI_COMMIT_BRANCH,Build BUILD_REVISION:$CI_RUNNER_REVISION" + +export ENV_BUILD_TAG=${CI_COMMIT_TAG} +export ENV_BUILD_BRANCH=${CI_COMMIT_BRANCH} +export ENV_BUILD_WORKSPACE=${CI_PROJECT_DIR} +echo "GITLAB_WORKSPACE: ${CI_PROJECT_DIR}" +cd ${CI_PROJECT_DIR}/ios +bundle exec pod install +echo "ENV_BUILD_TAG:${ENV_BUILD_TAG},ENV_BUILD_BRANCH:${ENV_BUILD_BRANCH}" +regex='^v[0-9]+\.[0-9]+\.[0-9]+(-[a-zA-Z]+\.[0-9]+)?$' +if [[ "${ENV_BUILD_BRANCH}" == "canary_release" ]]; then + echo "===build canary_release: ${NEXT_VERSION}" + export ENV_BUILD_TAG=${NEXT_VERSION} + bundle exec fastlane release flavor:xhj --verbose + bundle exec fastlane release flavor:sky --verbose +elif [[ $ENV_BUILD_TAG =~ $regex ]]; then + echo "===build release===$ENV_BUILD_TAG" + bundle exec fastlane release flavor:xhj --verbose + bundle exec fastlane release flavor:sky --verbose +elif [[ "${ENV_BUILD_BRANCH}" == "develop" ]]; then + echo "===build dev===${NEXT_VERSION}" + bundle exec fastlane beta flavor:xhj env:dev --verbose + bundle exec fastlane beta flavor:sky env:dev --verbose +elif [[ "${ENV_BUILD_BRANCH}" == "release" ]] || [[ "${ENV_BUILD_BRANCH}" == "feat_devops" ]] ; then + echo "===build pre===${NEXT_VERSION}" + bundle exec fastlane beta flavor:xhj env:pre --verbose + bundle exec fastlane beta flavor:sky env:pre --verbose +fi +exit 0 \ No newline at end of file diff --git a/ios/fastlane/Appfile b/ios/fastlane/Appfile new file mode 100644 index 00000000..4282947e --- /dev/null +++ b/ios/fastlane/Appfile @@ -0,0 +1,6 @@ +# app_identifier("[[APP_IDENTIFIER]]") # The bundle identifier of your app +# apple_id("[[APPLE_ID]]") # Your Apple Developer Portal username + + +# For more information about the Appfile, see: +# https://docs.fastlane.tools/advanced/#appfile diff --git a/ios/fastlane/Fastfile b/ios/fastlane/Fastfile new file mode 100644 index 00000000..404c6f3b --- /dev/null +++ b/ios/fastlane/Fastfile @@ -0,0 +1,224 @@ +# This file contains the fastlane.tools configuration +# You can find the documentation at https://docs.fastlane.tools +# +# For a list of all available actions, check out +# +# https://docs.fastlane.tools/actions +# +# For a list of all available plugins, check out +# +# https://docs.fastlane.tools/plugins/available-plugins +# + +# Uncomment the line if you want fastlane to automatically update itself +# update_fastlane + +default_platform(:ios) + +# setup_travis + +# --- xhj Const --- +$signing_identity_xhj_distribution = 'iPhone Distribution: Shenzhen Xinhongjia Electronics Co., Ltd. (P8997RW3V8)' +$app_identifier = 'xhj' +$provisioning_name_adhoc = 'StarApt Project Mobile Ad Hoc' +$provisioning_name_distribution = 'StarApt Project Mobile Distribution' +$gym_config_sky_preview = 'Preview-xhj' +$gym_config_sky_release = 'Release' + +# --- sky Const --- +$signing_identity_sky_distribution = 'iPhone Distribution: Shenzhen Xinhongjia Electronics Co., Ltd. (P8997RW3V8)' +$app_identifier = 'sky' +$provisioning_name_adhoc = 'StarApt Project Mobile Ad Hoc' +$provisioning_name_distribution = 'StarApt Project Mobile Distribution' +$gym_config_sky_preview = 'Preview-sky' +$gym_config_sky_release = 'Release' + + +# --- common Const --- +$match_type_adhoc = 'adhoc' +$match_type_appstore = 'appstore' +$gym_scheme = 'Runner' +$gym_workspace = 'Runner.xcworkspace' + + +$env_key_project_root = 'ENV_BUILD_WORKSPACE' +$env_current_branch = 'ENV_BUILD_BRANCH' +$env_current_tag = 'ENV_BUILD_TAG' +$env_key_fastlane_apple_auth_key = 'APPLE_AUTH_CONTENT' +$env_key_fastlane_apple_auth_issuer_key = 'APPLE_AUTH_ISSUER_ID' +$env_key_fastlane_apple_auth_id_key = 'APPLE_AUTH_KEY_ID' +$env_next_version = 'NEXT_VERSION' + +$path_dir_build = File.join(ENV[$env_key_project_root], '') +$current_branch = ENV[$env_current_branch] +$current_tag = ENV[$env_current_tag] +$next_version = ENV[$env_next_version] + +$filename_ipa_default = 'app-starlock.ipa' +$filename_beta_ipa_copy = 'app-starlock-'+$current_branch+'.ipa' +$filename_release_ipa_copy = 'app-starlock-'+$current_tag+'.ipa' + +$path_ipa_output_dir = File.join($path_dir_build, 'build/app/outputs/flutter-ipa') +# --- Lanes --- +platform :ios do + before_all do + print_header '🏁 Before All' + print_log $current_branch + print_log $current_tag + Dir.chdir "../.." do + sh('pwd') + end + end + + desc "Build & Deliver to Pgy" + lane :beta do |options| + flavor = options[:flavor] + env = options[:env] + UI.user_error!("flavor is required") unless flavor + UI.user_error!("env is required") unless env + print_log "build #{flavor} on #{env}" + build_number = Time.now.strftime("%Y%m%d%H") + print_log "Build Commits #{build_number}" + build_version = $next_version # Time.now.strftime("%Y%m%d%H%M%S") + print_log "build_version #{build_version}" + commit_hash = last_git_commit + short_hash = commit_hash[:abbreviated_commit_hash] + print_log "last_git_commit_short_hash #{short_hash}" + Dir.chdir "../.." do + sh("flutter", "build", "ios", "--no-tree-shake-icons", "--no-codesign", "--release", "--flavor", "#{flavor}", "-t", "lib/main_#{flavor}_#{env}.dart", "--build-number=#{build_number}", "--build-name=#{build_version}") + end + #set_bundle_short_version('./Runner/Info.plist', $current_branch) + gym_scheme_preview="#{flavor}" + print_log "gym_scheme_preview #{gym_scheme_preview}" + gym_configuration = "#{env}-release-#{flavor}" + print_log "gym_configuration #{gym_configuration}" + ipa_default_filename = "starlock-#{flavor}-preview-#{build_version}.ipa" + print_log "ipa_default_filename #{ipa_default_filename}" + gym( + scheme: gym_scheme_preview, + workspace: $gym_workspace, + configuration: gym_configuration, + output_directory: $path_ipa_output_dir, + output_name: ipa_default_filename, + export_method: "ad-hoc", + export_options: { + provisioningProfiles: { + "com.xhjcn.lock.dev" => "Adhoc_com.xhjcn.lock.dev.mobileprovision", + "com.xhjcn.lock.pre" => "Adhoc_com.xhjcn.lock.pre.mobileprovision", + "com.skychip.lock.dev" => "Adhoc_com.skychip.lock.dev.mobileprovision", + "com.skychip.lock.pre" => "Adhoc_com.skychip.lock.pre.mobileprovision", + } + } + ) + logs = changelog_from_git_commits( + pretty: '- %s (%cn)', + commits_count: 5, + merge_commit_filtering: 'exclude_merges' + ) + upload_file_to_pgy(directory:$path_ipa_output_dir,file_extension:".ipa",logs:logs) + end + + desc "Build & Deliver to App Store Connect" + lane :release do |options| + flavor = options[:flavor] + UI.user_error!("flavor is required") unless flavor + print_log "build flavor: #{flavor}" + build_number = Time.now.strftime("%Y%m%d%H") + print_log "Build Commits #{build_number}" + build_version = $current_tag.match(/^v(\d+\.\d+\.\d+)/).captures[0] + print_log "build_version #{build_version}" + commit_hash = last_git_commit + short_hash = commit_hash[:abbreviated_commit_hash] + print_log "last_git_commit_short_hash #{short_hash}" + Dir.chdir "../.." do + sh("flutter", "build", "ios", "--no-tree-shake-icons", "--no-codesign", "--release", "--flavor", "#{flavor}", "-t", "lib/main_#{flavor}_lite.dart", "--build-number=#{build_number}", "--build-name=#{build_version}") + end + gym_scheme_release="#{flavor}" + print_log "gym_scheme_release #{gym_scheme_release}" + gym_configuration = "Release-#{flavor}" + print_log "gym_configuration #{gym_configuration}" + ipa_default_filename = "starlock-#{flavor}-release-"+$current_tag+".ipa" + print_log "ipa_default_filename #{ipa_default_filename}" + gym( + scheme: gym_scheme_release, + workspace: $gym_workspace, + configuration: gym_configuration, + output_directory: $path_ipa_output_dir, + output_name: ipa_default_filename, + export_method: "app-store", + export_options: { + provisioningProfiles: { + "com.xhjcn.lock" => "Appstore_com.xhjcn.lock.mobileprovision", + "com.skychip.lock" => "Appstore_com.skychip.lock.mobileprovision", + } + } + ) + auth_key_prefix=flavor.upcase + print_log "auth_key_prefix #{auth_key_prefix}" + api_key = app_store_connect_api_key( + key_id: ENV["#{auth_key_prefix}_APPLE_AUTH_KEY_ID"], + issuer_id: ENV["#{auth_key_prefix}_APPLE_AUTH_ISSUER_ID"], + key_content: ENV["#{auth_key_prefix}_APPLE_AUTH_CONTENT"], + is_key_content_base64: true, + duration: 1200, + in_house: false + ) + print_log "api_key #{api_key}" + ipa_file_path = File.join($path_ipa_output_dir, ipa_default_filename) + pilot( + api_key: api_key, + ipa: ipa_file_path, + skip_submission: true, + skip_waiting_for_build_processing: true + ) + end + + lane :upload_file_to_pgy do |options| + directory = options[:directory] + file_extension = options[:file_extension] + logs = options[:logs] + UI.user_error!("Directory path is required") unless directory + UI.user_error!("File extension is required") unless file_extension + # 使用Dir.glob来查找目录下的所有.apk和.ipa文件 + Dir.glob("#{directory}/*#{file_extension}").each do |file| + # 打印文件名称 + puts "start upload file: #{file}" + pgyer(api_key: ENV['PGY_API_KEY'],apk:file,update_description: logs) + File.delete(file) + end + end + +end + + + +# --- Prints --- +def print_title_log(title, content) + UI.message '📠 ' + title.to_s + ':' + print_log content +end + +def print_log(content) + UI.message '📠 ' + content.to_s +end + +def print_dir(path) + UI.message '📂📂📂 Print Dir 📂📂📂' + Dir.chdir(path) do + sh('ls -lh') + end +end + +def print_header header + UI.message "~~~~~~~~~~~~~~~~~~~~~~" + UI.message '📍 ' + header.to_s + UI.message "~~~~~~~~~~~~~~~~~~~~~~" +end + +# --- Methods --- +def set_bundle_short_version(plist_path, version_string) + print_header "Set Bundle short version" + print_log plist_path + print_log version_string + set_info_plist_value(path: plist_path, key: 'CFBundleShortVersionString', value: version_string) +end \ No newline at end of file diff --git a/ios/fastlane/Pluginfile b/ios/fastlane/Pluginfile new file mode 100644 index 00000000..ecfdb3ce --- /dev/null +++ b/ios/fastlane/Pluginfile @@ -0,0 +1,5 @@ +# Autogenerated by fastlane +# +# Ensure this file is checked in to source control! + +gem 'fastlane-plugin-pgyer' diff --git a/lib/flavors.dart b/lib/flavors.dart index fcc73aca..75a93ebf 100755 --- a/lib/flavors.dart +++ b/lib/flavors.dart @@ -5,7 +5,11 @@ enum Flavor { dev, pre, sky, + sky_dev, + sky_pre, xhj, + xhj_dev, + xhj_pre, } class StarLockAMapKey { @@ -28,8 +32,15 @@ class F { static String get name => appFlavor?.name ?? ''; - static bool get isXHJ => appFlavor == Flavor.xhj; - static bool get isSKY => appFlavor == Flavor.sky; + static bool get isXHJ => + appFlavor == Flavor.xhj || + appFlavor == Flavor.xhj_dev || + appFlavor == Flavor.xhj_pre; + + static bool get isSKY => + appFlavor == Flavor.sky || + appFlavor == Flavor.sky_dev || + appFlavor == Flavor.sky_pre; //便捷判断并返回值 static dynamic sw( @@ -39,6 +50,8 @@ class F { } switch (appFlavor) { case Flavor.sky: + case Flavor.sky_dev: + case Flavor.sky_pre: return skyCall(); case Flavor.local: case Flavor.dev: @@ -58,8 +71,12 @@ class F { case Flavor.pre: return '星锁-pre'; case Flavor.sky: + case Flavor.sky_dev: + case Flavor.sky_pre: return '锁通通'.tr; case Flavor.xhj: + case Flavor.xhj_dev: + case Flavor.xhj_pre: return '星星锁'.tr; default: throw Exception('flavor[$name] title not found'); @@ -75,8 +92,12 @@ class F { case Flavor.pre: return '星锁'.tr; case Flavor.sky: + case Flavor.sky_dev: + case Flavor.sky_pre: return '锁通通'.tr; case Flavor.xhj: + case Flavor.xhj_dev: + case Flavor.xhj_pre: return '星星锁'.tr; default: throw Exception('flavor[$name] title not found'); @@ -87,11 +108,16 @@ class F { switch (appFlavor) { case Flavor.local: // return 'https://ge.lock.star-lock.cn'; // 葛工 - // return 'http://192.168.1.15:8022'; // 谢工 + // return 'http://192.168.1.15:8022'; // 谢工 return 'http://zhou.lock.star-lock.cn'; // 周工 + case Flavor.dev: + case Flavor.xhj_dev: + case Flavor.sky_dev: return 'https://dev.lock.star-lock.cn'; case Flavor.pre: + case Flavor.xhj_pre: + case Flavor.sky_pre: return 'https://pre.lock.star-lock.cn'; case Flavor.sky: return 'https://lock.skychip.top'; diff --git a/lib/main_sky_dev.dart b/lib/main_sky_dev.dart new file mode 100644 index 00000000..e3fc6434 --- /dev/null +++ b/lib/main_sky_dev.dart @@ -0,0 +1,8 @@ +import 'flavors.dart'; + +import 'main.dart' as runner; + +Future main() async { + F.appFlavor = Flavor.sky_dev; + await runner.main(); +} diff --git a/lib/main_sky_pre.dart b/lib/main_sky_pre.dart new file mode 100644 index 00000000..85b1f275 --- /dev/null +++ b/lib/main_sky_pre.dart @@ -0,0 +1,8 @@ +import 'flavors.dart'; + +import 'main.dart' as runner; + +Future main() async { + F.appFlavor = Flavor.sky_pre; + await runner.main(); +} diff --git a/lib/main_xhj_dev.dart b/lib/main_xhj_dev.dart new file mode 100644 index 00000000..00fb2cd6 --- /dev/null +++ b/lib/main_xhj_dev.dart @@ -0,0 +1,8 @@ +import 'flavors.dart'; + +import 'main.dart' as runner; + +Future main() async { + F.appFlavor = Flavor.xhj_dev; + await runner.main(); +} diff --git a/lib/main_xhj_pre.dart b/lib/main_xhj_pre.dart new file mode 100644 index 00000000..6f7b2029 --- /dev/null +++ b/lib/main_xhj_pre.dart @@ -0,0 +1,8 @@ +import 'flavors.dart'; + +import 'main.dart' as runner; + +Future main() async { + F.appFlavor = Flavor.xhj_pre; + await runner.main(); +} diff --git a/release_description_generator.sh b/release_description_generator.sh new file mode 100755 index 00000000..02015333 --- /dev/null +++ b/release_description_generator.sh @@ -0,0 +1,56 @@ +#!/bin/bash + +# 读取环境变量 +URL=$CI_API_V4_URL +TOKEN=$GITLAB_ACCESS_TOKEN +PROJECT_ID=$CI_PROJECT_ID + +echo "PRIVATE-TOKEN: $TOKEN $URL/projects/$PROJECT_ID/repository/tags" +tags_json=$(curl -H "Content-Type: application/json" -H "PRIVATE-TOKEN: $TOKEN" "$URL/projects/$PROJECT_ID/repository/tags") +echo "tags_json:$tags_json\n" +tags=$(echo "$tags_json" | jq -r '.[].name') +tags_length=$(echo "$tags_json" | jq -r 'length') +if [ "$tags_length" -lt 2 ]; then + newest_tag="master" + second_newest_tag=$(echo "$tags" | head -n 1) +else + newest_tag=$(echo "$tags" | head -n 1) + second_newest_tag=$(echo "$tags" | head -n 2 | tail -n 1) +fi +echo "newest_tag:$newest_tag-second_newest_tag:$second_newest_tag\n" +# 比较两个tag之间的commits +compare_json=$(curl -s --header "PRIVATE-TOKEN: $TOKEN" "$URL/projects/$PROJECT_ID/repository/compare?from=$second_newest_tag&to=$newest_tag") +#echo "compare_json:$compare_json\n" +feat_log="" +fix_log="" +other_log="" +while IFS= read -r commit_json; do + # 使用 jq 解析每一行的 JSON 对象 + commit_id=$(echo "$commit_json" | jq -r '.id') + commit_message=$(echo "$commit_json" | jq -r '.message') + if [[ "$commit_message" =~ ("feat:"*) ]]; then + feat_log+="* ${commit_message#feat:}\n" + elif [[ "$commit_message" =~ ("fix:"*) ]]; then + fix_log+="* ${commit_message#fix:}\n" + elif [[ ! "$commit_message" =~ ("Merge"* | "Revert"*) ]]; then + other_log+="* ${commit_message#("Merge" | "Revert")}\n" + fi +done < <(echo "$compare_json" | jq -c '.commits[] | {id: .id, message: .message}') + +echo -e "feat_log:$feat_log,fix_log:$fix_log,other_log:$other_log" +# 如果没有feat或fix的commits,则设置默认日志 +if [[ -z "$feat_log" ]]; then + feat_log="- No 'feat' commits since last tagged commit." +fi +if [[ -z "$fix_log" ]]; then + fix_log="- No 'fix' commits since last tagged commit." +fi + +# 生成changelog文本 +changelog="# Features\n$feat_log\n# Fixes\n$fix_log\n# Others\n$other_log" + +# 打印结果(或可以重定向到文件等) +echo "$changelog" + +# (可选)将结果保存到文件中 +echo -e "$changelog" > changelog.md \ No newline at end of file diff --git a/tag_generator.sh b/tag_generator.sh new file mode 100755 index 00000000..02ddc5d3 --- /dev/null +++ b/tag_generator.sh @@ -0,0 +1,62 @@ +#!/bin/bash + +# 读取环境变量 +URL=$CI_API_V4_URL +TOKEN=$GITLAB_ACCESS_TOKEN +PROJECT_ID=$CI_PROJECT_ID +next_tag="" +newest_tag="" +echo "PRIVATE-TOKEN: $TOKEN $URL/projects/$PROJECT_ID/repository/tags" +tags_json=$(curl -H "Content-Type: application/json" -H "PRIVATE-TOKEN: $TOKEN" "$URL/projects/$PROJECT_ID/repository/tags") +#echo "tags_json:$tags_json\n" +tags=$(echo "$tags_json" | jq -r '.[].name') +tags_length=$(echo "$tags_json" | jq -r 'length') +if [ "$tags_length" -lt 1 ]; then + next_tag="v1.0.0" +else + newest_tag=$(echo "$tags" | head -n 1) + IFS='.' read -r major minor patch <<< "$newest_tag" + major="${major#v}" + compare_json="" + if [[ "$1" == "generate_tag" ]];then + echo "generate_tag:$newest_tag-to-master\n" + compare_json=$(curl -s --header "PRIVATE-TOKEN: $TOKEN" "$URL/projects/$PROJECT_ID/repository/compare?from=$newest_tag&to=master") + elif [[ "$1" == "generate_version" ]]; then + echo "generate_version:master-to-$CI_COMMIT_BRANCH\n" + compare_json=$(curl -s --header "PRIVATE-TOKEN: $TOKEN" "$URL/projects/$PROJECT_ID/repository/compare?from=master&to=$CI_COMMIT_BRANCH") + fi + echo "compare_json:$compare_json\n" + new_patch=$patch + while IFS= read -r commit_json; do + # 使用 jq 解析每一行的 JSON 对象 + commit_id=$(echo "$commit_json" | jq -r '.id') + commit_message=$(echo "$commit_json" | jq -r '.message') + echo "----$commit_message" + if [[ "$commit_message" =~ ("feat:"*) ]]; then + ((minor++)) + new_patch=0 + break + elif [[ "$commit_message" =~ ("fix:"*) ]] && [[ $new_patch == $patch ]]; then + ((new_patch++)) + elif [[ ! "$commit_message" =~ ("Merge"* | "Revert"*) ]] && [[ $new_patch == $patch ]]; then + ((new_patch++)) + fi + done < <(echo "$compare_json" | jq -c '.commits[] | {id: .id, message: .message}') + next_tag="v$major.$minor.$new_patch" +fi +echo "New Tag:$newest_tag;New version: $next_tag;command: $1" +if [[ "$1" == "generate_tag" ]];then + if [ "$next_tag" == "$newest_tag" ]; then + echo "no change from master,skip to generate tag" + exit 0 + fi + git config user.name + git tag $next_tag + git push -u origin $next_tag + echo "generate tag: $next_tag" +elif [[ "$1" == "generate_version" ]]; then + export NEXT_VERSION="$next_tag" + echo "generate version: $NEXT_VERSION" +fi +echo "$next_tag" > app_new.version +