[ https://issues.jenkins-ci.org/browse/JENKINS-12800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160820#comment-160820 ]
Arnaud Héritier commented on JENKINS-12800: ------------------------------------------- I can see the problem in the code because we split using space character. https://github.com/jenkinsci/xcode-plugin/blob/master/src/main/java/au/com/rayh/XCodeBuilder.java#L392 I don't yet know how to solve it. Perhaps using a most complexe regexp to not do it for spaces between characters ' or " but it's not easy. > Can't add xcodebuild parameters including whitespace > ---------------------------------------------------- > > Key: JENKINS-12800 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12800 > Project: Jenkins > Issue Type: Bug > Components: xcode > Affects Versions: current > Reporter: Sven Weidauer > > I am trying to pass the parameter 'CODE_SIGN_IDENTITY="iPhone Distribution"' > to xcodebuild via the new 'custom xcodebuild arguments' field. But no matter > how I quote this it always gets split into two paramters at the whitespace > which makes the build fail. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira