Skip to content

Commit

Permalink
Merge pull request #662 from rechsteiner/remove-unsafe-flags
Browse files Browse the repository at this point in the history
Fix issue with unsafe flags when using SwiftPM
  • Loading branch information
rechsteiner committed Mar 7, 2023
2 parents 51eba77 + a4310fb commit 0d3fe86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
9 changes: 2 additions & 7 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,7 @@ let package = Package(
targets: [
.target(
name: "Parchment",
path: "Parchment",
linkerSettings: [
.unsafeFlags([
"-weak_framework", "SwiftUI",
]),
]
),
path: "Parchment"
)
]
)
8 changes: 0 additions & 8 deletions Parchment.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1338,10 +1338,6 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
OTHER_LDFLAGS = (
"-weak_framework",
SwiftUI,
);
PRODUCT_BUNDLE_IDENTIFIER = com.martinrechsteiner.Parchment;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
Expand All @@ -1366,10 +1362,6 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
OTHER_LDFLAGS = (
"-weak_framework",
SwiftUI,
);
PRODUCT_BUNDLE_IDENTIFIER = com.martinrechsteiner.Parchment;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
Expand Down

0 comments on commit 0d3fe86

Please sign in to comment.