What does -ObjC and -all_load mean?
The -ObjC Linker Flag
(https://developer.apple.com/library/mac/qa/qa1490/_index.html)
Passing the
-ObjC
option to the linker causes it to load all members of static libraries that implement any Objective-C class or category.-all_Load Linker Flag
(http://stackoverflow.com/questions/2906147/what-does-the-all-load-linker-flag-do)
-all_load forces the linker to load all object files from every archive it sees, even those without Objective-C code.
very helpful Rajneesh. Thanks
ReplyDelete