dyld:懒符号绑定失败:未找到符号:

时间:2013-03-18 12:38:45

标签: ios4 dyld

当我尝试在iOS 4.3 Simulator中运行我的项目时,它会抛出以下异常:

dyld: lazy symbol binding failed: Symbol not found: _CGPathCreateWithEllipseInRect
  Referenced from: /Users/macintosh/Library/Application Support/iPhone Simulator/4.3.2/Applications/FCBB8196-9F46-4F4E-BFB3-C28D0AAEC74F/Tick.app/Tick
  Expected in: /Users/macintosh/Desktop/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics

dyld: Symbol not found: _CGPathCreateWithEllipseInRect
  Referenced from: /Users/macintosh/Library/Application Support/iPhone Simulator/4.3.2/Applications/FCBB8196-9F46-4F4E-BFB3-C28D0AAEC74F/Tick.app/Tick
  Expected in: /Users/macintosh/Desktop/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics

我已将目标设定为ios 4.3。我的项目在ios 5和6上运行正常。我认为某些库已丢失或旧版本不支持。我该怎么做才能解决这个问题?任何帮助将不胜感激。感谢。

1 个答案:

答案 0 :(得分:0)

iOS 4.3上不提供

CGPathCreateWithEllipseInRect。它是iOS 5.0中的新功能。