Step 1. connect the Mac to SAP-internet (for saving the hassle of configuring proxy)
Step 2. install homebrew
$ /usr/bin/ruby -e “$(curl -fsSL raw.githubusercontent.com/Homebrew/in…
Step 3. brew install ios-webkit-debug-proxy
$ brew install ios-webkit-debug-proxy
Step 4. switch back to SAP-corporate connection
Step 5. build and launch the cordova app in the iOS simulator
Step 6. start ios_webkit_debug_proxy in the command line
$ ios_webkit_debug_proxy -f chrome-devtools://devtools/bundled/inspector.html
Step 7. launch Chrome and go to http://localhost:9222/
Step 8. copy the url (file:///Users/…CRM_AHN_01.app/www/index.html) then paste it in a new tab and hit enter
Step 9. dang dang dang!
要获取更多Jerry的原创文章,请关注公众号"汪子熙":