iOS - 懒惰符号绑定失败

时间:2012-11-27 19:58:34

标签: ios

我在iOS 5.1设备/模拟器上发生此错误。在iOS 5.0和6.0上,它没有发生。它发生在这一行之后:

[(MyAppAppDelegate *)[UIApplication sharedApplication].delegate callFullScreenView:viewController.view];

由于某种原因,它无法访问callFullScreenView并触发此错误:

dyld: lazy symbol binding failed: Symbol not found: _objc_setProperty_nonatomic
  Referenced from: /var/mobile/Applications/86A386A7-C779-4E3C-9FA2-894B33D22806/MyApp.app/MyApp
  Expected in: /usr/lib/libobjc.A.dylib

dyld: Symbol not found: _objc_setProperty_nonatomic
  Referenced from: /var/mobile/Applications/86A386A7-C779-4E3C-9FA2-894B33D22806/MyApp.app/MyApp
  Expected in: /usr/lib/libobjc.A.dylib

有什么想法吗?

问候!

1 个答案:

答案 0 :(得分:2)

我已经多次出现此错误....如果您遇到此错误,请将部署目标设置为4.3。默认情况下,最新版本为6。

仅供参考:这是重复:

ARC is working in iOS 6 but not work in iOS5.1