Closed michalszelagsonos closed 5 months ago
Describe the bug I have a project that contains a couple builds steps with shell command. When I save the project, the steps are modified such that quotes and newlines are removed. Here's a git diff showing how the step gets mangled:
runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "scripts/swiftlint.sh\n"; + shellScript = scripts/swiftlint.sh +;
You can see how quotes and newlines are lost.
System information
4.0.0
3.11
15.2
To Reproduce Steps to reproduce the behavior:
project = pbxproj.XcodeProject.load("path to your project.pbxproj file") project.save()
project.pbxproj
Expected behavior Loading and saving the project should preserve the entries, as is.
Describe the bug I have a project that contains a couple builds steps with shell command. When I save the project, the steps are modified such that quotes and newlines are removed. Here's a git diff showing how the step gets mangled:
You can see how quotes and newlines are lost.
System information
4.0.0
3.11
15.2
To Reproduce Steps to reproduce the behavior:
project.pbxproj
file, you will see that your build step will lose quotes and newline character.Expected behavior Loading and saving the project should preserve the entries, as is.