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

[apple][v0.7] Define the deployment target in the frameworks metadata #428

Conversation

alloy
Copy link
Contributor

@alloy alloy commented Dec 4, 2020

Fixes #420

Summary

Apple App Store submission, at least the iOS one, requires this metadata to be specified when only targeting a subset of possible archs.

Test Plan

~/tmp » curl -L -O https://12725-154201259-gh.circle-artifacts.com/0/tmp/hermes/output/hermes-engine-darwin-v0.7.1.tgz
~/tmp » tar -zvxf hermes-engine-darwin-v0.7.1.tgz
~/tmp » cd package/
~/t/package » node unpack-tarball.js
~/t/package » /usr/libexec/PlistBuddy -c 'Print :MinimumOSVersion' destroot/Library/Frameworks/iphoneos/hermes.framework/Info.plist
10.0
~/t/package » /usr/libexec/PlistBuddy -c 'Print :LSMinimumSystemVersion' destroot/Library/Frameworks/macosx/hermes.framework/Resources/Info.plist
10.13

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Dec 4, 2020
@alloy
Copy link
Contributor Author

alloy commented Dec 4, 2020

@Huxpro Unsure about those e2e test failures, but this should otherwise be good to go 👍

@Huxpro Huxpro merged commit cfd8b06 into facebook:release-v0.7 Dec 8, 2020
@alloy alloy deleted the add-deployment-target-metadata-to-apple-artefacts-v0.7 branch December 8, 2020 12:23
@Huxpro Huxpro changed the title [apple] Define the deployment target in the frameworks metadata [apple][v0.7] Define the deployment target in the frameworks metadata Jan 5, 2021
facebook-github-bot pushed a commit that referenced this pull request Jan 8, 2021
Summary:
Fixes #420

Apple App Store submission, at least the iOS one, requires this metadata to be specified when only targeting a subset of possible archs.

Pull Request resolved: #425

Test Plan:
(Taken from #428)

```
~/tmp » curl -L -O https://12725-154201259-gh.circle-artifacts.com/0/tmp/hermes/output/hermes-engine-darwin-v0.7.1.tgz
~/tmp » tar -zvxf hermes-engine-darwin-v0.7.1.tgz
~/tmp » cd package/
~/t/package » node unpack-tarball.js
~/t/package » /usr/libexec/PlistBuddy -c 'Print :MinimumOSVersion' destroot/Library/Frameworks/iphoneos/hermes.framework/Info.plist
10.0
~/t/package » /usr/libexec/PlistBuddy -c 'Print :LSMinimumSystemVersion' destroot/Library/Frameworks/macosx/hermes.framework/Resources/Info.plist
10.13
```

Reviewed By: mhorowitz

Differential Revision: D25839408

Pulled By: Huxpro

fbshipit-source-id: 8067069d66ea3af36366157ffae95445e9e89392
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants