Kentzo / ShortcutRecorder

The best control to record shortcuts on macOS, written in ObjC with Swift in mind
Other
571 stars 114 forks source link

App thinning #74

Open Kentzo opened 6 years ago

Kentzo commented 6 years ago

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

Kentzo commented 5 years ago

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

lwouis commented 3 years ago

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

Kentzo commented 3 years ago

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

lwouis commented 3 years ago

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 commented 3 years ago

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

Kentzo commented 3 years ago

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