Page 1 of 1

icudtl.dat not found in bundle

PostPosted: Thu Jan 11, 2018 10:31 pm
by atsarenko
I want to use the library as embedded for Mac OS High Sierra , first I got an exception:
Code: Select all
Library not loaded: @rpath/Frameworks/Chromium Embedded Framework.framework/Chromium Embedded Framework
Reason: image not found


pacakge structure of the bundle:
path/jcef_build/native/Release
Code: Select all
Chromium Embedded Framework.framework jcef-tests.jar                        jcef_app.app                          org                                   widevinecdmadapter.plugin
jcef Helper.app                       jcef.jar                              libjcef.dylib                         tests


I fixed this in the following way:
Code: Select all
install_name_tool -change "@rpath/Frameworks/Chromium Embedded Framework.framework/Chromium Embedded Framework" "@loader_path/Chromium Embedded Framework.framework/Chromium Embedded Framework" libjcef.dylib

install_name_tool -change "@executable_path/Chromium Embedded Framework.framework/Chromium Embedded Framework" "@executable_path/Chromium Embedded Framework.framework/Chromium Embedded Framework" "jcef Helper.app/Contents/MacOS/jcef Helper"


but now I got the following error:
Code: Select all
[0112/050338.677046:ERROR:icu_util.cc(138)] icudtl.dat not found in bundle
[0112/050338.678305:ERROR:icu_util.cc(174)] Invalid file descriptor to ICU data received.


how to fix it ?

p.s. in Mac OS High Sierra does not work jcef_app.app
Code: Select all
 MainFrame quit unexpectedly

Re: icudtl.dat not found in bundle

PostPosted: Wed Jan 24, 2018 4:53 pm
by Czarek