codesign --force --verbose=9 -s "Developer ID Application: XXXXXXX" --options runtime --deep --entitlements ./entitlements Myapp.app
Don't you need to sign the bundle first before submitting it to the notarize service (I've never done this, but was just curious)?