I do this with my app, which works (though I don't submit it to the Mac App Store):
codesign -s "Developer ID Application" RMStudio14.app jeff On Mar 24, 2014, at 11:26 AM, Tony Anecito <adanec...@yahoo.com> wrote: > Does anyone know how to codesign the jdk in the bundle created by JavaFX > deploy ant task properly? > I tried: > codesign -f -s "3rd Party Mac Developer Application: <Cert Name>" > name.app/Contents/Plugins/jdk1.8.0.jdk > > I get the error: name.app/Contents/Plugins/jdk1.8.0.jdk bundle format > unrecognized, invalid, or unsuitable > > I am wondering what was done with Ensemble to get past this issue. > > Thanks, > -Tony > > > > On Sunday, March 23, 2014 4:52 PM, Tony Anecito <adanec...@yahoo.com> wrote: > > Hi, > > I am using JavaFX deploy ant task and having issue trying to sign because of > jre embeded for Apple Store bundling. It is the last issue I have to fix then > I can finish my Apple Store submission. > > Apparently even the jdk for the bundle has to be signed. To do that I had to > redo permissions of jars and dylib files so the signing process would not > error. > > My jars for my own app jars are code signed already. I am using the Apple > find and codesign together so the jdk jre jars and dylib files get signed by > codesign. > > Still I get error when submitting final pkg (with its own signing > requirements) about invalid signature saying app not signed. > > I also discovered the JavaFX deploy lowercases my bundle id so it did not > match bundle id registered with iconnect. I fixed the pinfo file so it > matched. > > I would really like to see how this is all done with the ensemble app from > the JavaFX group. > > Regards, > -Tony