Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '16.3'
xcode-version: '26.1.0-beta'
- uses: actions/checkout@v4
with:
persist-credentials: false
Expand Down
192 changes: 98 additions & 94 deletions TMLPersistentContainer.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1600"
LastUpgradeVersion = "2610"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1600"
LastUpgradeVersion = "2610"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1600"
LastUpgradeVersion = "2610"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down Expand Up @@ -78,7 +78,8 @@
</EnvironmentVariables>
<Testables>
<TestableReference
skipped = "NO">
skipped = "NO"
parallelizable = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "DD7502791C68FCFC006590AF"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1600"
LastUpgradeVersion = "2610"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1600"
LastUpgradeVersion = "2610"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
14 changes: 7 additions & 7 deletions Tests/TMLPersistentContainerTests/ModelNames.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ enum ModelName: String {
/// Version 3 - {id: Int32, count: Int32}

/// Unversioned model containing version 1 of the SimpleItem entity
case TestModel_Simple_1
case TestModel_Simple_1 = "TestModel_Simple_A"

/// Versioned model containing version 1 + 2 of the SimpleItem entity
case TestModel_Simple_2
case TestModel_Simple_2 = "TestModel_Simple_B"

/// Versioned model containing versions 1 + 2 + 3 of the SimpleItem entity
case TestModel_Simple_3
case TestModel_Simple_3 = "TestModel_Simple_C"

/// A non-existent model
case NonExistentModel
Expand All @@ -43,9 +43,9 @@ enum ModelName: String {
/// Version 2 - {id2: Int, counter2: Int}

/// Base version containing version 1 of both entities
case TestModel_MultiConfig_1
case TestModel_MultiConfig_1 = "TestModel_MultiConfig_A"

/// Versioned model containing versions 1 + 1 of both entities
case TestModel_MultiConfig_2
case TestModel_MultiConfig_2 = "TestModel_MultiConfig_B"
}

2 changes: 1 addition & 1 deletion Tests/TMLPersistentContainerTests/TestBugs.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class TestBugs: XCTestCase {

// Load model + set up persistent container as normal

let modelFileName = "TestModel_Simple_1" // must have at least one entity
let modelFileName = ModelName.TestModel_Simple_1.rawValue
let storeFileName = "TestBugs_1_Store"

let unitTestBundle = Bundle(for: type(of: self))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
<plist version="1.0">
<dict>
<key>_XCCurrentVersionName</key>
<string>TestModel_MultiConfig_2.xcdatamodel</string>
<string>TestModel_MultiConfig_B.xcdatamodel</string>
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
<plist version="1.0">
<dict>
<key>_XCCurrentVersionName</key>
<string>TestModel_Simple_2.xcdatamodel</string>
<string>TestModel_Simple_B.xcdatamodel</string>
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
<plist version="1.0">
<dict>
<key>_XCCurrentVersionName</key>
<string>TestModel_Simple_3.xcdatamodel</string>
<string>TestModel_Simple_C.xcdatamodel</string>
</dict>
</plist>