Skip to content

Commit 1c40bea

Browse files
committed
Check framework type
1 parent f3b75ef commit 1c40bea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ScipioKit/Producer/PIF/PIFCompiler.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ struct PIFCompiler: Compiler {
8686
buildParametersPath: buildParametersPath
8787
)
8888

89-
if buildOptions.stripDWARFSymbols {
89+
if buildOptions.stripDWARFSymbols && buildOptions.frameworkType == .static {
9090
logger.info("🐛 Stripping debug symbols")
9191
let binaryPath = frameworkBundlePath.appending(component: buildProduct.target.c99name)
9292
try await debugSymbolStripper.stripDebugSymbol(binaryPath)

0 commit comments

Comments
 (0)