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

[SR-13358] [SwiftPM] Binary Objective C package clients need to add -ObjC flag #55798

Open
swift-ci opened this issue Aug 6, 2020 · 1 comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.

Comments

@swift-ci
Copy link
Collaborator

swift-ci commented Aug 6, 2020

Previous ID SR-13358
Radar rdar://problem/67361232
Original Reporter paulb (JIRA User)
Type Bug
Additional Detail from JIRA
Votes 1
Component/s
Labels Bug
Assignee None
Priority Medium

md5: 5e4c2155d795f5b6617a8c0903dfbe6e

Issue Description:

Objective C categories from binary Objective C packages will be stripped unless the app adds `-ObjC` to `OTHER_LDFLAGS`.

The builder should automatically detect the need or there should be a way to specify the `-ObjC` in the Package manifest.

More context at https://forums.swift.org/t/swiftpm-binary-linker-questions/39100/6

@typesanitizer
Copy link

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Projects
None yet
Development

No branches or pull requests

2 participants