Skip to content

Commit 338ee88

Browse files
committed
Fix iOS and wasm issue
1 parent 422b447 commit 338ee88

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/ios.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
os: [macos-14]
16-
xcode-version: [16.0] # Swift 6.0
17-
ios-version: [18.0]
16+
xcode-version: ["16.0"] # Swift 6.0
17+
ios-version: ["18.0"]
1818
runs-on: ${{ matrix.os }}
1919
env:
2020
OPENGRAPH_WERROR: 1

Tests/OpenGraphCompatibilityTests/Attribute/Attribute/PointerOffsetTests.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ struct PointerOffsetTests {
4242
#expect(invalidPointer == UnsafeMutablePointer(bitPattern: stride))
4343
}
4444

45-
@Test(.bug("https://github.com/OpenSwiftUIProject/OpenGraph/issues", id: 70))
45+
#if canImport(Darwin)
46+
@Test(.bug("https://github.com/OpenSwiftUIProject/OpenGraph/issues", id: 70, "Verify fix"))
4647
func ofAndOffset() {
4748
struct Empty {
4849
var value: Void
@@ -78,6 +79,7 @@ struct PointerOffsetTests {
7879
.of(&invalid.third)
7980
}
8081
}
82+
#endif
8183

8284
@Test("Extension API between UnsafePointer/UnsafeMutablePointer and PointerOffset")
8385
func unsafePointerAndUnsafeMutablePointerExtension() {

0 commit comments

Comments
 (0)