Search code examples
iositunes

unused code in xcode project - app store update submission


I'm submitting an update to my first application on the iTunes (update 1.1). I was wondering if it would be an issue if I left code in the project that went completely unused.

I have two examples:

  • I will be doing localization in the update after this but I've already put in NSLocalizedString and the localizable.strings file. This really isn't necessary at this point until I get back translations and I submit 1.3. So currently it's just English.

  • Next is I'm trying to add "log in with Facebook" to my application. It works perfectly when the user logs into Facebook with apple settings. Unfortunately, if they don't log in via apple settings and only directly in facebook application. when they select log in with facebook on my application I'm getting errors.. I'm still researching how to fix that (super frustrating) but my question is if I just disable/hide the button in my app will apple care that I have a method and hidden button that isn't called/used?

Should I comment out the unused code? or will apple not care that there are unused methods?

Thanks in advance,

James


Solution

  • Apple doesn't care about your code. You can submit it.