-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compilation with
swift build
(#7588)
Adding a resource to a target makes `swift build` try to force-include Foundation.h when building source files in that target, which breaks if any of the source files aren't obj-c. To work around this, the resources need to be in a separate target from the source files. xcodebuild breaks if a target has zero source files, so add an empty obj-c file to build as part of this new resource target.
- Loading branch information
Showing
4 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Empty file.