mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-03-18 20:02:25 +00:00
Remove ability to specify copy files phase ordering
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user