This issue was addressed by enabling hardened runtime. This issue is fixed in iOS 16.2 and iPadOS 16.2, macOS Ventura 13.1, tvOS 16.2, watchOS 9.2. An app may be able to bypass Privacy preferences.
Published December 15, 2022.
Apple Tvos
Apple watchOS
Apple Ipados
Apple iPhone OS
Apple Macos