diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ec742dd..0f01d7d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,7 @@ jobs: steps: - uses: maxim-lobanov/setup-xcode@v1 with: - xcode-version: 15.3 + xcode-version: '16.0-beta' - uses: actions/checkout@v4 - name: SPM tests run: make test diff --git a/SourceMapper.xcodeproj/project.pbxproj b/SourceMapper.xcodeproj/project.pbxproj index 099b64e..7f64ab8 100644 --- a/SourceMapper.xcodeproj/project.pbxproj +++ b/SourceMapper.xcodeproj/project.pbxproj @@ -384,7 +384,7 @@ MTL_FAST_MATH = YES; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_VERSION = 5.0; + SWIFT_VERSION = 6.0; }; name = Debug; }; @@ -436,7 +436,7 @@ MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; + SWIFT_VERSION = 6.0; }; name = Release; }; @@ -461,7 +461,7 @@ PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SKIP_INSTALL = YES; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)"; - SWIFT_VERSION = 5.0; + SWIFT_VERSION = 6.0; TARGET_NAME = SourceMapper; TVOS_DEPLOYMENT_TARGET = 9.0; WATCHOS_DEPLOYMENT_TARGET = 2.0; @@ -489,7 +489,7 @@ PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SKIP_INSTALL = YES; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)"; - SWIFT_VERSION = 5.0; + SWIFT_VERSION = 6.0; TARGET_NAME = SourceMapper; TVOS_DEPLOYMENT_TARGET = 9.0; WATCHOS_DEPLOYMENT_TARGET = 2.0; @@ -520,6 +520,7 @@ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) SWIFT_PACKAGE DEBUG"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_STRICT_CONCURRENCY = complete; + SWIFT_VERSION = 6.0; USE_HEADERMAP = NO; }; name = Debug; @@ -542,7 +543,7 @@ OTHER_LDFLAGS = "$(inherited)"; OTHER_SWIFT_FLAGS = "$(inherited)"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)"; - SWIFT_VERSION = 5.0; + SWIFT_VERSION = 6.0; TARGET_NAME = SourceMapperTests; TVOS_DEPLOYMENT_TARGET = 9.0; WATCHOS_DEPLOYMENT_TARGET = 2.0; @@ -567,7 +568,7 @@ OTHER_LDFLAGS = "$(inherited)"; OTHER_SWIFT_FLAGS = "$(inherited)"; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)"; - SWIFT_VERSION = 5.0; + SWIFT_VERSION = 6.0; TARGET_NAME = SourceMapperTests; TVOS_DEPLOYMENT_TARGET = 9.0; WATCHOS_DEPLOYMENT_TARGET = 2.0; @@ -595,6 +596,7 @@ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) SWIFT_PACKAGE"; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; SWIFT_STRICT_CONCURRENCY = complete; + SWIFT_VERSION = 6.0; USE_HEADERMAP = NO; }; name = Release; diff --git a/Tests/SourceMapperTests/TestHelpers.swift b/Tests/SourceMapperTests/TestHelpers.swift index 6432693..1fab0be 100644 --- a/Tests/SourceMapperTests/TestHelpers.swift +++ b/Tests/SourceMapperTests/TestHelpers.swift @@ -14,7 +14,7 @@ extension SourceMap { try self.init(try Data(contentsOf: url)) } - static let fixturesURL = URL(fileURLWithPath: #file) + static let fixturesURL = URL(fileURLWithPath: #filePath) .deletingLastPathComponent() .appendingPathComponent("Fixtures")