[MacPorts] #15405: xcode.project variable handles strings as lists

MacPorts noreply at macports.org
Fri May 23 03:02:51 PDT 2008

#15405: xcode.project variable handles strings as lists
 Reporter:  rhwood at macports.org  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:  MacPorts base bugs                   
Component:  base                 |     Version:  1.6.0                                
 Keywords:                       |  
 The xcode.project portfile variable treats strings as lists.

 The variable takes a single project file as an argument to be passed to
 xcode, but if a space is in the name, it passes the name wrapped in curly

 Expected result:
 setting {{{xcode.project "Chat Core.xcodeproj"}}} does not lead to an

 Returned result:
 -->  Building ChatCore
 Error: Target org.macports.build returned: shell command "cd
 && xcodebuild -project {Chat Core.xcodeproj} -target "ChatCore
 (Application)" -configuration Release build OBJROOT=build/ SYMROOT=build/
 " returned error 1
 Command output: xcodebuild: Error: the project name {Chat does not have a
 valid extension.
 Note that '''''{'''Chat Core.xcodeproj'''}''''' is passed instead of
 ''Chat Core.xcodeproj''

 This issue is covered in #12429 which I did not reopen due to its

 I found at least one portfile (source:trunk/dports/aqua/IcyJuice/Portfile)
 that has workarounds in it to address this behavior.

Ticket URL: <http://trac.macports.org/ticket/15405>
MacPorts <http://www.macports.org/>
Ports system for Mac OS

More information about the macports-tickets mailing list