本文介绍了App 中的非公开选择器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过 iTunes Connect 提交应用程序.Xcode 抛出以下错误:

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

iTunes Store 操作失败.该应用程序引用了 Payload/Inflation Calculator.app/Inflation 中的非公开选择器 Calculator: allocBatch:withEntity:count:,allowWithEntity:, fastIndexForKnownKey:, indexForKey:

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?

视图控制器的代码(在我的应用中只有 .swift):https://gist.github.com/Calda/aefc2f19bae5f3cf2e54

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

作为未来的参考,我向 iTunes Connect 支持人员确认这是 iTunes Connect 的问题,而不是我的项目的问题.对于遇到同样问题的任何人,我最好的建议是等待并稍后重试.

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.

推荐答案

我通过以下操作解决了这个问题:

I solved this by doing the following:

我认为不需要第一步

2) 删除派生数据(组织者 -> 项目 -> 选择你的项目 -> 删除派生数据

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

这篇关于App 中的非公开选择器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-10 09:37