Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Qt Mac App Store application rejected

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?

like image 463
Ahmed Said Avatar asked Dec 28 '25 20:12

Ahmed Said


1 Answers

Easy answer:

Get rid of those offending API's?

More detailed answer:

According to this Qt page, if you use Qt 4.7 you can specify your build target to use Cocoa only.

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.

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.

like image 80
Michael Dautermann Avatar answered Dec 31 '25 13:12

Michael Dautermann