Skip to content

Commit 5d846d8

Browse files
committed
Update OG dependency to fix release issue
1 parent cf88f3f commit 5d846d8

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

Package.resolved

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

Package.swift

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -432,13 +432,13 @@ if renderGTKCondition {
432432
}
433433

434434
if !compatibilityTestCondition {
435-
package.targets.append(contentsOf: [
435+
package.targets += [
436436
coreGraphicsShimsTestTarget,
437437
openSwiftUISPITestTarget,
438438
openSwiftUICoreTestTarget,
439439
openSwiftUITestTarget,
440440
openSwiftUIBridgeTestTarget,
441-
])
441+
]
442442
}
443443

444444
if buildForDarwinPlatform {
@@ -451,11 +451,12 @@ if symbolLocatorCondition {
451451
package.dependencies.append(
452452
.package(url: "https://github.com/OpenSwiftUIProject/SymbolLocator.git", from: "0.2.0")
453453
)
454-
455454
package.targets += [
456-
openSwiftUISymbolDualTestsSupportTarget,
457-
openSwiftUISymbolDualTestsTarget,
455+
openSwiftUISymbolDualTestsSupportTarget
458456
]
457+
if !compatibilityTestCondition {
458+
package.targets.append(openSwiftUISymbolDualTestsTarget)
459+
}
459460
}
460461

461462
extension Target {

Sources/OpenSwiftUICore/Data/DynamicProperty/ChangedBodyProperty.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ package func changedBodyProperties<Body>(of type: Body.Type) -> [String] {
1515
var index = 0
1616
repeat {
1717
let options = [
18-
Graph.descriptionFormat.takeUnretainedValue(): "stack/frame",
18+
Graph.descriptionFormat: "stack/frame",
1919
"frame_index": index,
2020
] as NSDictionary
2121
guard let description = Graph.description(nil, options: options),
22-
let dict = description.takeUnretainedValue() as? [String: Any],
22+
let dict = description as? [String: Any],
2323
let nodeID = dict["node-id"] as? UInt32,
2424
let selfType = dict["self-type"] as? BodyAccessorRule.Type,
2525
selfType.container == Body.self

0 commit comments

Comments
 (0)