Private API’s and Cant Find who is using it.

Have you ever got rejected by Apple because of a Private API and are wondering how to use oTool, String and NM.

This is simple.

Just use

otool “Path to your .app/YourExecutable” > fileNameToOutput.txt

nm “Path to your .app/YourExecutable” > fileNameToOutput.txt

strings “Path to your .app/YourExecutable” > fileNameToOutput.txt

 

How to find the executable?

1.- When you compile, Xcode creates the .app file.

2.- Right Click   on xcode and show in finder

screen-shot-2016-09-16-at-11-08-05-am

3.-Once in Finder, Right Click to Pick Show Package Contents

screen-shot-2016-09-16-at-11-08-19-am

4. Once inside you just drag and drop the Unix Executable to the terminal window and the full path is created.

screen-shot-2016-09-16-at-11-08-48-am

Posted in Uncategorized

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>