LoginSignup
13
12

More than 5 years have passed since last update.

[解決&追記]Xcode6.1でThe app references non-public selectors

Last updated at Posted at 2014-10-22

アプリを申請用にValidateしようとした時のエラーめも。

Xcode 6.1特定で出るみたいです><

Xcode_error.png

iTunes Store operation failed.

Your app contains non-public API usage.Please review the errors, corrent them, and resubmit your application.


iTunes Store operation failed.

The app references non-public selectors in Palyload/[APP NAME].app/[APP NAME]:allocBatch:withEntity:coount:, allocWithEntity:, firstIndexForKnownKey:, indexForKey:


iTunes Store operation failed.

If you think this message was sent in error and that you have only used Apple-published APIs in accordance with the guidelines, send the app's nine-digit Apple ID, along with detailed infomation about why you believe the above APIs where incorrectly flagged, to appreview@apple.com. ....

アプリ内に非公開APIは使っていません。

参考:Non-public selectors in Payload/

現時点ではXcode6.0.1で申請を出すしかないみたいです。

Xcode6.0.1では無事Validateできました。

古いバージョンのXcodeのダウンロードはここから→https://developer.apple.com/downloads/index.action

[解決]古いものをインストールする以外で解決方法あったら誰か教えてください>< → ありました

@chapayGhub さんにコメントで教えていただきました!!ありがとうございます!!

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

きっちりCleanする時にもよく削除したりしていますが、ここに古いバージョンのXcodeでbuildしたデータが残った状態で、新しいXcodeでArchive->Validationを行うとこのエラーが表示されてしまうみたいです。

DerivedData内のデータを念のため丸ごと削除して行うと無事Xcode6.1でもいけました!

Xcode_success.png

PrivateAPIを使っていないのにこのエラーが出た場合はDerivedDataの削除を試してみてください!

追記

上記のエラーは結構一時的なものだったようで、現在の最新のXcodeだと、 Application Loader 3.0が入っているため出ないようです。
つまり、Application Loaderのバージョンが古いと出るエラーのようでした><!

13
12
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
13
12