Skip to content

[5.7][Immediate]: Workaround for loading Foundation in immediate mode #59731

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

Merged
merged 3 commits into from
Jun 29, 2022

Conversation

drexin
Copy link
Contributor

@drexin drexin commented Jun 27, 2022

Cherry picked from #59730.

Explanation: The framework layout of Foundation has changed in 13.0, causing unresolved symbol errors to libswiftFoundation in immediate mode when running on older OS versions with a 13.0 SDK. This workaround scans through the list of dependencies and manually adds libswiftFoundation if necessary.
Scope: Immediate mode
Risk: Low
Testing: Local testing
Reviewer: @nate-chandler
Issue: rdar://94645534

@drexin drexin requested a review from a team as a code owner June 27, 2022 20:22
@drexin
Copy link
Contributor Author

drexin commented Jun 27, 2022

@swift-ci test

@drexin
Copy link
Contributor Author

drexin commented Jun 27, 2022

@swift-ci test

@drexin
Copy link
Contributor Author

drexin commented Jun 27, 2022

@swift-ci test

1 similar comment
@drexin
Copy link
Contributor Author

drexin commented Jun 27, 2022

@swift-ci test

@tbkka
Copy link
Contributor

tbkka commented Jun 27, 2022

CC: @nate-chandler

@drexin
Copy link
Contributor Author

drexin commented Jun 28, 2022

@tbkka main branch PR has been merged.

@drexin drexin merged commit bc0eb2e into swiftlang:release/5.7 Jun 29, 2022
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