Skip to content

Supports Xcode 11 with Python3 instead of Python2 #262

Closed
@dreampiggy

Description

@dreampiggy

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)

Activity

LoSenTrad

LoSenTrad commented on Jun 5, 2019

@LoSenTrad

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

dorentus

dorentus commented on Jun 6, 2019

@dorentus

??? 不懂 怎么处理?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).

LoSenTrad

LoSenTrad commented on Jun 6, 2019

@LoSenTrad

??? 不懂 怎么处理?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~

dreampiggy

dreampiggy commented on Jun 6, 2019

@dreampiggy
Author

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 :)

chenjiangchuan

chenjiangchuan commented on Jun 13, 2019

@chenjiangchuan

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

revolter

revolter commented on Aug 6, 2019

@revolter
Contributor

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

kolinkrewinkel

kolinkrewinkel commented on Sep 25, 2019

@kolinkrewinkel
Contributor

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

nrbrook

nrbrook commented on Oct 14, 2019

@nrbrook

Please release!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @dorentus@kolinkrewinkel@nrbrook@revolter@dreampiggy

        Issue actions

          Supports Xcode 11 with Python3 instead of Python2 · Issue #262 · facebook/chisel