facebook / chisel

Chisel is a collection of LLDB commands to assist debugging iOS apps.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Supports Xcode 11 with Python3 instead of Python2

dreampiggy opened this issue · comments

See Xcode 11 Beta Release Notes

LLDB’s Python scripting is now based on Python 3. If you are using Python extensions that aren’t compatible with Python 3, they will break. To help with the transition, you can run in Python 2 mode by setting a default:

defaults write com.apple.dt.lldb DefaultPythonVersion 2
Python 2 support will be removed in the future. (47806994)

??? 不懂 怎么处理?xcode11不能使用chisel

??? 不懂 怎么处理?xcode11不能使用chisel

@LoSenTrad

Until this issue is resolved, you can run the following command once in Terminal:

defaults write com.apple.dt.lldb DefaultPythonVersion 2

Then LLDB will use old Python 2 and chisel will be happy to run in Xcode (for now).

??? 不懂 怎么处理?xcode11不能使用chisel

@LoSenTrad

Until this issue is resolved, you can run the following command once in Terminal:

defaults write com.apple.dt.lldb DefaultPythonVersion 2

Then LLDB will use old Python 2 and chisel will be happy to run in Xcode (for now).

OK! The problem has been solved ! thanks~

Yes. We can trun the Python 2 support for now.
I write this issue here, just want to give chisel a hint to start migration to Python 3 :)

commented

I spent some time letting chisel support Python chisel support Python 3

@chenjiangchuan, Why didn't you fork this? This way, you could also open a PR here.

Thanks to #266, we should be ready to go on Xcode 11!

Please release!