From 2e7e97ea13f6d5e2195b753f8890fdaf81b71bb8 Mon Sep 17 00:00:00 2001 From: Alex Tran <alex.tran1502@gmail.com> Date: Mon, 14 Mar 2022 14:47:07 -0500 Subject: [PATCH] Added pod install steps for TeamCity CI/CD --- mobile/ios/Podfile.lock | 6 ------ mobile/ios/Runner.xcodeproj/project.pbxproj | 6 +++--- mobile/ios/Runner/Info.plist | 2 +- mobile/ios/fastlane/report.xml | 16 +++++++++++++--- mobile/pubspec.yaml | 2 +- 5 files changed, 18 insertions(+), 14 deletions(-) diff --git a/mobile/ios/Podfile.lock b/mobile/ios/Podfile.lock index 148012543c..dd0793fe49 100644 --- a/mobile/ios/Podfile.lock +++ b/mobile/ios/Podfile.lock @@ -1,6 +1,4 @@ PODS: - - device_info_plus (0.0.1): - - Flutter - Flutter (1.0.0) - flutter_udid (0.0.1): - Flutter @@ -27,7 +25,6 @@ PODS: - Flutter DEPENDENCIES: - - device_info_plus (from `.symlinks/plugins/device_info_plus/ios`) - Flutter (from `Flutter`) - flutter_udid (from `.symlinks/plugins/flutter_udid/ios`) - fluttertoast (from `.symlinks/plugins/fluttertoast/ios`) @@ -44,8 +41,6 @@ SPEC REPOS: - Toast EXTERNAL SOURCES: - device_info_plus: - :path: ".symlinks/plugins/device_info_plus/ios" Flutter: :path: Flutter flutter_udid: @@ -64,7 +59,6 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/wakelock/ios" SPEC CHECKSUMS: - device_info_plus: e5c5da33f982a436e103237c0c85f9031142abed Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a flutter_udid: 0848809dbed4c055175747ae6a45a8b4f6771e1c fluttertoast: 6122fa75143e992b1d3470f61000f591a798cc58 diff --git a/mobile/ios/Runner.xcodeproj/project.pbxproj b/mobile/ios/Runner.xcodeproj/project.pbxproj index 409eeeb623..61b08a1428 100644 --- a/mobile/ios/Runner.xcodeproj/project.pbxproj +++ b/mobile/ios/Runner.xcodeproj/project.pbxproj @@ -360,7 +360,7 @@ CODE_SIGN_ENTITLEMENTS = Runner/RunnerProfile.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + CURRENT_PROJECT_VERSION = 2; DEVELOPMENT_TEAM = 2F67MQ8R79; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; @@ -495,7 +495,7 @@ CLANG_ENABLE_MODULES = YES; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + CURRENT_PROJECT_VERSION = 2; DEVELOPMENT_TEAM = 2F67MQ8R79; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; @@ -522,7 +522,7 @@ CLANG_ENABLE_MODULES = YES; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + CURRENT_PROJECT_VERSION = 2; DEVELOPMENT_TEAM = 2F67MQ8R79; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; diff --git a/mobile/ios/Runner/Info.plist b/mobile/ios/Runner/Info.plist index b1fb2659d3..106a1de8cd 100644 --- a/mobile/ios/Runner/Info.plist +++ b/mobile/ios/Runner/Info.plist @@ -21,7 +21,7 @@ <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> - <string>$(FLUTTER_BUILD_NUMBER)</string> + <string>2</string> <key>LSRequiresIPhoneOS</key> <true/> <key>MGLMapboxMetricsEnabledSettingShownInApp</key> diff --git a/mobile/ios/fastlane/report.xml b/mobile/ios/fastlane/report.xml index c409767698..7976dfca95 100644 --- a/mobile/ios/fastlane/report.xml +++ b/mobile/ios/fastlane/report.xml @@ -5,17 +5,27 @@ - <testcase classname="fastlane.lanes" name="0: default_platform" time="0.001066"> + <testcase classname="fastlane.lanes" name="0: default_platform" time="0.000332"> </testcase> - <testcase classname="fastlane.lanes" name="1: build_app" time="71.433647"> + <testcase classname="fastlane.lanes" name="1: latest_testflight_build_number" time="4.608292"> </testcase> - <testcase classname="fastlane.lanes" name="2: upload_to_testflight" time="104.299383"> + <testcase classname="fastlane.lanes" name="2: increment_build_number" time="0.747162"> + + </testcase> + + + <testcase classname="fastlane.lanes" name="3: build_app" time="88.727281"> + + </testcase> + + + <testcase classname="fastlane.lanes" name="4: upload_to_testflight" time="7.79397"> </testcase> diff --git a/mobile/pubspec.yaml b/mobile/pubspec.yaml index c56efdfe4c..58b28ffba9 100644 --- a/mobile/pubspec.yaml +++ b/mobile/pubspec.yaml @@ -2,7 +2,7 @@ name: immich_mobile description: A new Flutter project. publish_to: "none" -version: 1.2.0+2 +version: 1.1.0+1 environment: sdk: ">=2.15.1 <3.0.0"