Skip to content

[Bug]: Bad quote handling for custom XCode flags in Projucer #1566

@Username256

Description

@Username256

Detailed steps on how to reproduce the bug

If XCode flags for the XCODE_MAC config are like this in Projucer...

"CODE_SIGN_IDENTITY[sdk=macosx*]" = "Developer ID Application";
"DEVELOPMENT_TEAM[sdk=macosx*]" = Z5CQDP53W7

Then it outputs it like so in the .pbxproj file....
"CODE_SIGN_IDENTITY[sdk = "macosx*]" = "Developer ID Application";
"DEVELOPMENT_TEAM[sdk=macosx*]" = Z5CQDP53W7";

For some reason the part in brackets in the first line gets spaces and a quote around the "=" character. Why? This is an error and does not allow for assigning the correct values. On the XCode side it will not even load the project.

What is the expected behaviour?

It should put the text as is into the XCode project.

Operating systems

macOS

What versions of the operating systems?

Sonoma 14.5

Architectures

x86_64

Stacktrace

There is no stacktrace.

Plug-in formats (if applicable)

No response

Plug-in host applications (DAWs) (if applicable)

It happens for all plugin formats.

Testing on the develop branch

I have not tested against the develop branch

Code of Conduct

  • I agree to follow the Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions