The -ObjC
flag is necessary because the iOS Agent defines categories with methods that can be called at runtime, and by default, these methods are not loaded by the linker. As a result, you'll get an "unrecognized selector" runtime exception. The use of -ObjC
ensures the methods will be loaded.
ADEUMInstrumentation.framework/ADEUMInstrumentation -> Versions/Current/ADEUMInstrumentation
ADEUMInstrumentation.framework/Versions/Current -> A