Search code examples
iosproperty-listxcode-project

IOS: What is the purpose of the project attribute "product name"?


I ran into a problem where the solution seems to be to rename the "product name" property of my project.

I have tried to find an official description of this property, but I failed. What I did find was some Apple documentation that described it as "user facing". It's hard to accept that a user facing property doesn't reliably allow for anything but ASCII, so I have to ask: what is the purpose of "product name"? (other than an intermediary to derive other properties from)

Update: Also, if possible, would be interested in some sort of documentation. I've googled site:apple.com ios PRODUCT_NAME without much success.


Solution

  • Found a reference that (kind of) describes the property and what depends on it:

    PRODUCT_NAME
    Description: Identifier. Specifies the name of the product the target builds.
    Default value: The name of the target at the time it was created.
    Example value: MyProduct
    Affects: EXECUTABLE_NAME, WRAPPER_NAME.