From a4011a2ee94c1dd7c6b3033e2d2b922831f219eb Mon Sep 17 00:00:00 2001 From: Dominika Gajdova Date: Thu, 29 Feb 2024 19:04:21 +0100 Subject: [PATCH] chore: use docc plugin param instead of unsafe flag --- Package.swift | 1 - generate_docs.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Package.swift b/Package.swift index 14fbdf9f..4ac56cf1 100644 --- a/Package.swift +++ b/Package.swift @@ -26,7 +26,6 @@ let package = Package( // Targets can depend on other targets in this package, and on products in packages this package depends on. .target( name: "Networking", - swiftSettings: [.unsafeFlags(["-emit-extension-block-symbols"])], plugins: [.plugin(name: "SwiftLintPlugin", package: "SwiftLint")] ), .testTarget( diff --git a/generate_docs.sh b/generate_docs.sh index 5d50bd2b..0a5dfb60 100755 --- a/generate_docs.sh +++ b/generate_docs.sh @@ -2,7 +2,7 @@ swift package \ --allow-writing-to-directory ./docs \ - generate-documentation --target Networking \ + generate-documentation --target Networking --include-extended-types\ --disable-indexing \ --transform-for-static-hosting \ --hosting-base-path ios-networking \