Skip to content

Commit 0479d07

Browse files
authored
Fix another XCBuild compatibility issue (#6764)
Similar to #6752, there was another case where we needed the new setting. rdar://113157040 (cherry picked from commit 2dceb21)
1 parent 9be12c5 commit 0479d07

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/XCBuildSupport/PIFBuilder.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,7 @@ final class PackagePIFProjectBuilder: PIFProjectBuilder {
677677

678678
if let resourceBundle = addResourceBundle(for: target, in: pifTarget) {
679679
settings[.PACKAGE_RESOURCE_BUNDLE_NAME] = resourceBundle
680+
settings[.GENERATE_RESOURCE_ACCESSORS] = "YES"
680681
impartedSettings[.EMBED_PACKAGE_RESOURCE_BUNDLE_NAMES, default: ["$(inherited)"]].append(resourceBundle)
681682
}
682683

0 commit comments

Comments
 (0)