Generate DER when signing with entitlements to support pre macOS 12.0 watchOS builds.
Generate DER when signing with entitlements to support pre macOS 12.0 watchOS builds.

PiperOrigin-RevId: 416094144
(cherry picked from commit ca3fa899688837654f7d9c7f0e03bf91feb82fda)

bazelbuild/rules_apple,bazelbuild/rules_apple,bazelbuild/rules_apple,bazelbuild/rules_apple