HI.
My name is Aderval, and I am testing the NuclIOS component. So far I am very glad with it, with just one or two issues that I was planning to submit to the support team, but maybe it is just a matter of learning the API.
Well, my last real test was submitting my app to the App Store, in order to check if it would pass without problems. To my surprise, I've got a Binary Rejected status, with the following text:
"We found that your app uses one or more non-public APIs, which is not in compliance with the App Store Review Guidelines. The use of non-public APIs is not permissible because it can lead to a poor user experience should these APIs change.
We found the following non-public API/s in your app:gridView:heightForHeaderInSection:gridView:viewForHeaderInSection:If you have defined methods in your source code with the same names as the above-mentioned APIs, we suggest altering your method names so that they no longer collide with Apple's private APIs to avoid your application being flagged in future submissions."
I saw in the NuclIOS that these methods really exists on the GridView API. So, how can I bypass this in order to approve my App??
Regards,
Aderval Mendonça
Hello Aderval,
Thats very strange. I've submitted multiple apps with both of those protocol methods implemented and never got a rejection. In fact our Nuclios samples browser itself implements both of those methods in various samples and again has never been rejected. Plus we've submitted that specific app to the app store 4 times already.
I believe when your app gets rejected, you can request more information. Would it be possible to find out out what internal API's they're referencing?
Also, are you explicitly using those API's or was the rejection completely random?
I absolutely want to get to the bottom of this, so we can avoid these issues in the future.
Thanks,
-SteveZ
Hi Steve.
They state that the rejected API's were:
gridView:heightForHeaderInSection:
gridView:viewForHeaderInSection:
I am not explicitly using any of them... just those that are in the developer's guide (Adding a GridView).
Yours,
Aderval
Hi Aderval,
Yes, i saw the 2 offending methods in your first post. I was referring to finding out, to which Internal API's those 2 methods belong to. For example, does it belong to some internal control or something along those lines. I apologize for not being more clear in my previous post.
My first guess is that that Apple has made a mistake here. Maybe, confusing our grid as being internal. Seeing as nothing else has gotten rejected, and those API's have existed since we released in October, something weird must be happening.
Could you also let me know what frameworks' your app is referencing? Perhaps, the reason our apps never got rejected, was b/c we're not referencing a specific framework that actually does have those methods internally?
I understand this must be frustrating, and again i apologize as i don't really know what has happened. However, changing a public API is really a big deal, and something we take very seriously. Plus, if there is some sort of internal gridview somewhere in Apple's API's, we need to make sure no other API's violate this.
Thanks!
I'm not using any of the methods explicitly. What I did was: copied the example that is in the NucliOS documentation (adding a gridView...), and changed just some lines of code inside the method's implementation (only cellAt, numberOfRowsInSection, and numberOfColumnsInGridView). That was all. I'm only using the libraries/frameworks that your components requires, as stated on the documentation.
I think Apple started recently to analyze code and reject calls to methods of objects that they do not expose. It seems to not happen before. Just take a look at this (recent) discussion: https://github.com/kolinkrewinkel/KKGridView/issues/150
I hope you can help me.
Yea I stumbled upon that posting as well. Very odd, as that post is over 11 months old, and we've been making submissions since then. I guess its just luck of the draw on who is doing your verification.
So yea, we'll update those offending API's. I'll have someone from our support department contact you, and offer you a private/"untested" build, so that you can rebuild and re-submit your application.
Again, i apologize for this inconvenience.
Nice to know that, Steve. Thanks!
May I suggest you, based on my research on that subject, that it would be safer to rename your control instead of renaming just the method names. That is because as Apple's gridView is not public, we cannot know which methods they have or not.
But, whatever solution you give, it will be very welcome. I'll wait for you support contact.
Changing the name of the control isn't really an option b/c of the scale of the change, plus the name is IGGridView, not gridView, we just dropped the prefix in our API names, as Apple does.
I'm going to be making the fix today. What version of NUCLiOS are you using? 12.1 or 13.1?
I'm using 2013.1 .
I am creating the private build that include the fix and wanted to check which version are you using the Trial or licensed version of NucliOS as I want to create the right build for you.
Ammar
Hi.
I am using the 2013.1 Trial version.