removing old Settings bundle on app update - iphone

I previously used the Settings bundle on in my iPhone app but am finding it an increasingly annoying overhead to my code and have decided to move all the settings to inside my app.
When I next issue an updated app is there a way to have the old Settings Bundle removed without having to somehow ask users to re-install?

Just to let you know, I have also removed the Settings bundle from my app (settings are now accessible in-app).
I too was wandering what would happen when users updated, as the app remains in the settings menu when developing.
I can confirm, however, that the app successfully disappears from the settings menu once it's updated from the App Store, without having to delete and reinstall.

Related

Why app's icon shows blank in iCloud settings?

I'm currently adding iCloud support for my app, but i noticed that in the iCloud -> manage storage settings my app's icon is missing. I've added the Icon-Small.png/Icon-Small-50.png plus their #2x versions in the xcode project in the "Resources" folder, then added their names in Info.plist but it still shows white.
What am i doing wrong?
Once you show up in Settings, a little like registering your device for push notifications, there's some caching happening. You should try resetting all settings and installing fresh. Also if it's a physical device, not the simulator, try to delete the app, set the date forward by over a day, install fresh, and it should bypass that cache.
Did you build the app, compile it, and added the icon very later on? This is usually a caché issue. The best way to go around this is to uninstall the app from your device and do a clean build.

iOS app icons updated, not showing on clean Build/Run

I'm prepping for my first update (1.0.1) on the AppStore and will be changing the icon in the process. I deleted the old 57x57 and 114x114 icons, dropped new ones into Xcode 4's target summary, and did a clean build/run. The new icons show up in Xcode, but not on the device's home screen.
I suspect if I delete the app and redo the above steps, this may work, but that leaves me to wonder if an AppStore distribution will update the icons for all users.
Is there something I'm forgetting to do to update the icon for this next release?
I was having this problem when replacing icons for an app, the new icons didn't show up on the iOS device, no matter how many times I did a clean/build. The solution for me was to reboot the device and the new icons were recognized.
I'm guessing this is a problem only in development, it is likely that the cached icon is refreshed when an app is installed or updated from the App Store.
The answer turned out to be that my new icons had slightly different names than the old. Strangely, Xcode never complained and still showed them next to the target and in the summary.
Lesson learned: When doing an app update (or "Appdate"), modified resources need to be of the same file name to be found. It seems replacing a resource with a different resource is not sufficient. Overwriting the old resource is the way to go.
It will update the icon for the user's when it's distributed. I had an app i released to the app store that I had gotten from Google Images and made into an icon. Long story short, I had to change my icon so it didn't look like another App's which had the same icon! If you change it in your Build Settings you'll be ok.
If you change your apple-touch-icon.png for both regular and retina in your Build Settings, it will update on the app store, and the end user's ultimately. Bottom line. It should've did it for yours, I don't know why it didn't?

How can I stop iTunes sync from removing one of my development apps?

I have a half-dozen apps installed on my iPhone via Xcode's Build and Run function, and they've always been unaffected by syncing the phone with iTunes. Now one of the apps has started disappearing from the iPhone every time I sync with iTunes. If I watch the sync progress at the top of the iTunes window, I can see the step where it says "Removing 'Appname'."
If I connect the iPhone and browse its sync settings, on the Apps tab, the app icon is visible on the home screen, but it does not appear in the "Sync Apps" list where I can check which apps to sync. Oddly, if I put the app into a folder, and iTunes removes it, and then I reinstall it from Xcode, it will go back into that same folder.
The only difference I can think of between this app and the others is that this was originally an iPad-only app, and then I changed it to an iPhone/iPad app. The app does work fine on the phone until iTunes removes it. I've confirmed that "iPhone/iPad" is selected for the Targeted Device Family setting for all configurations. I've also tried removing the development provisioning profile from the phone and reinstalling it.
Does anyone know why iTunes would be removing this app even though it leaves the others alone?
Drag and drop app build and provisioning profile into iTunes sync phone and see if issue is persistent. I think its because itunes cannot find your app in its App library.

iPhone Not Deleting the Settings

I have just installed the latest update to the iPhone.
I also have deleted my app from the iPhone and noticed that a previous install of my app has left the Settings bundle on my phone after I dis-installed the app. Now, I have a Settings bundle without the related app.
This should not be possible as the older version sandbox should have been cleaned up or deleted when I dis-installed the previous (older version ) of my app.
What's going on? How did this happen? What programmatically happen that could even allow the Settings bundle to persist?
In order to solve this situation, I did a full restore to the original factory settings and this eliminates the app Settings bundle that had no related app. Restoring your contacts, etc did not cause an issue.
Having said this, it still seems strange that you can un-install an app and have the settings bundle remain. But, it is a good design for their to be different sandboxes for different installs of the same app which keeps everything ring fenced.

Settings.bundle Not Appearing on Application Updates

I have an app that does not currently use a Setting.bundle to display setting in the iPhone Settings app.
I am releasing an update that does.
On a fresh install, the settings are added to the Setting App as expected, but upon updating from the old install, the bundle is not added.
Is there some sort of trick to get the Settings App to show my Settings.bundle?
It turns out a full clean did the trick. I think the bundle gets cached somehow and even on changes, Xcode doesn't recognize it changed sometimes.