mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2024-10-26 22:11:25 +03:00
Bugfix/StoreKitConfiguration BuildPhase (#1026)
* Copy storekit to bundle resources by default * Fix tests * Update changelog
This commit is contained in:
parent
17b40a3288
commit
05ea968f70
@ -2,6 +2,9 @@
|
||||
|
||||
## Next Version
|
||||
|
||||
#### Fixed
|
||||
- Fixed regression on **.storekit** configuration files' default build phase. [#1026](https://github.com/yonaskolb/XcodeGen/pull/1026) @jcolicchio
|
||||
|
||||
## 2.19.0
|
||||
|
||||
#### Added
|
||||
|
@ -71,6 +71,7 @@ extension FileType {
|
||||
// resources
|
||||
"bundle": FileType(buildPhase: .resources),
|
||||
"xcassets": FileType(buildPhase: .resources),
|
||||
"storekit": FileType(buildPhase: .resources),
|
||||
|
||||
// sources
|
||||
"swift": FileType(buildPhase: .sources),
|
||||
@ -110,6 +111,5 @@ extension FileType {
|
||||
"xcfilelist": FileType(buildPhase: BuildPhaseSpec.none),
|
||||
"apns": FileType(buildPhase: BuildPhaseSpec.none),
|
||||
"pch": FileType(buildPhase: BuildPhaseSpec.none),
|
||||
"storekit": FileType(buildPhase: BuildPhaseSpec.none),
|
||||
]
|
||||
}
|
||||
|
@ -21,6 +21,7 @@ fileGroups:
|
||||
- FileGroup
|
||||
- SomeFile
|
||||
- Utilities
|
||||
- App_iOS/Configuration.storekit
|
||||
projectReferences:
|
||||
AnotherProject:
|
||||
path: ./AnotherProject/AnotherProject.xcodeproj
|
||||
@ -76,6 +77,7 @@ targets:
|
||||
- "**/excluded-file"
|
||||
- "excluded-file"
|
||||
- "Model.xcmappingmodel"
|
||||
- "Configuration.storekit"
|
||||
- path: App_iOS
|
||||
name: App
|
||||
includes:
|
||||
|
@ -591,6 +591,7 @@ class SourceGeneratorTests: XCTestCase {
|
||||
- file.mlmodel
|
||||
- Info.plist
|
||||
- Intent.intentdefinition
|
||||
- Configuration.storekit
|
||||
- Settings.bundle:
|
||||
- en.lproj:
|
||||
- Root.strings
|
||||
@ -646,6 +647,7 @@ class SourceGeneratorTests: XCTestCase {
|
||||
try pbxProj.expectFile(paths: ["C", "file.metal"], buildPhase: .sources)
|
||||
try pbxProj.expectFile(paths: ["C", "file.mlmodel"], buildPhase: .sources)
|
||||
try pbxProj.expectFile(paths: ["C", "Intent.intentdefinition"], buildPhase: .sources)
|
||||
try pbxProj.expectFile(paths: ["C", "Configuration.storekit"], buildPhase: .resources)
|
||||
try pbxProj.expectFile(paths: ["C", "Settings.bundle"], buildPhase: .resources)
|
||||
try pbxProj.expectFileMissing(paths: ["C", "Settings.bundle", "en.lproj"])
|
||||
try pbxProj.expectFileMissing(paths: ["C", "Settings.bundle", "en.lproj", "Root.strings"])
|
||||
|
Loading…
Reference in New Issue
Block a user