TF-4269 Fix Sentry dSYM upload: find xcarchive via find instead of gym_archive_path.txt

lane_context[XCODEBUILD_ARCHIVE] was unreliable — replace with find on
~/Library/Developer/Xcode/Archives to locate the Runner xcarchive directly.
This commit is contained in:
dab246
2026-04-21 12:17:46 +07:00
parent 149ce08f9b
commit 37dc22af17
3 changed files with 4 additions and 11 deletions
-4
View File
@@ -56,10 +56,6 @@ platform :ios do
workspace: "Runner.xcworkspace",
export_method: "app-store"
)
# Write the xcarchive path to a file so CI can locate dSYMs for Sentry upload.
# lane_context[XCODEBUILD_ARCHIVE] is set by build_app and contains the exact path.
archive_path = Actions.lane_context[SharedValues::XCODEBUILD_ARCHIVE]
File.write("gym_archive_path.txt", archive_path.to_s) if archive_path
upload_to_testflight(
skip_waiting_for_build_processing: true,
ipa: "Runner.ipa"