Neither of these really answers the question. The correct format that dynamically adds the product name is $(PRODUCT-NAME-rfcsomethingidentifier) and xcode is changing it to --PRODUCT-NAME-rfcsomethingidentifier-
so these aren't good answers. sorry.
Personally, I have very little patience with taking any c***p from xcode, so I just went into project.pbxproj and changed it to what it clearly should be.