diff --git a/Sources/XCFrameworkKit/Version.swift b/Sources/XCFrameworkKit/Version.swift index b85048a..9747fde 100644 --- a/Sources/XCFrameworkKit/Version.swift +++ b/Sources/XCFrameworkKit/Version.swift @@ -9,5 +9,5 @@ import Foundation public struct Version { public let value: String - public static let current = Version(value: "0.2.2") + public static let current = Version(value: "0.2.3") } diff --git a/Sources/XCFrameworkKit/XCFrameworkBuilder.swift b/Sources/XCFrameworkKit/XCFrameworkBuilder.swift index 01df775..caf48a4 100644 --- a/Sources/XCFrameworkKit/XCFrameworkBuilder.swift +++ b/Sources/XCFrameworkKit/XCFrameworkBuilder.swift @@ -143,7 +143,7 @@ public class XCFrameworkBuilder { let archivePath = buildPath + "\(scheme)-\(sdk.rawValue).xcarchive" //array of arguments for the archive of each framework //weird interpolation errors are forcing me to use this "" + syntax. not sure if this is a compiler bug or not. - var archiveArguments = ["-project", "" + project, "-scheme", "" + scheme, "archive", "SKIP_INSTALL=NO", "BUILD_LIBRARY_FOR_DISTRIBUTION=YES"] + var archiveArguments = ["-project", "\"" + project + "\"", "-scheme", "\"" + scheme + "\"", "archive", "SKIP_INSTALL=NO", "BUILD_LIBRARY_FOR_DISTRIBUTION=YES"] if let compilerArguments = compilerArguments { archiveArguments.append(contentsOf: compilerArguments) }