When I switch to build any target that is not the first target. The code editor does not recognize the target change.
#if <other target>
...
#endif
...is not recognized by appCode editor. When building, works as expected isolating code build for each target.
-D<other target>
In Xcode changing the build target changes what code the editor recognizes. Is there some other place to change this that I can't find? Is this a bug or a limitation?
This functionality is not implemented yet - please, watch this issue for further updates.