What can cause a “Symbol not found: _objc_setProperty_atomic” error when compiling for iOS 5.0?

I’m having a compiling error in IOS 5.
The error I get is:

wait_fences: failed to receive reply: 10004003
dyld: lazy symbol binding failed: Symbol not found: _objc_setProperty_atomic
Referenced from: /var/mobile/Applications/952C640B-8310-4028-AAE5-FD308D02B005/MorethanMusic.app/MorethanMusic
Expected in: /usr/lib/libobjc.A.dylib

dyld: Symbol not found: _objc_setProperty_atomic
Referenced from: /var/mobile/Applications/952C640B-8310-4028-AAE5-FD308D02B005/MorethanMusic.app/MorethanMusic
Expected in: /usr/lib/libobjc.A.dylib

How can I fix this error?

  • Programmatically switch to another tab AND switch to the first view controller?
  • how to play local video file?
  • Why .bounds] is not returning full screen size?
  • Rotating a CGImage
  • Custom Xcode IDE Plugin error: “Could not find class named…”
  • Why is my UIView not growing with CGAffineTransformMakeScale?
  • 2 Solutions Collect From Internet About “What can cause a “Symbol not found: _objc_setProperty_atomic” error when compiling for iOS 5.0?”

    Paul’s answer is only halfway there. After some searching, I found this thread, which suggested you make the deployment target the same for all subprojects:

    main project

    subproject

    It doesn’t matter what they are (at least for this problem), as long as they’re the same.
    This solved this precise error for me.

    Don’t forget to clean the GData Project’s DerivedData Folder before building.

    Set your Deployment target to iOS5 in your build settings.

    enter image description here