I'm using a method CGPathGetPathBoundingBox that is only available in iOS 4.0. I'm doing a check against NULL to see if it is available as suggested in Apple Docs but I'm getting the following runtime error:
dyld: lazy symbol binding failed: Symbol not found: \_CGPathGetPathBoundingBox
Referenced from: /Users/..

Expected in: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics

I set the Core Graphics framkework to type "weak", but to no affect. Same things happens on real device. When I step through in the debugger the if statement is always executed.

```
if (CGPathGetPathBoundingBox != NULL) {  
        self.smallBounds = CGPathGetPathBoundingBox(tempPath);
    }
    else {
        self.smallBounds = CGPathGetBoundingBox(tempPath);
    }

```