Philippe Wang created CB-12843:
----------------------------------

             Summary: Non-public API usage: The app references non-public 
selectors: _terminateWithStatus
                 Key: CB-12843
                 URL: https://issues.apache.org/jira/browse/CB-12843
             Project: Apache Cordova
          Issue Type: Bug
    Affects Versions: 4.4.0
         Environment: iOS
            Reporter: Philippe Wang


Apple doesn't like the use of `_terminateWithStatus` in 
https://github.com/google/google-toolbox-for-mac/blob/master/UnitTesting/GTMIPhoneUnitTestDelegate.m

If you use it, and you go through Apple's automatic review process, you end up 
with an email like this:

> Dear developer,
> 
> We have discovered one or more issues with your recent delivery for "XXX". To 
> process your delivery, the following issues must be corrected:
> 
> Non-public API usage:
> 
> The app references non-public selectors in XXX: _terminateWithStatus:
> If method names in your source code match the private Apple APIs listed 
> above, altering your method names will help prevent this app from being 
> flagged in future submissions. In addition, note that one or more of the 
> above APIs may be located in a static library that was included with your 
> app. If so, they must be removed.
>
> 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 information about why you believe 
> the above APIs were incorrectly flagged, to [email protected]. For further 
> information, visit the Technical Support Information page.
> 
> Once these issues have been corrected, you can then redeliver the corrected 
> binary.
> 
> Regards,
> 
> The App Store team

The discussion started there: 
https://github.com/google/google-toolbox-for-mac/issues/138#issuecomment-303397920

Basically, the dependency to GTMIPhoneUnitTestDelegate.m should not be there at 
all...




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to