<command line>:2:10: Macro name missing
Asked Answered
M

1

9

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.

Marchall answered 16/5, 2013 at 17:28 Comment(5)
do you have a line anywhere in your code that says "#import <built-in>" or "#include <built-in>" ?Haberdashery
@MichaelDautermann No I don't. I checked whole project.Marchall
I also have no idea what is <command line>Marchall
do you have any "Run Script" build phases?Haberdashery
@MichaelDautermann I see that error raises up on "Archiving Pods" stage. So, maybe one of the pods has some conflict.Marchall
M
28

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.

Marchall answered 16/5, 2013 at 19:3 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.