Describe the bug
When tuist generates target xcconfig using tuist migration command, it ads some syntax errors, using brackets were it doesn't works:
Correct:
GCC_PREPROCESSOR_DEFINITIONS[config=Debug]="$(inherited)" "USE_FMOD=1"
Generated:
GCC_PREPROCESSOR_DEFINITIONS[config=Debug]=["$(inherited)", "USE_FMOD=1"]
Then Xcodes issues de problem:
<built-in>:388:2: note: in file included from <built-in>:388:
# 1 "<command line>" 1
^
<command line>:17:9: error: macro name must be an identifier
#define [, 1
^
<built-in>:388:2: note: in file included from <built-in>:388:
# 1 "<command line>" 1
^
<command line>:17:9: error: macro name must be an identifier
#define [, 1
^
<unknown>:0: error: could not build Objective-C module 'SwiftShims'
To Reproduce
Steps to reproduce the behavior:
tuist generate
with project settings configuration targeting the generated xcconfig path.Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too