Am trying to signing my app build with nwjs in Mac. https://github.com/nwjs/nw.js/wiki/MAS:-Signing-the-app
Following are the steps i tried. Out of 8 steps upto 7 worked for me. When i run the 8th command am getting "unsealed contents present in the bundle root" error message.
1. export IDENTITY= "*******"
2. export PARENT_PLIST=/path/to/parent.plist
3. export CHILD_PLIST=/path/to/child.plist
4. export APP_PATH=/path/to/yourapp/YourApp.app
5. codesign --deep -s $IDENTITY --entitlements $CHILD_PLIST $APP_PATH"/Contents/Frameworks/nwjs Helper.app"
6. codesign --deep -s $IDENTITY --entitlements $CHILD_PLIST $APP_PATH"/Contents/Frameworks/nwjs Helper EH.app"
7. codesign --deep -s $IDENTITY --entitlements $CHILD_PLIST $APP_PATH"/Contents/Frameworks/nwjs Helper NP.app"
8. codesign --deep -s $IDENTITY --entitlements $PARENT_PLIST $APP_PATH
Please see the screen shot for my file structure