Skip to content

Use thinned build - #606

Merged
noahsmartin merged 1 commit into
mainfrom
useThinnedBuild
Oct 1, 2025
Merged

Use thinned build#606
noahsmartin merged 1 commit into
mainfrom
useThinnedBuild

Conversation

@noahsmartin

Copy link
Copy Markdown
Member

No description provided.

@emerge-tools

emerge-tools Bot commented Sep 30, 2025

Copy link
Copy Markdown

📸 Snapshot Test

1 modified, 71 unchanged

Name Added Removed Modified Renamed Unchanged Errored Approval
HackerNews
com.emergetools.hackernews.snapshots
0 0 1 0 71 0 ⏳ Needs approval

🛸 Powered by Emerge Tools

Comment thread ios/fastlane/Fastfile
lane :build_upload_emerge do
load_asc_api_key
prepare_signing
build_app_for_scheme(build_configuration: ENV['CONFIGURATION'])

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this intentional?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep that param wasn't used anywhere in the build_app_for_scheme function

@noahsmartin
noahsmartin merged commit 7cba446 into main Oct 1, 2025
6 of 7 checks passed
@noahsmartin
noahsmartin deleted the useThinnedBuild branch October 1, 2025 13:00
jamieQ added a commit that referenced this pull request Aug 5, 2026
Follow up to #835. The change in #835 to upload a thinned IPA for size
analysis "worked", but unfortunately lost dSYM info. Upon further
investigation, it appears we used to have both things working
(implemented in #606), but that regressed recently. This change
re-implements an approach closer to the original strategy, where we
produce a thinned export, but then replace the original XCArchive
payload with the thinned payload before uploading. This way we upload
the thinned payload and retain the dSYM through the process.

Now the uploads have debug info in the binary analysis:

<img width="66%" height="787" alt="thin-dsyms"
src="https://github.com/user-attachments/assets/9c9fa11e-bf1e-4391-8417-c4fde455c47d"
/>

Refs EME-1285
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants