Jani
Jani

Reputation: 1490

dyld: lazy symbol binding failed: Symbol not found: _objc_loadWeak

Im currently working on an iPad application that is ARC enabled. The application works fine on iOS versions 5.0 , 5.1 and 6.0 but crashes with the error on iOS 4.3 ..

dyld: lazy symbol binding failed: Symbol not found: _objc_loadWeak

I thought it could be something related to AFNetworking as the crash happens just after a network request so I downgraded my version to 0.10.1.2 but still I seem to get the error.

Any help would be much appreciated.

Upvotes: 3

Views: 1921

Answers (1)

justin
justin

Reputation: 104698

iOS 4 does not fully support ARC; It supports "ARCLite". In this case, Zeroing Weak References are not available in iOS 4.3.

So the immediate solutions are:

  • avoid __weak and its relatives
  • or drop iOS4.3
  • or move the relevant bits of your implementation over to MRC

Reference: Objective-C Feature Availability Index

Upvotes: 2

Related Questions