Getting Unknown (to me) Error Message

Discussion in 'iOS Programming' started by matthew858, Oct 17, 2008.

  1. matthew858 macrumors member

    Joined:
    Apr 15, 2008
    Location:
    Sydney, Australia
    #1
    Whenever I debug my app in the simulator, I get an error which I don't know how to fix (NDA means I have to block out the name of the app).

    [​IMG]

    As you can see in the picture below, the error doesn't appear to be from any single line of code. This appears to be happening when I load my activity indicator, and when I state the cell size of a UITableView.
    [​IMG]

    It appears X-Code doesn't like CGRectangleZero. Is there any way to fix it?

    Thanks in advance!
     
  2. tyr2 macrumors 6502a

    tyr2

    Joined:
    May 6, 2006
    Location:
    Leeds, UK
    #2
    This has caused me to scratch my head in the past as well. What you need to do is include the CoreGraphics framework.

    Right click on the 'Frameworks' folder in your project, click Add/'Existing Frameworks' then find the GoreGraphics framework, which should be in the 'Library/Frameworks' folder of the SDK version you currently have active.
     

Share This Page