Other Linker Flags -all_load and -ObjC
Sometimes you must add the "-all_load" and "-ObjC" flags to the "Other Linker Flags" key into the Project/Target "Build Settings" section.
But, what mean these flags??
Objective-C only generates one symbol to class, we will force the linker to load the members of the class using the -ObjC flag;
we will also force inclusion of all our objects from a static library by adding the -all_load linker flag.
If you not use these flags, you can obtain some errors like "unrecognized selector", "Unknown class myclass in Interface Builder file" or other strange exceptions.
That's all!
p.s. don't forget: import frameworks if you run into the error "Undefined symbol...". Google will help you.













