[iPhone SDK] Weird Error

Discussion in 'iOS Programming' started by Duke Leto, Jul 9, 2008.

  1. macrumors regular

    Joined:
    Mar 17, 2008
    #1
    So I am creating files with empty methods to prototype a new application. Thus, there is no 'real code', just the necessary delegate methods . Everything else is just comments in pseudo-code.

    Still, I get this error:

    [​IMG]

    I never even created a file with an extension of ".o"
     
  2. macrumors 68040

    Joined:
    Apr 22, 2005
    #2
    .o files are object code files that the compiler creates from your source code. Did you import all of the necessary header files to cover everything you have mentioned in your code so far?
     
  3. thread starter macrumors regular

    Joined:
    Mar 17, 2008
    #3
    Well I thought of something:

    Does an object need to be "connected"? This particular class has not yet been used by other classes nor does it use other classes. Its just two files.

    Other than that.. I think I have everything. What do I need to use CGRectZero other than UIKit.h?
     
  4. macrumors 6502

    Joined:
    Apr 28, 2008
    #4
    I've run into the exact same problem, created a post about it, and got an answer.

    You need to add a reference to CoreGraphics.framework to your project references.
     
  5. thread starter macrumors regular

    Joined:
    Mar 17, 2008

Share This Page