Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions ios/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
GIT
remote: https://github.com/getsentry/sentry-fastlane-plugin.git
revision: 85947a7410f5a31f3e9b2e3670861309d0ca989d
branch: codex/ipa-dsym-build-upload-3.7.0
specs:
fastlane-plugin-sentry (2.6.3)
os (~> 1.1, >= 1.1.4)

GEM
remote: https://rubygems.org/
specs:
Expand Down Expand Up @@ -123,8 +131,6 @@ GEM
xcodeproj (>= 1.13.0, < 2.0.0)
xcpretty (~> 0.4.1)
xcpretty-travis-formatter (>= 0.0.3, < 2.0.0)
fastlane-plugin-sentry (2.5.2)
os (~> 1.1, >= 1.1.4)
fastlane-sirp (1.1.0)
gh_inspector (1.1.3)
google-apis-androidpublisher_v3 (0.102.0)
Expand Down Expand Up @@ -242,7 +248,7 @@ PLATFORMS

DEPENDENCIES
fastlane
fastlane-plugin-sentry (>= 2.5.1, < 3.0.0)
fastlane-plugin-sentry (>= 2.5.1, < 3.0.0)!
xcpretty

BUNDLED WITH
Expand Down
14 changes: 8 additions & 6 deletions ios/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -186,17 +186,19 @@ platform :ios do
prepare_signing
build_app_for_scheme
ipa_path = export_thinned_size_analysis_ipa
xcarchive_path = lane_context[SharedValues::XCODEBUILD_ARCHIVE]
replace_xcarchive_app_with_ipa(
ipa_path: ipa_path,
xcarchive_path: xcarchive_path
xcarchive_path = File.expand_path(
lane_context[SharedValues::XCODEBUILD_ARCHIVE],
File.expand_path('..', __dir__)
)
dsym_path = File.join(xcarchive_path, 'dSYMs')
UI.important("Testing IPA+dSYM upload with bundled sentry-cli: IPA=#{ipa_path}, dSYMs=#{dsym_path}")
sentry_upload_build(
auth_token: ENV['SENTRY_SENTRY_AUTH_TOKEN'],
org_slug: 'sentry',
project_slug: 'hackernews-ios',
xcarchive_path: xcarchive_path,
build_configuration: 'Release',
ipa_path: ipa_path,
dsym_path: dsym_path,
build_configuration: 'Release-dsym-e2e',
log_level: 'debug'
)
end
Expand Down
4 changes: 3 additions & 1 deletion ios/fastlane/Pluginfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@
#
# Ensure this file is checked in to source control!

gem 'fastlane-plugin-sentry', '>= 2.5.1', '< 3.0.0'
gem 'fastlane-plugin-sentry', '>= 2.5.1', '< 3.0.0',
git: 'https://github.com/getsentry/sentry-fastlane-plugin.git',
branch: 'codex/ipa-dsym-build-upload-3.7.0'
Loading