This repository was archived by the owner on Jul 27, 2019. It is now read-only.

Description
Hi,
Using the flag all_load is causing on my project this error: duplicate symbol '_main'.
Would it be possible to replace all_load by force_load which seems to be less invasive and more granular?
Also it's a little uncertain to me why this flag is necessary. According what I have read, it exists to workaround this problem that was already resolved:
For 64-bit and iPhone OS applications, there is a linker bug that prevents -ObjC from loading objects files from static libraries that contain only categories and no classes. The workaround is to use the -all_load or -force_load flags. -all_load forces the linker to load all object files from every archive it sees, even those without Objective-C code