File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ public final class SchemesGenerator {
116
116
"""
117
117
118
118
// Create buildable references for non-test targets.
119
- for target in scheme. regularTargets {
119
+ for target in scheme. regularTargets. sorted ( by : { $0 . name < $1 . name } ) {
120
120
stream <<< """
121
121
<BuildActionEntry buildForTesting = " YES " buildForRunning = " YES " buildForProfiling = " YES " buildForArchiving = " YES " buildForAnalyzing = " YES " >
122
122
<BuildableReference
@@ -148,7 +148,7 @@ public final class SchemesGenerator {
148
148
"""
149
149
150
150
// Create testable references.
151
- for target in scheme. testTargets {
151
+ for target in scheme. testTargets. sorted ( by : { $0 . name < $1 . name } ) {
152
152
stream <<< """
153
153
<TestableReference
154
154
skipped = " NO " >
Original file line number Diff line number Diff line change @@ -385,7 +385,7 @@ public func xcodeProject(
385
385
// Go through all the targets, creating targets and adding file references
386
386
// to the group tree (the specific top-level group under which they are
387
387
// added depends on whether or not the target is a test target).
388
- for target in targets {
388
+ for target in targets. sorted ( by : { $0 . name < $1 . name } ) {
389
389
// Determine the appropriate product type based on the kind of target.
390
390
// FIXME: We should factor this out.
391
391
let productType : Xcode . Target . ProductType
You can’t perform that action at this time.
0 commit comments