Skip to content

Undefined symbols for architecture i386:

August 21, 2013

This problem can occur under the following cases:

1. You forgot to include some Frameworks or static libraries in “Link Binary With Libraries” section of build phases tab.

2. You fail to include the .m files in Compile Sources section of build phases either in your Application project or in your own static library.

3.Build Active Architecture only setting is wrong are multiple values.

4. Using -all_load and  -force_load  sometimes causes this. I have not found the reason.

Image

Notes:

Build phases is a tab in your project’s target.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: