Apple deprecated bitcode in the deployment process in Xcode 14.0. Last
month Apple started requiring Xcode 14.1+ to submit apps to the App
Store. Since there isn't a use for bundling bitcode outside of
submitting to the App Store we should be safe to delete this handling
entirely from LLD.
Details
Details
- Reviewers
int3 - Group Reviewers
Restricted Project - Commits
- rG48e5f704c55f: [lld-macho] Remove linking bitcode support
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
lld/MachO/Driver.cpp | ||
---|---|---|
1659 | nit: wording seems slightly confusing here, since the bitcode args are still supported in ld64 (just not for App Store uploads). anyway see my suggestion in Options.td | |
lld/MachO/Options.td | ||
648–661 | how about moving all these to grp_obsolete, with a message like "Obsolete since the App Store no longer supports the bitcode build flow"? We could then drop the custom error message in Driver.cpp for these flags |
nit: wording seems slightly confusing here, since the bitcode args are still supported in ld64 (just not for App Store uploads). anyway see my suggestion in Options.td