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

Disable autolinking for dynamic frameworks #1023

Merged
merged 1 commit into from
Mar 8, 2023

Conversation

keith
Copy link
Member

@keith keith commented Mar 8, 2023

When linking with the objc provider, we use -F and -framework to
link dynamic frameworks. With CcInfo we pass the binary path directly to
the linker instead, meaning any autolink commands like -framework foo
are invalid.

When linking with the objc provider, we use `-F` and `-framework` to
link dynamic frameworks. With CcInfo we pass the binary path directly to
the linker instead, meaning any autolink commands like `-framework foo`
are invalid.
@keith keith merged commit 40c36c9 into master Mar 8, 2023
@keith keith deleted the ks/disable-autolinking-for-dynamic-frameworks branch March 8, 2023 19:06
tymurmustafaiev pushed a commit to tymurmustafaiev/rules_swift that referenced this pull request Jul 19, 2023
When linking with the objc provider, we use `-F` and `-framework` to
link dynamic frameworks. With CcInfo we pass the binary path directly to
the linker instead, meaning any autolink commands like `-framework foo`
are invalid.
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.

None yet

2 participants