Skip to content

Instantly share code, notes, and snippets.

@imnaveensharma
Last active July 16, 2020 11:17
Show Gist options
  • Save imnaveensharma/a1ed923c3bbdf16d4bd1988eb6dd27fc to your computer and use it in GitHub Desktop.
Save imnaveensharma/a1ed923c3bbdf16d4bd1988eb6dd27fc to your computer and use it in GitHub Desktop.
Find UIWebView references in iOS App
To detect use of UIWebView in project.
1. Open Terminal
2. CD <Path to your App>
3. Press return
4. grep -r UIWebView .
To detect use of UIWebView in binary frameworks.
1. Archive of your app.
2. Right-click on it to reveal it in finder.
3. Right-click on the archive to show package contents.
4. Navigate to /Products/Applications/MyAppName.app
5. Run below shell script.
for framework in Frameworks/*.framework; do
fname=$(basename $framework .framework)
echo $fname
nm $framework/$fname | grep UIWebView
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment