Skip to content

Commit fa6c5c9

Browse files
mtholeKryštof Matěj
andauthored
Fix Xcode 13 build (alternate PR to kick CI) (#1130)
* Fix Xcode 13 build * Extend Xcode 12 workaround to Xcode 13 * Update CHANGELOG * Moved CHANGELOG into 'Next Version' section Co-authored-by: Kryštof Matěj <krystof.matej@cleverlance.com>
1 parent 322262c commit fa6c5c9

8 files changed

Lines changed: 22 additions & 17 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ on:
44
pull_request: {}
55
jobs:
66
run:
7-
runs-on: macOS-latest
7+
runs-on: macos-11
88
name: Xcode ${{ matrix.xcode }}
99
strategy:
1010
matrix:
11-
xcode: ["12"]
11+
xcode: ["12.5.1", "13.0"]
1212
steps:
1313
- uses: actions/checkout@master
1414
- name: Set Xcode

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Next Version
44

5+
### Fixed
6+
7+
- Fix Xcode 13 build [#1130](https://github.com/yonaskolb/XcodeGen/issues/1127) @raptorxcz @mthole
8+
59
## 2.25.0
610

711
### Added

Package.resolved

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ let package = Package(
1111
.library(name: "ProjectSpec", targets: ["ProjectSpec"]),
1212
],
1313
dependencies: [
14-
.package(url: "https://github.com/kylef/PathKit.git", from: "1.0.0"),
14+
.package(url: "https://github.com/kylef/PathKit.git", from: "1.0.1"),
1515
.package(url: "https://github.com/jpsim/Yams.git", from: "4.0.0"),
1616
.package(url: "https://github.com/yonaskolb/JSONUtilities.git", from: "4.2.0"),
1717
.package(url: "https://github.com/kylef/Spectre.git", from: "0.9.2"),
1818
.package(url: "https://github.com/onevcat/Rainbow.git", from: "3.0.0"),
19-
.package(url: "https://github.com/tuist/XcodeProj.git", from: "8.2.0"),
20-
.package(url: "https://github.com/jakeheis/SwiftCLI.git", from: "6.0.0"),
19+
.package(url: "https://github.com/tuist/XcodeProj.git", from: "8.3.1"),
20+
.package(url: "https://github.com/jakeheis/SwiftCLI.git", from: "6.0.3"),
2121
.package(url: "https://github.com/mxcl/Version", from: "2.0.0"),
2222
.package(url: "https://github.com/SwiftDocOrg/GraphViz.git", .exact("0.2.0")),
2323
],
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#include "xcode12_workaround.xcconfig"
1+
#include "xcode12_and_13_workaround.xcconfig"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
#include "xcode12_workaround.xcconfig"
1+
#include "xcode12_and_13_workaround.xcconfig"
22
MACH_O_TYPE = staticlib

Tests/Fixtures/TestProject/fixtures.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "xcode12_workaround.xcconfig"
1+
#include "xcode12_and_13_workaround.xcconfig"
22

33
// Common settings for fixtures
44
CODE_SIGN_IDENTITY =

Tests/Fixtures/TestProject/xcode12_workaround.xcconfig renamed to Tests/Fixtures/TestProject/xcode12_and_13_workaround.xcconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66

77
EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_simulator__NATIVE_ARCH_64_BIT_x86_64=arm64 arm64e armv7 armv7s armv6 armv8
88
EXCLUDED_ARCHS_1200=$(inherited) $(EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_$(EFFECTIVE_PLATFORM_SUFFIX)__NATIVE_ARCH_64_BIT_$(NATIVE_ARCH_64_BIT))
9+
EXCLUDED_ARCHS_1300=$(inherited) $(EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_$(EFFECTIVE_PLATFORM_SUFFIX)__NATIVE_ARCH_64_BIT_$(NATIVE_ARCH_64_BIT))
910
EXCLUDED_ARCHS=$(inherited) $(EXCLUDED_ARCHS_$(XCODE_VERSION_MAJOR))

0 commit comments

Comments
 (0)