diff --git a/Package@swift-6.1.swift b/Package@swift-6.1.swift index 636c3b8e10..8ccba0b397 100644 --- a/Package@swift-6.1.swift +++ b/Package@swift-6.1.swift @@ -69,7 +69,7 @@ var targets: [Target] = [ ] let env = getenv("EXPERIMENTAL_SPM_BUILDS") -if let env = env, String(cString: env, encoding: .utf8) == "1" { +if let env = env, String(cString: env) == "1" { products.append(.library(name: "SentrySPM", type: .dynamic, targets: ["SentryObjc"])) targets.append(contentsOf: [ // At least one source file is required, therefore we use a dummy class to satisfy the SPM build system