diff --git a/client/ios/Gemfile.lock b/client/ios/Gemfile.lock index c5ef3b39d..5168f8caf 100644 --- a/client/ios/Gemfile.lock +++ b/client/ios/Gemfile.lock @@ -17,7 +17,7 @@ GEM artifactory (3.0.15) atomos (0.1.3) aws-eventstream (1.2.0) - aws-partitions (1.589.0) + aws-partitions (1.594.0) aws-sdk-core (3.131.1) aws-eventstream (~> 1, >= 1.0.2) aws-partitions (~> 1, >= 1.525.0) @@ -116,7 +116,7 @@ GEM faraday_middleware (1.2.0) faraday (~> 1.0) fastimage (2.2.6) - fastlane (2.206.1) + fastlane (2.206.2) CFPropertyList (>= 2.3, < 4.0.0) addressable (>= 2.8, < 3.0.0) artifactory (~> 3.0) @@ -198,7 +198,7 @@ GEM os (>= 0.9, < 2.0) signet (>= 0.16, < 2.a) highline (2.0.3) - http-cookie (1.0.4) + http-cookie (1.0.5) domain_name (~> 0.5) httpclient (2.8.3) i18n (1.10.0) @@ -256,7 +256,7 @@ GEM uber (0.1.0) unf (0.1.4) unf_ext - unf_ext (0.0.8.1) + unf_ext (0.0.8.2) unicode-display_width (1.8.0) webrick (1.7.0) word_wrap (1.0.0) diff --git a/client/ios/fastlane/Fastfile b/client/ios/fastlane/Fastfile index 376aaf0b8..41b071c96 100644 --- a/client/ios/fastlane/Fastfile +++ b/client/ios/fastlane/Fastfile @@ -23,9 +23,12 @@ platform :ios do desc "Update project version" lane :update_version do - increment_version_number( - version_number: "$FLET_PACKAGE_VERSION" - ) + + if !ENV['FLET_PACKAGE_VERSION'].empty? + increment_version_number( + version_number: "$FLET_PACKAGE_VERSION" + ) + end end desc "Build Flutter without codesign" diff --git a/docs/ios.md b/docs/ios.md index 19b24ccd2..4f4d83c60 100644 --- a/docs/ios.md +++ b/docs/ios.md @@ -127,14 +127,16 @@ open Runner.xcodeproj Select "Runner" in the left project tree, then "Signing and Capabilities" tab. +Uncheck "Automatically mamage signing". + Update "Bundle identifier" and choose "match Development {identifier}" as "Provisioning profile": [SCREENSHOT] -Ensure you can build an `.ipa` signed by development profile by running: +Ensure you can build a project without signing with: ``` -flutter build ipa +flutter build ios --release --no-codesign ``` ### Complying with Encryption Export Regulations @@ -150,3 +152,10 @@ Open "Runner -> Runner -> Info.plist" in the left tree and make sure "App Uses N [SCREENSHOT] +## Configuring CI/CD + +### Testing Fastlane locally + +``` +bundle exec fastlane build_ipa +``` \ No newline at end of file