lib/gym/xcodebuild_fixes/swift_fix.rb in gym-0.4.4 vs lib/gym/xcodebuild_fixes/swift_fix.rb in gym-0.4.5
- old
+ new
@@ -25,10 +25,10 @@
FileUtils.copy_file("#{Gym.xcode_path}/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/#{framework}", File.join(swift_support, framework))
end
# Add "SwiftSupport" to the .ipa archive
Dir.chdir(tmpdir) do
- command_parts = ["zip --recurse-paths #{PackageCommandGenerator.ipa_path} SwiftSupport"]
+ command_parts = ["zip --recurse-paths '#{PackageCommandGenerator.ipa_path}' SwiftSupport"]
command_parts << "> /dev/null" unless $verbose
Runner.new.print_command(command_parts, "Fix Swift embedded code if needed") if $verbose
FastlaneCore::CommandExecutor.execute(command: command_parts,
print_all: false,