Code Signing the CEF Mac

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.

Code Signing the CEF Mac

Postby kenster » Wed Apr 09, 2014 11:14 pm

Can anyone lend a hand code signing this project?

cef_binary_3.1650.1562_macosx32.7z

You can assume I've signed code before.

The error I get is;

cef_binary_3.1650.1562_macosx32/xcodebuild/Debug/cefclient.app: code object is not signed at all

Reading through another thread here I did place a Info.plist in the Resources directory inside "/Contents/Frameworks/Chromium Embedded Framework".

Thanks in advance, Kenster
kenster
Newbie
 
Posts: 4
Joined: Wed Apr 09, 2014 11:05 pm

Re: Code Signing the CEF Mac

Postby magreenblatt » Thu Apr 10, 2014 10:21 am

The CEF Framework structural issue with the 1650 branch distribution that makes it hard to sign on OS X 10.9 has been fixed in the 1750 branch. You might want to upgrade to that branch (builds available from http://cefbuilds.com).
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: Code Signing the CEF Mac

Postby kenster » Thu Apr 10, 2014 10:41 am

Thanks Marshall.
kenster
Newbie
 
Posts: 4
Joined: Wed Apr 09, 2014 11:05 pm

Re: Code Signing the CEF Mac

Postby kenster » Thu Jun 19, 2014 2:05 pm

Has anyone had any success code signing the sample project cef_binary_3.1916.1707_macosx32?

cef_binary_3.1916.1707_macosx32/xcodebuild/Debug/cefclient.app: code object is not signed at all In subcomponent: cef_binary_3.1916.1707_macosx32/xcodebuild/Debug/cefclient.app/Contents/Frameworks/Chromium Embedded Framework.framework
Command /usr/bin/codesign failed with exit code 1

Do I need to pull all the cef 3 framework code and sign it?

Thanks
kenster
Newbie
 
Posts: 4
Joined: Wed Apr 09, 2014 11:05 pm

Re: Code Signing the CEF Mac

Postby kenster » Thu Jun 19, 2014 3:32 pm

This was resolved by adding;

OTHER_CODE_SIGN_FLAGS = --deep

The info.plist was in the resources directory already for the CEF Framework folder.

Kenster
kenster
Newbie
 
Posts: 4
Joined: Wed Apr 09, 2014 11:05 pm

Re: Code Signing the CEF Mac

Postby grire974 » Mon Apr 13, 2015 5:54 pm

OTHER_CODE_SIGN_FLAGS was the clue that helped me. In Xcode 6 with Brackets-shell I just went to the 'Build Settings' tab for the 'Brackets' target and added the '--deep' flag to the existing 'Other Code Signing Flags' configuration. sweet as!
grire974
Newbie
 
Posts: 1
Joined: Mon Apr 13, 2015 5:50 pm

Re: Code Signing the CEF Mac

Postby michaeladamkatz » Thu Feb 09, 2017 7:47 pm

Thank you kenster and griere974. Adding the --deep flag in the project settings as described by grire worked for me.
michaeladamkatz
Mentor
 
Posts: 50
Joined: Wed Jan 09, 2013 5:10 pm


Return to Support Forum

Who is online

Users browsing this forum: Majestic-12 [Bot] and 56 guests

cron