Compare Two Xcode Build Settings

I have a project in which I use two build settings mainly. Unfortunately, something went wrong today. One compiles and the other does not. How to compare two build settings in Xcode to find out what are the differences?

(For those who are interested, the error I get in one assembly,

jump to case label crosses initialization of 'const char* selectorName'

if you know what this means, I will be very grateful)

+3
source share
2 answers

You probably declare a variable inside the case without wrapping it all in parenthesis:

case foo:
    const char* selectorName;
    // ...
    break;

Must be:

case foo: {
    const char* selectorName;
    // ...
    break;
}
+3
source

The configuration of the project is stored in the directory (package):

YourAppName.xcodeproj

cd . .plist:

project.pbxproj username.pbxuser

diff . , , . , ? - ? , , {}?

+6

Source: https://habr.com/ru/post/1746702/


All Articles