Qt的Mac App Store的应用程序被拒绝 [英] Qt Mac App Store application rejected
问题描述
我的新的Qt应用程序提交已经从Mac App Store的拒绝。其原因是:
My new Qt application submission has been rejected from Mac App Store. The reason is:
Binary Rejected May 23, 2012 07:42 PM
Reasons for Rejection:
2.5 Apps that use non-public APIs will be rejected
2.30 Apps that do not comply with the Mac OS X File System documentation
will be rejected
May 23, 2012 07:42 PM. From Apple.
2.5
The use of non-public APIs can lead to a poor user experience should these APIs
change in the future, and is therefore not permitted. The following non-public
APIs are included in your application:
: NSAccessibilityCreateAXUIElementRef
: NSAccessibilityHandleFocusChanged
: NSAccessibilityUnregisterUniqueIdForUIElement
: NSMouseMovedNotification
: OBJC_IVAR_$_NSCGSContext._cgsContext
: _NSDrawCarbonThemeBezel
: _NSDrawCarbonThemeListBox
: _NSPopUpCarbonMenu3
: _NXShowKeyAndMain
我怎样才能解决这个问题呢?
How can I solve this issue?
推荐答案
的 轻松的回答:的
Easy answer:
摆脱那些违规的API?
Get rid of those offending API's?
的 更多详细的解答:的
More detailed answer:
根据这个Qt的页面,如果你使用Qt 4.7可以指定你的build目标仅使用可可。
According to this Qt page, if you use Qt 4.7 you can specify your build target to use Cocoa only.
由于碳已经去苹果pcated $ P $(并且不会在64位机器工作),它是有道理的苹果不希望开发人员使用碳的API在将应用程序发布应用程序商店。
Since Carbon has been deprecated by Apple (and won't work on 64-bit machines), it makes sense that Apple doesn't want developers to use Carbon API's in applications that will be released on the app store.
未来证明您的应用程序通过摆脱任何旧的API,将不能在64位机器的工作。和Qt肯定有关于如何做事情非碳的方式文档。
Future proof your app by getting rid of any older API's that won't work on 64-bit machines. And Qt certainly has documentation on how to do things in a non-Carbon way.
这篇关于Qt的Mac App Store的应用程序被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!