| Summary: | [Xcode] Prefer system frameworks built into $(BUILT_PRODUCTS_DIR)/System/Library/Frameworks | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Daniel Bates <dbates> | ||||||
| Component: | Tools / Tests | Assignee: | Daniel Bates <dbates> | ||||||
| Status: | RESOLVED WONTFIX | ||||||||
| Severity: | Normal | CC: | aestes, ap, graouts, jer.noble, lforschler, mitz, thorton | ||||||
| Priority: | P2 | ||||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Daniel Bates
2018-09-06 11:32:14 PDT
Created attachment 349047 [details]
Patch
Who builds things into $(BUILT_PRODUCTS_DIR)/System/Library/Frameworks? That's rather odd. Even better, treat all frameworks in the built product directory as system frameworks. Created attachment 349081 [details]
Patch (Does not work)
(In reply to Daniel Bates from comment #3) > Even better, treat all frameworks in the built product directory as system > frameworks. This does not work out :( WebKit's additional error options, such as -Wundef, are applied to headers included from other frameworks built into the build products directory. I also tried passing --system-header-prefix=< instead of adding $(BUILT_PRODUCTS_DIR)/System/Library/Frameworks to SYSTEM_FRAMEWORK_SEARCH_PATHS. This did to work. (In reply to Daniel Bates from comment #6) > I also tried passing --system-header-prefix=< instead of adding > $(BUILT_PRODUCTS_DIR)/System/Library/Frameworks to > SYSTEM_FRAMEWORK_SEARCH_PATHS. This did to work. *This did not work. I'll try to pester the LLDB folks (if I remember) to fix this issue. |