- Home /
Unity&Xcode libjpeg version mismatch
Now I have a project using Unity and Xcode.But when I want to show jpeg there is a error "Wrong JPEG library version: library is 90, caller expects 62" my Xcode use the latest opencv the libjpeg version is 9.0 But I can not find the unity's libjpeg and can not update it to match opencv's libjpeg! So where is the libjpeg unity used!!!!!!!!! Thanks in advance!
Answer by LightBuzz · Aug 15, 2018 at 01:14 PM
To work around this issue, you need to recompile libjpeg for iOS and change the exposed headers and function names.
Alternatively, you could download our Super Fast JPEG plugin from the Asset Store: http://u3d.as/1fxN
The JPEG plugin is based on libjpeg and libjpeg-turbo.
It's faster than Unity's EncodeToJPG() and can also run in background threads.
Your answer
Follow this Question
Related Questions
Unity Xcode - Apple Mech-O Linker Error 1 Answer
App Store size almost 15 times more then iPA 0 Answers
Create "Notification Service Extension" from post build script 2 Answers
IOS Build settings IL2CPP disabled, Xcode error "Undefined symbol: _UnityPluginUnload" 1 Answer
Unity XCode build linker error 0 Answers