Child panes of Settings bundle don't sync with UserDefaults in tvOS

Originator:aleksandr.medvedev.epam
Number:rdar://FB8394332 Date Originated:August 14, 2020
Status:Open Resolved:
Product:tvOS Product Version:13.4.8 (17M61)
Classification:Incorrect/Unexpected Behavior Reproducible:Yes
 
Description:
When adding a child pane in settings bundle in a tvOS application, it is not get synced with UserDefaults values. Changing of the child pane’s settings items does not affect UserDefaults values, changing UserDefaults values are not reflected in the child settings items.

Environment:
Xcode Version: 11.5 (11E608C)
tvOS Version: 13.4.8 (17M61)
Apple TV Model: Apple TV HD 32 GB (A1625)

Steps to reproduce:
1) Start a new tvOS project in Xcode
2) Add a Settings bundle
3) Add a child settings pane with a few preference items
4) Build the application and navigate to the app settings page, then open the child setting pane
5) Try to change any values

Expected result:
Changed values are written into UserDefaults.standard

Actual result:
UserDefaults can’t see any changes made in the child Settings pane

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!