- Create a file called
check-modules.sh
and copy the above contents into the file - Ensure that file has executable permissions
chmod +x <path>
- Run the file against each module
./check-modules <path>
where path is the full path of a module including the platform and version. Making sure to either escape the spaces (like below) or wrapping your path in quotes
- For example
./check-module.sh /Users/awam/Library/Application\ Support/Titanium/modules/iphone/ti.googlesignin/2.0.4
If the module contains UIWebView references then that will be logged
Code: https://gist.github.com/ewanharris/bf7aa969dd0a99cd83c019feb512e800