diff --git a/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata new file mode 100644 index 000000000..919434a62 --- /dev/null +++ b/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Package.swift b/Package.swift index 0e140ff0b..4ae57621a 100644 --- a/Package.swift +++ b/Package.swift @@ -18,6 +18,9 @@ let package = Package( .library(name: "KeychainAccess", targets: ["KeychainAccess"]) ], targets: [ - .target(name: "KeychainAccess", path: "Lib/KeychainAccess") + .target( + name: "KeychainAccess", + path: "Lib/KeychainAccess", + linkerSettings: [.unsafeFlags(["-Xlinker", "-no_application_extension"])]) ] ) diff --git a/Package@swift-5.3.swift b/Package@swift-5.3.swift index 4486abf78..0c76b6f26 100644 --- a/Package@swift-5.3.swift +++ b/Package@swift-5.3.swift @@ -18,6 +18,11 @@ let package = Package( .library(name: "KeychainAccess", targets: ["KeychainAccess"]) ], targets: [ - .target(name: "KeychainAccess", path: "Lib/KeychainAccess", exclude:["Info.plist"]) + .target( + name: "KeychainAccess", + path: "Lib/KeychainAccess", + exclude: ["Info.plist"], + linkerSettings: [.unsafeFlags(["-Xlinker", "-no_application_extension"])] + ) ] )