Non-public API usage

后端 未结 9 1991
孤独总比滥情好
孤独总比滥情好 2021-02-05 01:04

I can\'t upload an app to iTunes Connect.

Xcode uploader says that I\'m using allocBatch:withEntity:count:, allocWithEntity:, IndexForKey

相关标签:
9条回答
  • 2021-02-05 01:26

    I had this exact issue using Yosemite with Xcode 6.1 and using Objective C. I also got a warning on validation saying you can't upload an app created with a beta version of Xcode, which 6.1 is at the time of writing this.

    I trashed Xcode 6.1 by dragging it to the trash form Finder then downloaded Xcode 6.0.1 GM from the App Store. I tried twice to install 6.0.1 over the top of 6.1 but it didn't work, hence the trashing of 6.1

    Having cleaned and recompiled my app with Xcode 6.0.1 it validated and submitted to the app store with no problem. I hope this helps.

    0 讨论(0)
  • 2021-02-05 01:27

    i had meet same issue when i cancelled archiving to app store. Apple send me email about this subject. And than i recreate archiving and send to App Store. Everythink is ok for a now.

    0 讨论(0)
  • 2021-02-05 01:34

    Increasing the version number of my app did the trick for me.

    EDIT: Just saw a comment in my bug report to apple

    enter image description here

    So most likely the version number had nothing to do :D

    0 讨论(0)
  • 2021-02-05 01:40

    I got the same problem in Xcode 6.0.1 if I use the archive created by Xcode 6.1. It works if I recreate the archive by Xcode 6.0.1. That means the non-public API is added by Apple in Xcode 6.1.

    0 讨论(0)
  • 2021-02-05 01:40

    I tried to delete all DerivedData.

    /Users/{user_home_folder}/Library/Developer/Xcode/DerivedData
    

    and I validated successfully.

    http://qiita.com/PGMY/items/831618ad416780e0dc7c

    0 讨论(0)
  • 2021-02-05 01:41

    The API differs between iOS 7 and iOS 8. I got my App validated by switching to Deployment Target "8.0" - built with XCode 6.1. It might not be the solution to all you guys but you could give it a try.

    Might have happened to me because I recently started using UIAlertController -> seems to be an iOS-8-Feature. On iOS 7 this would be UIAlertView. So if you use some nifty new features they might not have been available with previous iOS versions - thus non-public API.

    0 讨论(0)
提交回复
热议问题