App Settings Not Appearing with Xcode 16.2

I recently encountered an issue with Xcode 16.2 while attempting to integrate Settings.bundle into a new app. I added Settings.bundle as a new file (using the provided template), but when I ran the app (the default "Hello World" project), the expected three default controls (Name, Enabled, Slider) did not appear in the app's settings.

To troubleshoot, I downgraded my system to macOS Sonoma 14.7.2 and Xcode 15.4 (on a 2023 Mac Mini, M2). After this downgrade, everything worked as expected. With a new project, adding Settings.bundle, and running the app, the settings entry for the app appeared, including the three default fields.

This behavior suggests a potential issue or incompatibility with Xcode 16.2.

I create a project (just with template code) in SwiftUI .

  • I have the same problem when testing in iOS 18 simulator. Nothing shows in Settings in the Apps category.
  • Testing on iOS 17.4 simulator works OK.

There are definitely issues in iOS 18: https://forums.developer.apple.com/forums/thread/764519

I tried to remove some entry keys (Group), to no avail.

Another problem here.

If I create a project (just with template code) in SwiftUI with Xcode 16.2 (MacOS 14.7.2), and try to open with Xcode 15.3, it crashes at the opening of the project

Note: problem shows also for UIKit apps: settings show in iOS 18.1, but no setting, for any app, in iOS 18.2. As described here: https://developer.apple.com/forums/thread/748785

You should file a bug report.

App Settings Not Appearing with Xcode 16.2
 
 
Q