iPhone 4.0 build on iPad - iphone

I am currently developing a app with deployment target as iPhone 3.1 and base SDK as 4.0. I am not designing my app specially for iPad, many folks say that this will work on iPad as well.
So please let me know whether this is correct ?
if yes, what should be specified # iTunes connect for iPad and iPhone? should we specify anything special there for iPad ?

Yes, this will work, as AlvinfromDiaspar has said. I'm doing the exact same thing and here are my settings.
Be sure to "Edit Active Target" instead of "Edit Project Settings", as this makes a major impact on the final binary.
Also, be sure to set the "Targeted Device Family" to "iPhone" and not "iPhone/iPad" if you want to keep the application running as an iPhone app (with the 1x/2x button on the iPad).

Yeah, this'll work. Not sure what you mean though by specifying something special for iPad.
All you need to do when submitting is check the checkbox that says you've tested on iPad.
To test it yourself, use the Simulator 3.2 (this will test it on iPad simulator).
Good luck.

Related

Is it mandatory to submit iPad compatible app version

I am about to submit my iPhone app for review.
Was just going through the guidelines for approval on https://developer.apple.com/appstore/resources/approval/guidelines.html.
2.10 iPhone Apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolution
What does this mean?
I have not included any iPad feature so far.
Nor I have any graphics for iPad.
I am not intending to release it for iPad.
(not that I want to restrict it, but I never planned it, and I don't think its necessary as far as my app is concerned)
What should I do?
Is it mandatory to make it 'universal' app?
If yes, what should I ensure?
If no, what should I ensure to make sure 2.10 above is met as far as Apple requirements are concerned?
No. As the guidelines say, it must run at iPhone resolution and at 2X iPhone resolution. In other words, in iPad's compatibility mode.
What this means is that you should install your app on iPad and check there's nothing peculiar about it that might make it incompatible in that mode. What it means in practice is not to bother even doing that in most situations: you have to try really hard to make an iPhone app incompatible with iPad.
It is not mandatory to make it universal.
Try downloading and iphone only app and opening it up on an ipad.
It looks like this.
You just to make sure it launches and runs normally on an iPad

Force universal app to run iPhone version on iPad

I've had an iPhone product on iTunes for a while and have superseded it with a universal app which has been met with approval except from one customer who wants to run the iPhone version on his iPad as he preferred the larger inputs and working of the iPhone.
Is there any way to configure the app to run either as native iPad app or iPhone app on iPad at runtime? Seems an odd request but customer is quite insistant.
Thanks
/Fitto.
No way to do that, except making separates versions for iPhone and iPad.
Theoretically, you could have some setting that would load the iPhone storyboard on the iPad, but it would still display full screen, and not in compatibility mode, which is probably the way this particular user wants it
Assuming you are running some sort of source control, you could change the project to be "iPhone Only" and then test on the iPad, then later revert the changes made to make it a Universal app again

Submitting iPhone app with 2x on Ipad

How should i submit my iPhone app so that it is also available for downloads on iPad but with 2x thing on it.
I need some configuration settings...
Architectures: Standard/Optimized?
Valid Architectures: armv6 armv7....?
Targeted Device Family: ?
iOS Deployment Target: ?
Please also mention any other settings i've missed here.
Thanks a Lot
Use iPhone/iPad for targeted device family, Standard (armv6/armv7) as architectures. Deployment target depends on the oldest iOS version you intend to support. I'd set it to 4.0 or 4.2 for new projects, but you could also use 3.2 (or even 3.0) if you're careful to use newer APIs only when they're available.
You don't need to do anything to do this, just submit the App as iPhone App and Apple will do the rest. Make you sure that in your build settings you have selected "iPhone" for "Target Device family".
If you have an iPhone app and you want it to be presented in the iPhone size when run on the iPad where the iPad presents the user with a 2x option to make the iPhone app take up the full size of the iPad screen then you need to set your "Targeted Device Family" to iPhone in Xcode 4.2 under your project - build settings screen. -rrh

apple has rejected my iPhone app saying it must run on iPad as well

I've just submitted my app to review (for the App-Store), and apple has rejected my app, saying the following:
"On iPad, the application displays a
black screen and no content loads.
This review was conducted on iPad
running iOS 3.2.2 as well as iPhone 4
running iOS 4.1. A screenshot has been
attached for your reference. "
am i obligated to create an iPad version of my app? or maybe i've set some property "on" and made apple think i would like the app to work on iPad?
to be more clear,
i want my app to run on iPhone only.
is it possible? and if do, what need to be set (project properties? info.plist?) to mention that the app should run on iPhone only? so that apple will not test it on iPad...
appriciate your help.
Dror.
Note - this historic QA is 5+ years old.
All issues mentioned in the QA are no longer relevant in iOS development! Enjoy
The problem is almost certainly that you (accidentally) made the app universal.
IF you made it universal, you MUST have both an iPad and iPhone version in there.
If you make the app normal, iPhone only, you do NOT have to (indeed, you can't) have an iPad version in there.
To be clear, Apple are talking about the "ACTUAL" iPad version. Of course, your iPhone app will run using the "blow up mode" on an iPad. Apple are not referring to the "blow up mode."
It is rather silly that in that particular form letter, they do not say something like: ,"You have almost certainly accidentally made your app universal instead of iPhone only" since that is the situation 100% of the time when that happens.
Good luck on waiting another 2 weeks :-/
You do not have to create a specific version of your app for the iPad, however all iPhone apps must also be able to run on the iPad. You might want to try searching google for resources on how to make your app iPad compatible.

How to keep iPhone app out of iPad store?

I have an iPhone app that I have started to turn into a universal app, however the process is not complete and I want to release an update to the iPhone version.
I know that you can specify device capabilities in the Info.plist file to restrict your app to certain devices, but how can I do this to prevent the unfinished universal version from appearing in the iPad store?
Is checking the LSRequiresiPhoneOS BOOL entry (in the Info.plist file) enough?
Thanks!
I'd consider restriction to iPhone very bad decision - the iPad is designed to run all iPhone apps in compatibilty mode (except for obvious things like telephony). So you will run into severe complaints.
If it is about the half-done enhancements for the iPad part, then just turn those features off and compile for iPhone (targeted device: only iPhone; maybe tweak the plist file, too).
You could use the UIRequiredDeviceCapabilities and specify that you require "telephony" in your info.plist. That would keep it off the iPad (and iPod touch too). See Device Support.
I found a setting under Project Settings -> Build that titled "Targeted Device Family." Maybe try setting this to just iPhone, not iPhone/iPad -- I think that should also help.