Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

matthew858

macrumors member
Original poster
Apr 15, 2008
97
0
Sydney, Australia
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).

20081017-qjfx6fktdxyihk1se1yt2pxhen.jpg


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.
20081017-cqj3gpsxwpbekun4kpinehg1qp.jpg


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

Thanks in advance!
 
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.