Results 1 to 7 of 7

Thread: Qt Mac App Store application rejected

  1. #1
    Join Date
    Jun 2010
    Posts
    86
    Thanks
    10
    Thanked 6 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default 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?

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Qt Mac App Store application rejected

    Don't submit your application to Apple and save yourself 30% on each sale

    All of these API calls originate in QtWebkit. Find a way to avoid these and submit a patch to QtWebkit but make sure that they are not already fixed or cannot be avoided by building/bundling Qt without Carbon i.e. with Cocoa. I have a suspicion, perhaps unfounded, that Apple also insist on all web-browser type functionality using the system's webkit libraries though that may be only their tablet/phones.

    Since they don't tell you what is not compliant with the Mac OS X File System documentation it is hard to know what to fix. There's some stuff about a "misplaced" plist file in this long thread: not sure if this still applies to Qt 4.8.2.

    There are some other suggestions in the other place you asked

  3. #3
    Join Date
    Jun 2010
    Posts
    86
    Thanks
    10
    Thanked 6 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt Mac App Store application rejected

    Thank you very much, Chris, now I have 2 questions:
    1- How to build and bundle Qt without Carbon?
    2- How to scan my distributed .app file for private API's usage?

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Qt Mac App Store application rejected

    1- How to build and bundle Qt without Carbon?
    You configure Qt with the "-cocoa" option and build it on OS X 10.5 or later.
    Bundling an application is unchanged.
    2- How to scan my distributed .app file for private API's usage?
    I don't know how Apple do it or the OS X-ish way to do it. I am surprised that Apple do not publish a tool to test this stuff, but then I guess they could not arbitrarily move the walls of the walled garden if they di that. I would start by running "strings" over the QtWebkit library, which seemed to be the offender.

  5. #5
    Join Date
    Jun 2010
    Posts
    86
    Thanks
    10
    Thanked 6 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt Mac App Store application rejected

    I have news, I found information tell that any QtWebkit (or any 3rd party web kit port) will be rejected from App Store, Is this true?

  6. #6
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Qt Mac App Store application rejected

    Possibly, see my first reply.

  7. #7
    Join Date
    Jun 2010
    Posts
    86
    Thanks
    10
    Thanked 6 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt Mac App Store application rejected

    Hi,Chris
    I have removed QtWebKit totally from my app. Now I have the other problem with writing to ˜/Library/Preferences/com.mycompany.myapp

    2.30

    The application accesses the following location(s):

    '~/Library/Preferences/com.nourayn.AlMosaly.plist'

    The application may be

    * creating files
    * writing files
    * opening files for Read/Write access (instead of Read-Only access)

    in the above location(s).

    How to fix this problem?

Similar Threads

  1. Replies: 4
    Last Post: 7th March 2012, 08:33
  2. Mac App Store
    By serkol in forum Installation and Deployment
    Replies: 20
    Last Post: 1st December 2011, 13:29
  3. QT app sandboxing for Mac App Store?
    By sword726 in forum Qt Programming
    Replies: 4
    Last Post: 30th August 2011, 09:43
  4. store QlistWidget
    By jindoniit in forum Newbie
    Replies: 7
    Last Post: 15th July 2011, 10:52
  5. Replies: 1
    Last Post: 12th October 2010, 15:45

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.