dyld: Library not loaded different behavior for 6.0 simulator/6.0 device dyld: Library not loaded different behavior for 6.0 simulator/6.0 device xcode xcode

dyld: Library not loaded different behavior for 6.0 simulator/6.0 device


If you're targeting iOS versions less than 6.0, you'll need to make AdSupport.framework, Social.framework, and Accounts.framework optionally-linked.

Please have a look at the attached screenshot.

Cheers!!!enter image description here


Solved my own problem: Set the frameworks that are giving you problems to "Optional" instead of "Required" by going to the project file Summary and scrolling down to Linked Frameworks and Libraries.


Same for CloudKit.framework on iOS 7 (it is for iOS8 only). Go to General > Linked Frameworks and Libraries, change CloudKit.framework to Optional.Thanks VSN.