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
// | |
// FacebookAuth.swift | |
// GitHub: ethanhuang13 | |
// Twitter: @ethanhuang13 | |
import AuthenticationServices | |
import SafariServices | |
/* | |
Updated: |
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
1.Connect your iOS device to your Mac via USB. | |
2.Get the UDID for the connected device from iTunes or organiser. | |
3.Open terminal in your Mac | |
4.type the following commands in the terminal | |
$ ifconfig -l // First get the current list of interfaces. | |
$ rvictl -s <udid> // Then run the tool with the UDID of the device. |