App settings appear in simulator but not on device? - iphone

Hey folks, I'm setting up my first application settings bundle right now. I went through the process of creating a Settings.bundle in the project root, settings the Root.plist to display as an iPhone Settings plist, etc.
So – the app's settings panel displays in Settings.app just as I would expect in the iPhone Simulator. However, it is not present in my device settings when I deploy there. My test device is an iPod Touch running iOS4. I've rebooted the device just to make sure everything has reloaded... still nothing. Can anyone think of a reason that my settings panel would work in the Simulator but not on my Device?
Thanks for you help!

You may need to run your app at least once after installing your app before the app's setting will appear.
Not sure if a quit and restart of the Settings app (from the "multi-tasking" bar) might also be required.

I've experienced this myself - it usually happens when you mistype a key in the plist or if required keys are missing.

Related

Forgot to remove breakpoints before submitting app to App Store

I have uploaded an app with breakpoints to the app store. I forget to remove a breakpoint before uploading the app. Will the review team reject my app for this reason?
No. Break points are the settings of XCode (or other IDE) they are not included into ipa file.
Break points are set in the project environment, not in the binary. As such, breakpoint are only effective on your environment when a debugger is attached. You can verify this by running your app in the simulator without using the 'start' button of Xcode (just press on your app's icon in the simulator).
The breakpoints are project settings and are not compiled with the target archive, so it will not leave your machine.
Don't be worried. Your app won't be rejected. Breakpoints are used for internal purposes. No relation with App Store thing.
Cheers!

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.

3G iPhone Device "finished running" but app won't load

I'm trying to run an app on a 3G device. Xcode says that the app has "Finished running on the iPhone" but the app will not deploy. I think I have the architectures configured correctly (see image below)
any help would be great,
thanks
I figured this out finally. In the Info.plist there's a "Required device capabilities" setting that was set to armv7. I was aware of the armv6 and armv7 requirements in the target build settings for the 3G model but not in the plist. here's a screenshot. hope it helps anyone else stuck with something similar:
Your configuration looks fine. I’ve seen this before; removing the device from the Organizer (selecting it in the list on the left of the “Devices” tab and clicking the “Remove” button at the bottom of the main panel), restarting Xcode, and connecting it again seemed to fix the problem.
In my case, the architecture in the target properties was set to Standard (armv7). I had to add the armv6 architecture and it worked
Check "Required device capabilities" in settings.
I had problem with accelerometr set to OFF.
When I had remove this line, everything start working.
Same problem on 3G (iOS4) and 4GS (iOS5)
Each .xib file and core data model also has a deployment property. It's in the identity inspector. Changing it worked for me.
Make sure you have it setup like this in the target build settings, not just the project build settings.
Restarting the device usually fixes this one for me.
Under Build Settings at the top, you'll not a selection named 'Levels'. If you select this you may find that the Architecture and/or your Code Signing Identity is out of step with the settings that were showing under the 'Combined' setting. I had a case where an App was building successfully and simply not deploying on the phone. When I select "Levels" the values under my App target for these Build settings was incorrect. Once I set them here it deployed to the device fine.
Hope that helps.

Question regarding iPhone SDK Setting Bundle

Hey guys, I'm currently testing my app by adding the setting bundle into my program but the program I'm facing now is when I test my app on my device, I go to the Setting screen and I couldn't found the setting of my app. If I test it on the iPhone simulator then I can find the app's setting in setting menu.
May I know what happens? How can I see my app's setting on my device?
Have you tried removing and re-adding your app to the device? Also do a "Clean All" before doing this.

[iPhone]How to deploy a app with Application Preferences to real device

Every thing is OK in simulator but when I deploy my app to real device (jailbroken) I can't find app's Application Preferences in Setting or my iPhone!
What wrong?! Please help me!
I presume that you mean the settings bundle within the project. If it works in the simulator and not in the device there is a good chance that the problem is case sensitivity. Check that the name of the settings bundle is Settings.bundle