Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 4.5 error on IOS 5

I installed the GM version of xcode and i started to receive this error when i try to install my app on IOS 5 . The app works fine on IOS 6. Could someone please tell me what could be the problem ? I included the libobjc.A.dylib library and i get the same .

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

Referenced from: /var/mobile/Applications/8BCAAF22-5857-427D-9FDA-48D369CF3DD8/FlipBookApp.app/FlipBookApp Expected in: /usr/lib/libobjc.A.dylib

dyld: Symbol not found: _objc_setProperty_atomic_copy Referenced from: /var/mobile/Applications/8BCAAF22-5857-427D-9FDA-48D369CF3DD8/FlipBookApp.app/FlipBookApp Expected in: /usr/lib/libobjc.A.dylib

like image 797
flaviusilaghi Avatar asked Sep 13 '12 10:09

flaviusilaghi


2 Answers

In GData project -> Build settings -> change "iOS deployment target" to 5.1

like image 200
Eyal Avatar answered Oct 12 '22 03:10

Eyal


The "iOS deployment target" value of your added static library must less than or equal your project's.

like image 24
Jim Liu Avatar answered Oct 12 '22 04:10

Jim Liu