Skip to content

Commit

Permalink
Update fastlane
Browse files Browse the repository at this point in the history
  • Loading branch information
ns-vasilev committed Aug 28, 2024
1 parent 30bc799 commit 9c59e12
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 16 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,8 @@ jobs:
run: sudo xcode-select -s '/Applications/Xcode_15.4.app/Contents/Developer'
- name: Run tests
run: |
xcodebuild clean test \
-skipMacroValidation \
-scheme ${{ matrix.scheme }} \
-destination "${{ matrix.destination }}" \
-enableCodeCoverage YES || exit 1
bundle add fastlane
bundle exec fastlane test
discover-typos:
name: Discover Typos
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ Modules/Features/Settings/Sources/Settings/Classes/Generated/Assets.swift

# Others

.cache
*.xcodeproj
*.env.default
*.p8
Expand Down
3 changes: 2 additions & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ platform :ios do

## Builing apps

desc "Create a Bumpd Beta build for TestFlight"
desc "Create a HackerNews Beta build for TestFlight"
lane :beta do
overrideParams = {
scheme: "Debug",
Expand Down Expand Up @@ -90,6 +90,7 @@ platform :ios do
result_bundle: true,
output_directory: "./build/test",
output_files: "hackernews.unit.test.html,hackernews.unit.test.report.junit.xml",
xcargs: "-skipMacroValidation",
)

slather(
Expand Down
2 changes: 1 addition & 1 deletion fastlane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Regester devices on apple portal
[bundle exec] fastlane ios beta
```

Create a Bumpd Beta build for TestFlight
Create a HackerNews Beta build for TestFlight

### ios production

Expand Down
19 changes: 11 additions & 8 deletions fastlane/report.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,39 +5,42 @@



<testcase classname="fastlane.lanes" name="0: Verifying fastlane version" time="0.000496">
<testcase classname="fastlane.lanes" name="0: Verifying fastlane version" time="0.000295">

</testcase>


<testcase classname="fastlane.lanes" name="1: default_platform" time="0.000269">
<testcase classname="fastlane.lanes" name="1: default_platform" time="0.000204">

</testcase>


<testcase classname="fastlane.lanes" name="2: increment_build_number" time="0.609136">
<testcase classname="fastlane.lanes" name="2: increment_build_number" time="1.429452">

</testcase>


<testcase classname="fastlane.lanes" name="3: get_version_number" time="0.083867">
<testcase classname="fastlane.lanes" name="3: get_version_number" time="0.082018">

</testcase>


<testcase classname="fastlane.lanes" name="4: Switch to ios testflight_build lane" time="0.000319">
<testcase classname="fastlane.lanes" name="4: scan" time="305.768936">

</testcase>


<testcase classname="fastlane.lanes" name="5: Switch to ios gym_params lane" time="0.000217">
<testcase classname="fastlane.lanes" name="5: slather" time="11.144233">

</testcase>


<testcase classname="fastlane.lanes" name="6: gym" time="71.798799">
<testcase classname="fastlane.lanes" name="6: Switch to ios clean_icons lane" time="0.000296">

<failure message="/Users/nv3212/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/fastlane-2.220.0/fastlane/lib/fastlane/actions/actions_helper.rb:67:in `execute_action&apos;&#10;/Users/nv3212/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/fastlane-2.220.0/fastlane/lib/fastlane/runner.rb:255:in `block in execute_action&apos;&#10;/Users/nv3212/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/fastlane-2.220.0/fastlane/lib/fastlane/runner.rb:229:in `chdir&apos;&#10;/Users/nv3212/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/fastlane-2.220.0/fastlane/lib/fastlane/runner.rb:229:in `execute_action&apos;&#10;/Users/nv3212/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/fastlane-2.220.0/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name&apos;&#10;/Users/nv3212/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/fastlane-2.220.0/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing&apos;&#10;Fastfile:110:in `block (2 levels) in parsing_binding&apos;&#10;/Users/nv3212/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/fastlane-2.220.0/fastlane/lib/fastlane/lane.rb:41:in `call&apos;&#10;/Users/nv3212/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/fastlane-2.220.0/fastlane/lib/fastlane/runner.rb:204:in `try_switch_to_lane&apos;&#10;/Users/nv3212/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/fastlane-2.220.0/fastlane/lib/fastlane/runner.rb:146:in `trigger_action_by_name&apos;&#10;/Users/nv3212/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/fastlane-2.220.0/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing&apos;&#10;Fastfile:72:in `block (2 levels) in parsing_binding&apos;&#10;/Users/nv3212/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/fastlane-2.220.0/fastlane/lib/fastlane/lane.rb:41:in `call&apos;&#10;/Users/nv3212/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/fastlane-2.220.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute&apos;&#10;/Users/nv3212/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/fastlane-2.220.0/fastlane/lib/fastlane/runner.rb:45:in `chdir&apos;&#10;/Users/nv3212/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/fastlane-2.220.0/fastlane/lib/fastlane/runner.rb:45:in `execute&apos;&#10;/Users/nv3212/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/fastlane-2.220.0/fastlane/lib/fastlane/lane_manager.rb:46:in `cruise_lane&apos;&#10;/Users/nv3212/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/fastlane-2.220.0/fastlane/lib/fastlane/command_line_handler.rb:34:in `handle&apos;&#10;/Users/nv3212/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/fastlane-2.220.0/fastlane/lib/fastlane/commands_generator.rb:110:in `block (2 levels) in run&apos;&#10;/Users/nv3212/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/commander-4.6.0/lib/commander/command.rb:187:in `call&apos;&#10;/Users/nv3212/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/commander-4.6.0/lib/commander/command.rb:157:in `run&apos;&#10;/Users/nv3212/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command&apos;&#10;/Users/nv3212/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/fastlane-2.220.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in `run!&apos;&#10;/Users/nv3212/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!&apos;&#10;/Users/nv3212/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/fastlane-2.220.0/fastlane/lib/fastlane/commands_generator.rb:363:in `run&apos;&#10;/Users/nv3212/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/fastlane-2.220.0/fastlane/lib/fastlane/commands_generator.rb:43:in `start&apos;&#10;/Users/nv3212/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/fastlane-2.220.0/fastlane/lib/fastlane/cli_tools_distributor.rb:123:in `take_off&apos;&#10;/Users/nv3212/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/fastlane-2.220.0/bin/fastlane:23:in `&lt;top (required)&gt;&apos;&#10;/Users/nv3212/.rbenv/versions/3.2.2/bin/fastlane:25:in `load&apos;&#10;/Users/nv3212/.rbenv/versions/3.2.2/bin/fastlane:25:in `&lt;main&gt;&apos;&#10;&#10;Error building the application - see the log above" />
</testcase>


<testcase classname="fastlane.lanes" name="7: reset_git_repo" time="0.032522">

</testcase>

Expand Down
2 changes: 1 addition & 1 deletion project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ targets:
PRODUCT_NAME: HackerNews
PRODUCT_BUNDLE_IDENTIFIER: com.nikitavasilev.HackerNews.debug
CODE_SIGN_IDENTITY: "iPhone Developer"
PROVISIONING_PROFILE_SPECIFIER: match Development com.nikitavasilev.HackerNews.deb
PROVISIONING_PROFILE_SPECIFIER: match Development com.nikitavasilev.HackerNews.debug
Release:
PRODUCT_NAME: HackerNews
PRODUCT_BUNDLE_IDENTIFIER: com.nikitavasilev.HackerNews
Expand Down

0 comments on commit 9c59e12

Please sign in to comment.