Photo by Kari Shea on Unsplash

iOS Notes 49 : Apple Mach-O Linker Warning Problem [Deleted Pods Problem]

Kuray Ogun
FreakyCoder Software Blog

--

Updated: Dec 23, 2020

After you deleted a pods from your project, sometimes XCode gives an error like “Apple Mach-O Linker Warning”.

What should I do?

Firstly, you need to check these flags and paths.

  • Framework Search Paths
  • Other Linker Flags
  • Custom Compiler Flags
Framwork Search Paths, Other Linker Flags and Custom Compiler Flags

Select your project into Targets, then click Build Settings.

Fortunately, there is a perfect way to find all of these things into one place. Use “Filter” option and all you need to do is write your already deleted pod’s name. Everything will be show up. You need to delete them carefully!

Copy Bundle Resources

Sometimes pods did not removed itself from copy bundle resources. You’d better to check it in here tho :)

After you’ve done these steps, try to Clean and Build your project.

Ta-daa! If you have any question, ask me :)

--

--