Linker command error: 'ld: symbol(s) not found for architecture i386' Linker command error: 'ld: symbol(s) not found for architecture i386' ios ios

Linker command error: 'ld: symbol(s) not found for architecture i386'


Try these steps:

  1. Open your project in XCode.

  2. In left side window/panel of XCode click on your project name on top.

  3. Now select Target from right side panel of XCode.

  4. Select Build Phases from right panel's top. (here other option will be Build Settings, Build Rules)

  5. In the same panel open the "Compile sources", here check: are all the files (.m) listed? if not all files click on (+) sign in bottom to add (.m) files which is not in list

  6. As per your error it seems RssXmlParser not there, add this and compile again

It will work fine now.


don't see anybody suggesting to go to terminal and go to the directory where the project is and run

xcodebuild -verbose

to see detailed error and just reading the error helps a lot of the time


I realized I had to use the .xcworkspace file instead of the .xcodeproj file.