Adding the “-ObjC” Linker Flag

  1. Select the project file from the project navigator on the far left side of the window.
  2. Select the target for where you want to add the linker flag.
  3. Select the “Build Settings” tab
  4. Choose “All” to show all Build Settings.
  5. Scroll down to the “Linking” section, and double-click to the right of where it says “Other Linking Flags”.
  6. A box will appear, Click on the “+” button to add a new linker flag.
  7. Type “-ObjC” (no quotes) and press enter.

ObjC Linker Flag