[Resolved] Build for iPhone also produces MainWindow-iPad.nib App Rejected

I have submitted my App twice to iTunes connect and have been twice rejected. Maybe you have seen this rejection message before:
“We found that your app does not comply with the Guidelines for Using Apple’s Trademarks and Copyrights as required by the App Store Review Guidelines.
Specifically, your app includes the use of “iPad” in the home screen elements (the short name and/or the application icons).”
Sifting through the 100+ files of my project I couldn’t find a single reference to “iPad”.

Only after viewing the contents of the Completed Build did I realize there is a file produced by the Build called MainWindow-iPad.nib

The Build was created with Corona Simulator Version 2012.870 (2012.8.1)

I specifically built by: Corona SDK Mainmenu > File > Build > IOS… >
Build for: Device
Supported Devices: iPhone only

How can I control Corona SDK not to produce this MainWindow-iPad.nib file while building for iPhone only.
[import]uid: 101897 topic_id: 29411 reply_id: 329411[/import]

Hmmmm, I’d be surprised if it was to do with a filename - the only time I’ve seen that is when files may conflict with Apple namespaces - there was a bit of a problem late last year I seem to remember that affected many third-party frameworks.

AFAIK MainWindow.nib is a common file for all iOS apps - not sure why you’ve got the IPad version as well, considering you’re only building an iPhone app - but can’t understand why that would trigger copyright issues during the certification process.

Have they provided any other information - and just to double check you’re absolutely sure there’s no mention of iPad in the app anywhere? [import]uid: 33275 topic_id: 29411 reply_id: 118157[/import]

Hey there, it actually sounds to me like the problem is that you have named your build something with the word “iPad” in it.

When you install the app on your phone/iPad does the name under the icon have “iPad” in it? That is what this error reads as to me.

I’d suggest manually setting the name in build.settings and then resubmitting. [import]uid: 52491 topic_id: 29411 reply_id: 118159[/import]

Quick reply Peach, way to go. There are no references to iPad any where in the App or the multitude of files included in the App. The Build name is AppName_iphone. I initially created this App for the iPad and now would like to produce an iPhone version. The Universal Build method won’t work either since the App graphics would be too small for the iPhone. Therefore I have 2 separate versions.

Question: Are there settings I can insert into the config.lua or build.settings files to prevent the creation of a MainWindow_iPad.nib ?

Lastly there were comments in several files referring to iPad but they were comments, notes to myself. I have removed them anyway.
[import]uid: 101897 topic_id: 29411 reply_id: 118164[/import]

No there isn’t any further info from Apple, I sent you the whole message. After the first rejection I discovered there was a missing iPhone Icon file. I assumed that was the source of the initial rejection. 1st rejection text is same as the second. Would be nice if Apple gave me more to go on than, read the Manual. [import]uid: 101897 topic_id: 29411 reply_id: 118167[/import]

You can always request additional information from the Apple reviewers about exactly why it has been rejected.

I really don’t think this is a file naming issue. Does your app have “iPhone” or “iPad” in the actual name, because as far as I know that’s a big no-no. The comment from Apple does seem to suggest that’s in the name and/or icon. [import]uid: 33275 topic_id: 29411 reply_id: 118175[/import]

Seriously, like I said above and as SegaBoy mentioned too it really, really is almost certainly your app either having “iPhone” or “iPad” in the name on the app store OR on the device under the icon. Did you check that as suggested? I’m 99.9% sure that is what Apple are saying to you. (Have seen this before.) [import]uid: 52491 topic_id: 29411 reply_id: 118459[/import]

Peach, you were 100% right. The problem or the confusion I had was, my App is for the iPhone. The error message from Apple referred to the iPad. I wrote Apple as you suggested for a more specific clarification for their rejection and their reply was " iPhone too". My App had iPhone in the name when I added the App to iTunes Connect. Strange that a Red Flag wasn’t thrown at that point, so to all listening, beware!!! Live and learn, thanks for your help Peach. :slight_smile: [import]uid: 101897 topic_id: 29411 reply_id: 118471[/import]

Yeah, that isn’t something you get a warning about - it’s like if you use an Apple image (logo, etc) in your app - that will also cause a problem.

You’re welcome RE the help, glad to hear it’s sorted!

Peach :slight_smile: [import]uid: 52491 topic_id: 29411 reply_id: 118633[/import]