It seems that the directory for the iOS Simulator has changed. It used to be in ~/Library/Application\ Support/iPhone\ Simulator/
and now it's in ~/Library/Developer/CoreSimulator/Devices/
.
相关问题
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
- “Zero out” sensitive String data in Swift
- Get the NSRange for the visible text after scroll
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- Swift - hide pickerView after value selected
- How do you detect key up / key down events from a
- didBeginContact:(SKPhysicsContact *)contact not in
- Attempt to present UIAlertController on View Contr
I didnt see the configuration shell script on that page. I did the following and it worked for me:
http://raptureinvenice.com/getting-the-charles-debugging-proxy-to-work-with-ios-and-genymotion/
Another way to do it is to browse to the certificate http://charlesproxy.com/charles.crt on the device
which will present you with the screen:
For those who struggling with untrusted connections on Xcode 9 beta's simulators:
I don't know if install script works or not but you are able to install charles' cert in same way as on physical device - through Safari.
Last step that is needed (of course after installing certificate either through script or via Safari): Go to Simluator's settings -> general -> about -> Certificate trust settings -> Charles Proxy Custom Root... -> enable
Update: Charles 3.9.3+ has a built-in function to configure your iOS Simulators (i.e. installing the Charles SSL Certificate). This can be found in the Help menu within the Charles application. (
Help > SSL Proxying > Install Charles Root Certificate in iOS Simulators
)The following applies to Charles 3.9.2:
Download the configuration shell script from the Charles Proxy website. Then, replace the script with the following, and run it on your Mac:
Some things to note:
Check this out:
You can check it on this link: http://www.charlesproxy.com/documentation/faqs/ssl-connections-from-within-iphone-applications/
I just tested Charles over Xcode 7 / iOS9 simulator. Just a few pointers I want to add if you're having trouble: