Last active
July 16, 2020 11:17
-
-
Save imnaveensharma/a1ed923c3bbdf16d4bd1988eb6dd27fc to your computer and use it in GitHub Desktop.
Find UIWebView references in iOS App
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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