Frederick C. Lee
Frederick C. Lee

Reputation: 9503

Why doesn't my App list my Settings?

I've added the stock 'Settings.Bundle' into my App Bundle:

enter image description here

However, I get a different set of settings (shown in simulator): enter image description here

* Revision * The Settings.bundle is a member of the target: enter image description here

Here's where the settings.bundle is located: enter image description here

Note: I can see the new Settings after I do a 'reset' of the Simulator. However I don't see any change on the actual device, even after removing the app and doing a cold restart.

How do I get my DEVICE version to recognize the updated/new Settings bundle?

Upvotes: 4

Views: 4883

Answers (4)

Peter B. Kramer
Peter B. Kramer

Reputation: 16563

I was using CloudKit. The app appeared in the Settings app only after the app accessed CloudKit through:

[[CKContainer defaultContainer] accountStatusWithCompletionHandler:^(CKAccountStatus accountStatus, NSError *error) {

That makes sense. Try to use the function that requires some sort of permission suitable for inclusion in the Settings app

Upvotes: 0

Kannan Prasad
Kannan Prasad

Reputation: 1806

Issue fixed,after relaunching the settings app.

Upvotes: 3

Frederick C. Lee
Frederick C. Lee

Reputation: 9503

Both of Dan's suggestions were needed to be on the right track. However as with having to reset the simulator to get the Settings to function correctly, I had to:

1) Remove the device app.
2) Do a cold restart of the device,
3) Re-install the revised-Setting application.

Once I did all that, I can see the revised Setting changes.

Upvotes: 1

Dan Loughney
Dan Loughney

Reputation: 4677

Two requirements are:

  • Settings.bundle must be included in your target

enter image description here

  • Settings.bundle should be in the root of your app folder/bundle

Upvotes: 5

Related Questions