1

当我尝试在 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 上运行良好。我认为某些库丢失或在旧版本中不受支持。我应该怎么做才能解决这个问题?任何帮助将不胜感激。谢谢。

4

1 回答 1

0

CGPathCreateWithEllipseInRect在 iOS 4.3 上不可用。它是 iOS 5.0 中的新功能。

于 2013-03-23T06:32:15.050 回答