App Test not working on iPhone - iphone

I created an app and when i test it in the simulator it looks perfectly fine and works fine. When i try and test it on my iPhone it doesn't have some buttons and certain things aren't there. It seems to not have the newer stuff I've added to the app and is only loading the unfinished version.
I want to submit it but it wont load the finished version on my iPhone.
What could be the problem ?

I think you are using iPhone 4.0 or later and forgot to set retina images for it...

The problem has two possible causes:
Your image names might have been mis-spelled, case wise. If your image is named "IMAGE.png" and in the code, you load it as "image.png", it will show up on the simulator, but not on the device.
Sometimes, after adding new images and other resources, try cleaning your project and then build and run, if you can't see the new images.
Also, on the physical device, if all else fails, delete the app and then try rebuilding again.
Are you using the same bundle identifier to build multiple apps to your device? That might be an issue as well. Delete all those apps.

This may be because your iOS version of simulator & device may be different check in same ios in simulator which is in your device

Related

No 4inch support from Launch Image when doing Ad Hoc distribution

I'm using Xcode 4.6.3 and I'm sending the app to the client via Ad Hoc for testing and approval.
However, I've just updated the Launch Images and while it works fine when I run it from Xcode, and the 4-inch Launch image shows in the Target Summary, my client has shown me screenshots of the built app running in 3.5inch mode (which is definitely linked to a lack of a 4inch launch image). It's a little bit confusing really as I've named the file correctly (default-568h#2x.png) and it works on clean installs on both the Simulator and on my Test device.
I've also cleaned the project and project folder several times to no avail. I've checked the Copy Bundle Resources and the original default images aren't there and my new ones are (which is how it should be). I'm completely out of ideas, does anyone know why when it's being archived and distributed (I can't actually get the archived build onto my iPhone as my iTunes is not synced correctly with my phone) the launch image isn't being included thus forcing the app to run in 3.5inch mode?
Thanks,
Mike
It should be Default-568h#2x.png, just as the other default images are Default.png and Default#2x.png.
The reason that it works on the simulator and not on the device is the the simulator is not case sensitive, but the device is case sensitive, so you need to use the proper case for file names.

Getting Mulitiple App Icons on ios7 device

Im getting a strange bug on ios7 (iPhone5 device). I installed iPhone app using xcode5 on ios7
my problem is whenever I install my app on the device, I'm getting my app icons multiple
times with same name, I also tried for different apps through my system. I'm getting the same problem, even duplicate icon image not deleting from my device.
Any help will be appreciated.
I also have similar issue. the installation icon with a "download circle" is left behind. I have a workaround to delete this extra icon. Try to install the app again and when device is downloading the app, delete the icon!
I also observed that when I upload the same ipa on testflight, or use itune directly, it work without leaving another icon behind.
Any help?
I had a similar problem when downloading the app from server. The issue occurs when there is a conflict with the bundle identifier in your info.plist in your app bundle and the bundle identifier in the plist file on the server from which you download your ipa. If both the bundle identifier are of exact match, you will not run into this issue.
Have you made sure all the app icon dimensions are correct? I don't know if that would help at all. Another thing you should try is loading the app onto another iPhone that isn't yours to see if it is on your Computers side or just your phones problem.

iPhone Dev, 3G Testing Device Launch Failures After App Rename and Upgrade to XCode 4

