Submit IOS App to App Store rejected because of iPad crash / SwiftUI - swift

Im trying to submit an app to the App Store that I originally planned on only supporting with the Iphone. However, I found out that Apple requires apps to be run on iPad as well. I have clicked iPad in the general deployment info but is it possible for the iPad app to be just a mini version of what is seen on the iPhone. When I run the current code on an iPad simulator, it fills up the full screen and treats it like any other device. I don't want it to do that and just have an iPhone 1x/2x zoom size frame which I've seen other iPhone primary apps do. Is this possible in SwiftUI? Thanks for all your help.
I've also unchecked requires full screen on the App Store.

Simply do not check iPad in general deployment and your app should run as an iPhone app with the x1/x1 zoom option.

Related

How do I get an iPhone app that works really well as is on the iPad listed for iPad on the iTunes store?

From the Apple iOS App Store Review Guidelines (https://developer.apple.com/app-store/review/guidelines/):
2.10 iPhone Apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolution
My app works perfectly when set up for iPhone on both iPhone and iPad. If I set the app to universal or iPad as is, it has problems. Is there a way to get it listed as an iPad app as is? Or do I have to make up a separate iPad version?
If you want to use the app for ipad, you need to make your app Universal. As you said if you set it for only iphone it works properly in both ipad and iphone but you will be seeing your iphone app in your ipad, its not an ipad app. The only issue you will be facing is, when you launch your app with only iphone version it will be only available in iphone appstore. If you try to search in ipad appstore you will not be able to see your app,unless you change the option to iphone only(after searching in appstore you will be seeing ipad only or iphone only options on top left corner of appstore).
So if you want your app to be listed in ipad appstore then you need
to make it Universal there is no other option and you need make your
app compatible with ipad.
Let me know if you have any doubts.

Is developing an ipad app mandatory?

I was reading appstore review guideline and I am little confused on this lines:
iPhone Apps must also run on iPad without modification, at iPhone resolution, and at 2X iPhone 3GS resolution
What does that mean? I have to develop for both iphone and ipad? I want to develop apps just for iphone for now...
It means that your apps should also run on iPad, but you don't have to develop iPad apps.
Just test it on iPad simulator, if it works it should be fine
The key phrase is "at iPhone resolution". In other words, the iPhone app must run successfully in iPhone emulation mode on the iPad. Just about every iPhone app will do that automatically, but they are just making sure that you've made sure.
Looks like new iOS apps might need to run on both.
Although just being able run instead of optimized for iPad is probably good enough.
Duplicate of:
Does all new apps have also to work on iPad to pass the appstore approval process?

XCode 4.5.2 why can I run apps built for iPhone on an iPad?

I've recently upgraded to xCode 4.5.2 and attempted to resubmit an app to the app store. The apple minion has run my app on an iPad and it does not work. So the app got rejected.
I tried it again and again, and the only way I can make it fail is if I run it on an iPad. My question is: Why can I run the app that is intended for an iPhone on an iPad if I use xCode?
There's not storyboard file for iPad
The targetted device family is iPhone
There isn't even an icon file for iPad, so it just shows trimmed
launch image on the iPad's home screen
I cannot see the app that I published if I search for it on the app
store if I use iPad
The bug that I'm running into involves treading and core data. Is my data model compiled for iPhone only, and not for iPad?

Binary of IPhone in iPad?

I am new to iPad,I am having iPhone distribution build, can i upload to apple for iPad Device?Will it run? will it be accepted by Apple?otherwise i have to create new Ipad application for existing iphone application?
Practically all iPhone apps will run unmodified on the iPad. They will simply be scaled up pixel-by-pixel (with a little "2x" button so the user can choose scaled/unscaled mode).
For the best user experience, you should create a universal binary that provides customised behaviour for each platform, but this isn't required.
Any iPhone application, an application that has not been optimized for the iPad, will run on the iPad in 'compatibility mode', which means it will get its own iPhone-sized frame in the center of the iPad screen. The user also has the option to zoom in the application 2 times, so it takes up almost the entire iPad screen.
So if you want your app to run at all on the iPad, you don't have to do anything exciting, just submit it to Apple as usual, and iPad users will be able to download and use it.
If you want to optimize your application for the iPad, which is almost always preferred over 'compatibility mode', you can either make your current application into a Universal one, which is an app which contains both iPhone and iPad versions, in one binary, or you can create two different applications, one for the iPhone and one for the iPad. You can find more information on this on the Apple Developer website.

Adding an iPhone app binary to my current ipad app

I gave an app in the app store got ipad. I also made a app for the iPhone now.
What you guys suggest should I create a new app for the iPhone or is there way to add my iPhone binary to my current ipad app?
Thanks for your help.
There is no way to include the iPad and iPhone binary together. If you want to put them together, you'll need to create a universal application. You will have checks at run time that will determine whether or not your app is running on an iPad or iPhone, this will determine which set of ViewControllers your app will display.
There is a lot of information out there on creating universal apps.