CoreImage iOS 4.3.3 Crash

Guys, I have an iOS app that runs on ios5.0, but in 4.3.3 it crashes and writes to the console:

dyld: Library not loaded: /System/Library/Frameworks/CoreImage.framework/CoreImage Referenced from: /Users/IvanTrufanov/Library/Application Support/iPhone Simulator/4.3.2/Applications/99C63A08-CC3E-49B7-A27D-1352D61C7C4F/habr.app/habr Reason: image not found 

Do you have any ideas? What could be the reason?

0
source share
2 answers

As others have noted, CoreImage requires iOS 5+. But you can still use CoreImage in applications that support iOS 4.3 and below, poor communication with the framework.

To do this, go to the steps of building the project, find the link "CoreImage.framework" and change the optional / required flag to optional.

Of course, the CoreImage API will not be available until iOS 5, so you will need to check the OS version before making any calls in the infrastructure. You can find the following macros: fooobar.com/questions/8514 / ...

+1
source

Source: https://habr.com/ru/post/1399344/


All Articles