I have an iPhone app in the app store that I wanted to rename and make universal. I have done all the work for the rename (renamed the PRODUCT_NAME, not the binary identifier) and adding iPad support. Everything was running great on my iPad 2 (4.3.3) and my iPhone 4G (4.3.3). Before I packaged it up, I ran a test on my iPhone 3G (3.0).
I cannot get my app to launch properly on the 3G. When the app launches, the launch screen is displayed as it should be. The screen then goes to black with the status bar on the very top, like it has loaded a black nib or something. There are no error codes whatsoever -- nothing in the console, nothing in a pop up. The application does not even reach the "applicationDidFinishLaunchingWithOptions" method of my appDelegate. The application doesn't crash, either. It just sits there like it's waiting on input from a user, but like I said the application hasn't even finished launching.
The only things that have changed since the last time I tested on the old 3G (which was the last time I updated my app) are the application rename and the upgrade to XCode 4 w/base SDK 4.3.
In my XCode Scheme drop down, it does say: iPhone (3.0, Overriding Base SDK to 4.3). I don't know if that is inadvertently causing this hangup? I am running Xcode 4 with base SDK 4.3. The target deployment is 3.0.
Has anyone encountered anything like this? I would appreciate all insight and advice to the situation. So far I have deleted the application from my device, clean/build Xcode, delete Xcode build folder, delete and reinstall all provisioning profiles, reboot of device and XCode numerous times.
Thanks,
Brandie
As far as I have been able to determine the BEST solution (not the easiest) is to make a new project with the new project name and copy your files. Changing the PRODUCT_NAME gave me wierd results and I said "forget it, let's do it by the book".
If there is an easier solution, I have yet to find it and, frankly, given it takes me about 30 minutes (I've changed the name of an app 4 times - mostly because of name length), it causes me the least amount of grief.

Push Notification in iPad not appear in Setting

I am working on push notification on iPad. My application is a universal application include iPhone and iPad. The iPhone push notification works well, the user receives push, the app name appears in the Setting -> Notifications
However, I have a small issue with the ipad version is that the app name does not appear in the list of Settings -> Notifications. I can still register for the device ID, the iPad does receive the push notification.
Does anyone know what can be a reason? I checked and be sure that both the registering code for both devices are exactly the same
Maybe this is obvious, but did you try to:
Restart the iPad?
Completely remove the App, create a clean build and run that build on the iPad?
Try to install on another iPad? Is the issue also present on the other iPad?
Reinstalling a clean build and restarting the device should do the trick with the majority of strange problems like this one. If this is not resolving your problem it's very important to test on another iPad or completely reset your iPad.
This way you can see if there is something wrong in the iOS install itself. It sounds like this is the case, because push is working and the iPhone version is working fine.
By testing on another iPad you could determine if the problem is in your code/App or in iOS.
Is your iPad updated to the latest version?
Follow the steps mentioned below.
http://ipad.about.com/od/iPad_Guide/ss/How-To-Turn-Off-Push-Notifications-On-The-Ipad.htm
Are you sure you are registering your app at launch time?
I had a similar issue where I removed - (void)registerForRemoteNotificationTypes by accident.
All the devices on which I had the application before removing that line still had the settings, but the new one didn't register to push hence not being registered in Settings.

XIB actualization problem

I'm facing a weird problem dealing with Xcode. When I run my project using simulator I got the correct xib showing, but when I select my iPhone as target, it shows an older version of that xib... I'm going crazy with this, I have tried to clean targets, deleting and reinstalling the app on iphone, :^S
Please could anybody help me with this issue?
Thanks a lot and sorry for my english.
When Xcode installs development builds of iOS apps on the simulator and on the device, it copies all files from the .app bundle into the target directory for the app in the simulator or on the device. However, it does not remove old files. This can sometimes cause strange effects.
For example:
You have MyView~ipad.xib and MyView.xib for iPhone, you install the app and run it on the device, now you decide to delete the MyView~ipad.xib so that it will just use the MyView.xib same as iPhone, you test this in the simulator and it works fine but when you put it on the device again it still uses the old iPad xib file, but how when it's not even in the project any more? Well the old file still exists in the filesystem on the device until you actually delete the app off the device.
This can happen when you remove files from the project or rename them to something else, the old files will still be there and especially if you have fall-back beaviour or how iOS can look for other suffixes automatically like #2x or ~ipad - this can easily cause confusion. Check for this whenever you notice strange effects like old versions of files seem to resurrect themselves, or it works on one device but not the other.