Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App thinning #74

Open
Kentzo opened this issue Oct 1, 2017 · 6 comments
Open

App thinning #74

Kentzo opened this issue Oct 1, 2017 · 6 comments
Labels

Comments

@Kentzo
Copy link
Owner

Kentzo commented Oct 1, 2017

Hopefully sometime in the future xcassets will allow only include resources that match the deployment target condition.

@Kentzo
Copy link
Owner Author

Kentzo commented Jun 1, 2019

As of 10.14 there is still no app thinning for macOS.

@lwouis
Copy link

lwouis commented Jan 15, 2021

Hey @Kentzo, could you clarify the scope of this ticket? Maybe I can help here. What exactly should match the deployment target condition?

@Kentzo
Copy link
Owner Author

Kentzo commented Jan 15, 2021

First it needs to be verified that App thinning is available for macOS 11. Then resources (styles) for older OSes should be excluded.

@lwouis
Copy link

lwouis commented Jan 15, 2021

I think App Thinning is mostly used when discussing Distribution-side thinning. Specifically, you download an app from the Mac App Store, and depending on your local environment, Apple is going to strip away necessary content from that download.

I was looking into such things for AltTab, and realized that it's only supported for MAS apps. This means that if you want to have more optimized builds for specific platforms, you need to handle that yourself in your distribution channel.

That being said, SR is a framework, not an app. Maybe there is support for that through SPM or Cocoapods?

@Kentzo
Copy link
Owner Author

Kentzo commented Jan 15, 2021

Last time I checked App Thinning was not supported on macOS.

@Kentzo
Copy link
Owner Author

Kentzo commented Jan 15, 2021

You're correct that thinning happens before distribution. However, the project must be built and properly annotated to support that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants