Skip to content

Commit

Permalink
Update Fastlane
Browse files Browse the repository at this point in the history
  • Loading branch information
FeodorFitsner committed May 28, 2022
1 parent 1aa65aa commit 7548300
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 9 deletions.
8 changes: 4 additions & 4 deletions client/ios/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
9 changes: 6 additions & 3 deletions client/ios/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
13 changes: 11 additions & 2 deletions docs/ios.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
```

0 comments on commit 7548300

Please sign in to comment.