osx - How can I find private iOS API usage in my app? -
my app rejected app store using private api "lsapplicationworkspace", can't find in source code. how can find library using it? i'm using xamarin.ios on macos.
what need search through every library app uses until find offending api string. in case searching lsapplicationworkspace.
here terminal command find every dll in folder , execute 'strings' on it. first option copies results clipboard, second option writes text file.
- build app.
- open terminal.
- cd output directory (i.e. iphone/debug).
- run command below
- search results offending call.
command
find . -type f -iname '*.dll' -exec strings {} \; | pbcopy
or
find . -type f -iname '*.dll' -exec strings {} \; > output.txt
wiki
Comments
Post a Comment