Skip to content

Commit

Permalink
add open ios 16 developer method
Browse files Browse the repository at this point in the history
  • Loading branch information
codeskyblue committed Dec 2, 2022
1 parent 7b7874f commit 67b0e99
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ pip3 install -U tidevice

> 使用--trace选项可以查看socket数据流
### 手机配置
iOS 16的手机需要手工开启开发者选项。
开启方法:设置->隐私与安全性->开发者模式 (打开),然后会提示重启 (点击 重新启动) -> 启动后会弹窗 是否打开“开发者模式”?(点击打开)


### 查看版本号
```bash
$ tidevice version
Expand Down
9 changes: 9 additions & 0 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ pip3 install -U tidevice
## Usage

Use `--trace` can open socket log. For example: `tidevice --trace info`

### iOS Setting
iOS 16 need to Open Developer mode Manualy

How to open

Settings -> Privacy & Security -> Developer Mode -> (Turn switch ON) -> (Click "Restart") -> (Click "Turn On" when Dialog appears)

### Show version number
```bash
$ tidevice version
Expand Down
2 changes: 1 addition & 1 deletion tidevice/_safe_socket.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def ssl_unwrap(self):

def switch_to_ssl(self, pemfile):
""" wrap socket to SSLSocket """
# logger.debug("Switch to ssl")
logger.debug("Socket({}): switch to ssl", self.id)
assert os.path.isfile(pemfile)

# https://docs.python.org/zh-cn/3/library/ssl.html#ssl.SSLContext
Expand Down

0 comments on commit 67b0e99

Please sign in to comment.