Skip to content

Commit

Permalink
iOS: upload shared.framework.dsym (#792)
Browse files Browse the repository at this point in the history
^ALTAPPS-1078
  • Loading branch information
ivan-magda authored Dec 15, 2023
1 parent f1e80d7 commit b0130a7
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 20 deletions.
41 changes: 21 additions & 20 deletions iosHyperskillApp/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -26,32 +26,32 @@ GEM
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
addressable (2.8.5)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
algoliasearch (1.27.5)
httpclient (~> 2.8, >= 2.8.3)
json (>= 1.5.1)
artifactory (3.0.15)
atomos (0.1.3)
aws-eventstream (1.3.0)
aws-partitions (1.855.0)
aws-sdk-core (3.188.0)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (1.867.0)
aws-sdk-core (3.190.0)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.651.0)
aws-sigv4 (~> 1.5)
aws-sigv4 (~> 1.8)
jmespath (~> 1, >= 1.6.1)
aws-sdk-kms (1.73.0)
aws-sdk-kms (1.74.0)
aws-sdk-core (~> 3, >= 3.188.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.139.0)
aws-sdk-core (~> 3, >= 3.188.0)
aws-sdk-s3 (1.141.0)
aws-sdk-core (~> 3, >= 3.189.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.6)
aws-sigv4 (1.7.0)
aws-sigv4 (~> 1.8)
aws-sigv4 (1.8.0)
aws-eventstream (~> 1, >= 1.0.2)
babosa (1.0.4)
base64 (0.2.0)
bigdecimal (3.1.4)
bigdecimal (3.1.5)
claide (1.1.0)
cocoapods (1.14.3)
addressable (~> 2.8)
Expand Down Expand Up @@ -107,7 +107,7 @@ GEM
escape (0.0.4)
ethon (0.16.0)
ffi (>= 1.15.0)
excon (0.104.0)
excon (0.106.0)
faraday (1.10.3)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
Expand Down Expand Up @@ -179,7 +179,7 @@ GEM
xcpretty-travis-formatter (>= 0.0.3)
fastlane-plugin-firebase_app_distribution (0.7.4)
google-apis-firebaseappdistribution_v1 (~> 0.3.0)
fastlane-plugin-sentry (1.16.0)
fastlane-plugin-sentry (1.17.0)
os (~> 1.1, >= 1.1.4)
ffi (1.16.3)
fourflusher (2.3.1)
Expand Down Expand Up @@ -207,11 +207,11 @@ GEM
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.0)
google-cloud-env (~> 1.0)
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-env (2.1.0)
faraday (>= 1.0, < 3.a)
google-cloud-errors (1.3.1)
google-cloud-storage (1.45.0)
addressable (~> 2.8)
Expand All @@ -221,8 +221,9 @@ GEM
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)
googleauth (1.9.1)
faraday (>= 1.0, < 3.a)
google-cloud-env (~> 2.1)
jwt (>= 1.4, < 3.0)
multi_json (~> 1.11)
os (>= 0.9, < 2.0)
Expand All @@ -234,7 +235,7 @@ GEM
i18n (1.14.1)
concurrent-ruby (~> 1.0)
jmespath (1.6.2)
json (2.6.3)
json (2.7.1)
jwt (2.7.1)
liquid (4.0.4)
mini_magick (4.12.0)
Expand Down
9 changes: 9 additions & 0 deletions iosHyperskillApp/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ platform :ios do
sentry_upload_dsym(
dsym_path: lane_context[SharedValues::DSYM_OUTPUT_PATH],
)
sentry_upload_shared_framework_dsym()

vs = make_version_string(
version_number: get_version_number(target: target),
Expand Down Expand Up @@ -188,6 +189,7 @@ platform :ios do
sentry_upload_dsym(
dsym_path: lane_context[SharedValues::DSYM_OUTPUT_PATH],
)
sentry_upload_shared_framework_dsym()

vs = make_version_string(
version_number: get_version_number(target: target),
Expand Down Expand Up @@ -226,6 +228,13 @@ platform :ios do
UI.success "Successfully builded Hyperskill iOS App #{scheme} #{vs}"
end

desc "Uploads shared framework dSYM to Sentry"
lane :sentry_upload_shared_framework_dsym do
sentry_upload_dsym(
dsym_path: "../shared/build/cocoapods/framework/shared.framework.dSYM",
)
end

# Testing

desc "Run all unit tests for scheme"
Expand Down
8 changes: 8 additions & 0 deletions iosHyperskillApp/fastlane/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@ Builds iOS App without packaging.

Options: scheme, target, install_pods

### ios sentry_upload_shared_framework_dsym

```sh
[bundle exec] fastlane ios sentry_upload_shared_framework_dsym
```

Uploads shared framework dSYM to Sentry

### ios run_unit_tests

```sh
Expand Down

0 comments on commit b0130a7

Please sign in to comment.