Friday 20 February 2009

XCode - iPhone SDK - CoreGraphics Library issue

If you're creating an iPhone app and want to use the CoreGraphics framework (and you're having trouble finding it anywhere), it seems to be located in:

You can also try this (and check to make sure it's set as a target):

- expand Targets in Xcode
- double click on you app
- select general tab
- in the bottom left corner click "+"
- scroll through the list and select "CoreGraphics.framework"


If you're getting build errors that start with _GG, try:

1) XCode Menu: ->Project -> Edit Active Target
2) Select Build Tab
3) Find "Framework Search Paths" under Search Paths section
4) Double Click to Edit
5) Delete all lines.
6) Rebuild Project


This fix worked for me.

1 comment:

Alex said...

This saved me from the depths of frustration...Thanks!