Search code examples
xcode4.6ios6.1

<command line>:2:10: Macro name missing


The project runs in Simulator and on the device, but when I try to archive it, I get pointless error messages:

<command line>:2:10: Macro name missing 
<command line>:3:9: Macro names must be identifiers

enter image description here

P.S. I would like to add more details, however I completly don't understand what can be a reason for that.


Solution

  • I checked my macro and found error.

    I added earlier RELEASE = 1 to release macros, but because I used spaces(as I do in code), it became 3 different macroses: RELEASE, =, 1.

    So I just fix that and error gone.