xcode 5, cant submit app. Unable to authenticate package - iphone

I have been working on an update to an app I already have in the app store. All I have done is added some extra view controllers in another storyboard. (I already have a few storyboards in my app and have always added them without any issues). Everything compiles and runs fine (both in the simulator and on a device) but when I go to submit to the app store it fails validation saying that it cannot find "MainStorybaord_iPhone~iphone.storyboardc"... which to me doesn't even make sense since its not even an iPhone app... It's an iPad App... Is there some new requirement that we have to include an iPhone storyboard even for iPad Apps? Any help would be appreciated.. Thanks.

Remove the storyboard from the plist file if you use iPad
<key>UIMainStoryboardFile</key>
<string>Main</string>
or if you use iPhone
<key>UIMainStoryboardFile~ipad</key>
<string>Main</string>

Related

convert an ipad app to iphone app with custom views

This might be a repeat question.But i have a problem. I have an iPad app functional. The app is built in iOS 6. When i started building it i chose iPad as targeted device NOT universal. Now my client has asked for an iPhone version of it.In my iPad app i keep adding custom views as the client clicks "Add More".I add a custom view which is bunch of textfields, buttons etc.So i copied my iPad app and changed the Targeted device family to iPhone once and also Universal next time and tested it. So when i launch the app in iPhone configuration (keeping the targeted device family as Universal) my view controller stays like that on iPad. I cannot scroll the app also(not up/down..nor sideways). Is this the correct way to convert iPad app to iPhone app . Also everything is still with scale to iPad. Should i start a new project and start everything from scratch.Set the storyboard to fit according to iPhone configuration? In my research people said just change the targeted device family to Universal. But it doesn't work. Please let me know if you need more information. Thanks.
It is possible to convert the current project you have to an app that can be used universally, but it would take more time than simply just creating a new project that allows universal usage, and adding in the files of which you used for your iPad project.
Hint: You can use more than one storyboard when the project was created universally. It will automatically set this up for you.
I would also advise that you separate your files into what works universally, and what is specific for the iPhone or the iPad.
Happy Coding!
After many search i found that it possible to have an application for both Iphone and ipad devices.but in your code you should define unique ui for each device(two xib file).

iPhone showing iPad xib in Universal app with separate xibs for each

Ok, this one is WEIRD. I wrote an app more than a year ago and it's been in the App Store and humming along nicely without any real problems. It's a Universal app and I've got a xib for iPhone and a xib for iPad.
Today I got an email from a user saying the UI was no good so I asked for a screenshot. The screenshot shows the iPad xib being displayed with my iPhone tab bar controller. O.o I've never seen this before and we have tens of thousands of users who are using the app just fine. The iPhone users see the iPhone xib and the iPad users see the iPad xib.
What the heck could have even happened here? I've asked her to delete and reinstall the app because it's the only thing I can think of... but how does this happen when everyone else's apps are working just fine?
This is what she is seeing:
This is what she should see on the iPhone interface:
This is the iPad interface that is being jammed into the iPhone ui:

Change app to only iPhone deployment

Im using Xcode 4.1 lion release. My app was rejected because it only works on the iPhone, this is how it should be, but i guess i didnt set my app up so it only works on the iPhone. How would i do so?
I go to Targeted Device Family under my project build settings and i have iPhone selected.
`
What else do i need to do. Thanks
EDIT: During the app review it was still set up under device family as iPhone
Remove and iPad xib files that were created initially. By default Xcode makes an iPad folder when you select the universal build, remove that and you should be good. Other considerations might be to remove iPad launch images if they are present, or any iPad specific code like popover view controllers etc.

Simulator flips to iPhone

I created my first universal app by using the universal app template.
I set up xib files and main view controllers for both iPhone and iPad and the iPhone version runs fine.
Yet even though I change the simulator hardware to iPad/3.2 when I test, the simulator changes back to the iPhone.
Please help.
Dan
I found that if I change the targeted device in the project settings from iPhone/iPad to iPad, I can test. I'll have to change it back when I'm ready to release the product. Who knows if it will work.
Side issue: I found that the new imageWithCGImage:scale:orientation is not supported in 3.2. I have to branch upon the interface idiom.

iPhone app not working properly in iPad

Anybody have problem with their existing app not working in the iPad simulator?
I have a iPhone app which is a navigation-based app with tab bar and multiple tableviews -- and none of the table is showing up.
Basically, what is expected -- a long rows of table. In iPad, nothing.
Any ideas?
If you can point to specific items which aren't working it might help in this case. I think your question is to broad. Is anything working at all for the iPad version of the app just perhaps oriented strangely?
How did you upgrade your iPhone app to iPad? Did you use the "Upgrade target to iPad" feature built into XCode or did you create a new project file altogether? Some other method?