In target CorePlotDemo Build Settings / Linking / Other Linker Flags add -ObjC