Вопрос

I am working on universal project(iPhone/iPad), in which the code that I used is same on iphone and ipad. The code is working well in iphone and not working in iPad.

It returns the following error.

dyld: Library not loaded: /System/Library/Frameworks/AssetsLibrary.framework/AssetsLibrary Referenced from: /Users/mac/Library/Application Support/iPhone Simulator/3.2/Applications/AFE91FFD-27A4-41A9-B5AF-C4336F10A9F3/Move On Inspirational Quotes.app/Move On Inspirational Quotes Reason: image not found

Can anyone please tell me how to solve this error.

Это было полезно?

Решение

As the AssetsLibrary framework is present only on iOS 4.0 and later, trying to run an application that uses it on earlier (i. e. 3.XX) iOSes will result in a crash. Either try eliminating the use of this framework from your application, or move on and support iOS 4.0 and later only.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top