When I switch to build any target that is not the first target. The code editor does not recognize the target change.
So any code
#if <other target>
...
#endif
...is not recognized by appCode editor. When building, works as expected isolating code build for each target.
Setup: Target Configuration 'Other Swift Flags'
-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?