possible alternate locations for ffmpegsumo.so in Mac CEF?

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

possible alternate locations for ffmpegsumo.so in Mac CEF?

Postby fernandomorgan » Fri Sep 19, 2014 12:17 pm

Still in the xcode6 saga, code signing in Yosemite with Xcode6 or Xcode6.1 fails with the error message of:

"unsealed contents present in the root directory of an embedded framework"

this is because CEF's framework requires Libraries at the root level - is it was possible to load it from a path relative to the actual framework binary?
fernandomorgan
Techie
 
Posts: 28
Joined: Tue Jan 14, 2014 5:51 pm

Re: possible alternate locations for ffmpegsumo.so in Mac CE

Postby fernandomorgan » Fri Sep 19, 2014 1:25 pm

update: It seems that a symbolic might work

ln -s "${BINARY_NAME}/Contents/Frameworks/Chromium Embedded Framework.framework/Versions/Current/Libraries" "${BINARY_NAME}/Contents/Frameworks/Chromium Embedded Framework.framework/Libraries"

and code signing it as part of the xcode6 build (actually, the command line, xcodebuild)
fernandomorgan
Techie
 
Posts: 28
Joined: Tue Jan 14, 2014 5:51 pm

Re: possible alternate locations for ffmpegsumo.so in Mac CE

Postby magreenblatt » Fri Sep 19, 2014 1:28 pm

See the call to InitializeMediaLibrary in libcef/renderer/content_renderer_client.cc. DIR_MEDIA_LIBS is set in content/common/content_paths.cc.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: possible alternate locations for ffmpegsumo.so in Mac CE

Postby magreenblatt » Fri Sep 19, 2014 1:31 pm

Note that Chromium managed to get code signing working without a versioned framework directory. The relevant commit is here. Unfortunately the associated bug is view restricted and I'm not familiar enough with the Chrome installer setup to translate this change into something useful for other people.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: possible alternate locations for ffmpegsumo.so in Mac CE

Postby fernandomorgan » Fri Sep 19, 2014 2:24 pm

thanks for both posts!

looking into Google's workaround for Gatekeeper 2, seems to be a better solution then what I am doing.
fernandomorgan
Techie
 
Posts: 28
Joined: Tue Jan 14, 2014 5:51 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 90 guests