From ae35da8d17ac04805fa0b379481b4363974f41ba Mon Sep 17 00:00:00 2001 From: Thi Date: Mon, 10 Jun 2019 10:43:23 +0900 Subject: [PATCH 1/2] Don't bundle `.pch` files as resources Fixes #593 --- Sources/XcodeGenKit/SourceGenerator.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/XcodeGenKit/SourceGenerator.swift b/Sources/XcodeGenKit/SourceGenerator.swift index 03305a4b..4ed48631 100644 --- a/Sources/XcodeGenKit/SourceGenerator.swift +++ b/Sources/XcodeGenKit/SourceGenerator.swift @@ -219,7 +219,8 @@ class SourceGenerator { "gpx", "lproj", "xcfilelist", - "apns": + "apns", + "pch": return nil default: return .resources From 9da8154ba63c673d6f0f738a2d515f058f784cca Mon Sep 17 00:00:00 2001 From: Thi Date: Mon, 10 Jun 2019 11:06:56 +0900 Subject: [PATCH 2/2] Add changelog entry for #597 --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c43c8b13..c5ce1569 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ - Added ability to encode ProjectSpec to JSON [#545](https://github.com/yonaskolb/XcodeGen/pull/545) @ryohey - Added ability to skip tests [#582](https://github.com/yonaskolb/XcodeGen/pull/582) @kadarandras +#### Fixed + +- Fixed `.pch` files being bundled as resources [#597](https://github.com/yonaskolb/XcodeGen/pull/597) @thii + ## 2.5.0 #### Added