Skip to content

Commit

Permalink
Update Package.swift comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle-Ye committed Oct 18, 2023
1 parent be8eeee commit dbfa44b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,10 @@ let package = Package(
)

let useAG = ProcessInfo.processInfo.environment["OPENSWIFTUI_USE_AG"] != nil

if useAG {
// TODO: Add a xcframework of all Apple OS's system AttributeGraph binary or add OpenAttributeGraph source implementation
let targets: [Target] = [
.binaryTarget(name: "AttributeGraph", path: "Sources/AttributeGraph.xcframework"),
// FIXME: The binary of AG for macOS is copied from dyld shared cache and it will cause a link error when running. Use iOS Simulator to run this target as a temporary workaround
.testTarget(
name: "AttributeGraphTests",
dependencies: ["AttributeGraph"]
Expand Down

0 comments on commit dbfa44b

Please sign in to comment.