iosswiftxcodeapp-store-connectnon-public-selectors

Non-public selectors in App?


I'm trying to submit an app via iTunes Connect. Xcode is throwing the following error:

iTunes Store operation failed. The app referenced non-public selectors in Payload/Inflation Calculator.app/Inflation Calculator: allocBatch:withEntity:count:,allowWithEntity:, fastIndexForKnownKey:, indexForKey:

I have no idea what "non-public selectors" I would be using, because I stuck pretty close to the book with my code. Anyone have any ideas?

Code for the view controller (only .swift in my app): https://gist.github.com/Calda/aefc2f19bae5f3cf2e54

EDIT: As a reference for the future, I confirmed with iTunes Connect Support that this was an issue with iTunes Connect and not a problem with my project. For anyone experiencing this same problem, my best advice would be to wait and try again later.


Solution

  • I solved this by doing the following:

    edit: I don't think the first step is needed

    1) Cleaning the build folder (Hold Alt, Click Product -> Clean)

    2) Deleting the Derived Data (Organizer -> Projects -> Select your project -> Delete Derived Data