Symbol(s) not found for architecture i386

REDONDO Julien's Avatar


19 Jul, 2012 10:06 PM


I have a problem when i compile my project with your library

The error message is :

Undefined symbols for architecture i386:
"OBJC_CLASS$_Countly", referenced from:

  objc-class-ref in org_nt_taxesejourAppDelegate.o

ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

"OBJC_CLASS$_Countly", referenced from:

  objc-class-ref in org_nt_taxesejourAppDelegate.o

ld: symbol(s) not found for architecture i386

Why ?
How can i do to solve this problem ?


  1. 1 Posted by Atılım on 22 Jul, 2012 07:25 PM

    Atılım's Avatar


    If you add Countly.m and Countly_OpenUDID.m to your project, then there is a possibility that these to .m files is not added at "Build Phases" tab.

    1. Select your project
    2. Select "Build Phases" tab
    3. Select "Compile Sources"
    4. Add Countly.m and Countly_OpenUDID.m under "Compile Sources"

    Hope this helps

  2. 2 Posted by REDONDO Julien on 22 Jul, 2012 09:16 PM

    REDONDO Julien's Avatar


    Now, i have some others problems : 12

    And what can i do to solve these problems ?


  3. 3 Posted by Atılım on 24 Jul, 2012 06:54 PM

    Atılım's Avatar


    You should compile Countly.m and Countly_OpenUDID.m as the classic non-ARC retain/release model as described here:

  4. 4 Posted by Gorkem on 26 Jul, 2012 07:24 PM

    Gorkem's Avatar

    Have you managed to solve your issues? Let us know if the problem persists :)

  5. 5 Posted by Redondo julien on 27 Jul, 2012 06:07 AM

    Redondo julien's Avatar

    No this problem is not resolved
    I have always the same error

    What can i do for solve this problem???

    Tank for your response

  6. 6 Posted by Gorkem on 27 Jul, 2012 06:10 AM

    Gorkem's Avatar

    Did you try what Atilim has written in his previous post?

  7. 7 Posted by REDONDO Julien on 27 Jul, 2012 07:22 AM

    REDONDO Julien's Avatar

    Yes, i tried.
    But this solution doesn't work.
    I have always the same error, 12 errors like before.

    Thanks a lot

  8. 8 Posted by Gorkem on 03 Aug, 2012 08:50 AM

    Gorkem's Avatar

    Could you please try searching on the web with the words or phrases you see on the user interface? We couldn't replicate this issue, and suspect that it's a configuration problem.


  9. 9 Posted by REDONDO Julien on 03 Aug, 2012 09:17 AM

    REDONDO Julien's Avatar


    Yes my problem is ok now.

    In the capture here,, yhe compiler flag is -fnoobjc-arg

    Or, it's wrong.

    In this case, the good compiler flag is -fno-objc-arc

    Now it's good and the application compiles.

    Thank for your help

  10. Onur closed this discussion on 04 Aug, 2012 05:24 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

27 Sep, 2016 12:51 AM
26 Sep, 2016 08:34 AM
24 Sep, 2016 09:13 AM
31 Aug, 2016 08:36 AM
22 Aug, 2016 02:18 PM


16 Aug, 2016 02:57 PM
03 Aug, 2016 06:53 PM
19 Jul, 2016 02:36 PM
14 Jul, 2016 07:00 AM
13 Jul, 2016 10:05 AM
12 Jul, 2016 07:46 PM