Remove ability to specify copy files phase ordering

This commit is contained in:
Brentley Jones
2018-11-05 10:40:25 -06:00
parent ef0c87ecb5
commit e6288b49df
3 changed files with 1 additions and 7 deletions
-3
View File
@@ -2,9 +2,6 @@
## Master
#### Added
- Allow more granular phase ordering for Copy File and Run Script phases. [402](https://github.com/yonaskolb/XcodeGen/pull/402) @brentleyjones
#### Fixed
- Fixed XPC Service package type [#435](https://github.com/yonaskolb/XcodeGen/pull/435) @alvarhansen
- Fixed phase ordering for modulemap and static libary header Copy File phases. [402](https://github.com/yonaskolb/XcodeGen/pull/402) @brentleyjones
-3
View File
@@ -286,9 +286,6 @@ A source can be provided via a string (the path) or an object of the form:
- `sharedSupport`
- `plugins`
- [ ] **subpath**: **String** - The path inside of the destination to copy the files.
- [ ] **phaseOrder**: **String** - When the Copy Files phase should execute in relation to other phases. This can be one of the following values:
- `preCompile`: Run before the Compile Sources phase
- `postCompile`: Run after the Compile Sources phase
- `none` - Will not be added to any build phases
- [ ] **type**: **String**: This can be one of the following values
- `file`: a file reference with a parent group will be created (Default for files or directories with extensions)
+1 -1
View File
@@ -204,6 +204,6 @@ extension TargetSource.BuildPhase.CopyFilesSettings: JSONObjectConvertible {
public init(jsonDictionary: JSONDictionary) throws {
destination = try jsonDictionary.json(atKeyPath: "destination")
subpath = jsonDictionary.json(atKeyPath: "subpath") ?? ""
phaseOrder = jsonDictionary.json(atKeyPath: "phaseOrder") ?? .postCompile
phaseOrder = .postCompile
}
}