I see linker errors when I add the -ObjC linker flag. How can I fix this?

Many libraries like Parse fail to compile if you add the `-ObjC` to "Other Linker Flags" in Build Settings.  To workaround this issue, replace -ObjC and replace it with:

-force_load /LayerKit.embeddedframework/LayerKit.framework/Versions/A/LayerKit

Replace `<path_to>` with the path to LayerKit.embeddedframework.  A common path to LayerKit.embeddedframework is `$(SRCROOT)`.


Have more questions? Submit a request