Add possibility to modify the macOS minimum version #4271
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi all 馃憢
I recently tried to publish my macOS app to the App Store and the publishing failed because I wasn't including an Intel version
![Screenshot 2024-02-04 at 17 31 52](https://private-user-images.githubusercontent.com/9467705/303478758-a3f421ed-ca77-460b-bc2e-7ceafb3ca1c0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjExNjA3NzgsIm5iZiI6MTcyMTE2MDQ3OCwicGF0aCI6Ii85NDY3NzA1LzMwMzQ3ODc1OC1hM2Y0MjFlZC1jYTc3LTQ2MGItYmMyZS03Y2VhZmIzY2ExYzAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MTZUMjAwNzU4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDJhZDAwNjc0MGRjYzA1ZWZhN2E1ZDAyMzZjZmQxMDI0NDFjODMzNDhlZWUwMTQ1YzQ5M2Q3ZDE4MzBlZjliYiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.O0394pEPcQIz4E8-xatwiYJ2Xfie2m8bku6H3lsIQh0)
The alternative could be publishing a Universal binary, but it's not quite supported now (see #1599). But by setting the minimum version of macOS to 12, it's possible to upload only arm version.
So, I've added the possibility of changing the minimum macOS version.