We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--xc-setting OTHER_SWIFT_FLAGS="-debug-prefix-map $PWD=."
1 parent b426506 commit c229d13Copy full SHA for c229d13
Sources/CreateXCFramework/BuildSetting.swift
@@ -16,7 +16,7 @@ struct BuildSetting: ExpressibleByArgument {
16
let value: String
17
18
init?(argument: String) {
19
- let components = argument.components(separatedBy: "=")
+ let components = argument.split(separator: "=", maxSplits: 1)
20
guard components.count == 2 else { return nil }
21
self.name = components[0].trimmingCharacters(in: .whitespacesAndNewlines)
22
self.value = components[1].trimmingCharacters(in: .whitespacesAndNewlines)
0 commit comments