swift icon indicating copy to clipboard operation
swift copied to clipboard

Xcode debugging broken with Swift for TensorFlow toolchains

Open txbad opened this issue 5 years ago • 5 comments

I encountered this problem, and the warning info as following: Cannot load Swift type information; AST validation error in "LeNet_MNIST": The module file format is too new to be used by this version of the debugger.AST validation error in "ImageClassificationModels": The module file format is too new to be used by this version of the debugger.AST validation error in "Datasets": The module file format is too new to be used by this version of the debugger.AST validation error in "Datasets": The module file format is too new to be used by this version of the debugger.AST validation error in "ImageClassificationModels": The module file format is too new to be used by this version of the debugger. my Xcode version is: 11.3 swift for tensorflow is: development snapshot 2020-01-30 what's the solution to this problem?

txbad avatar Feb 07 '20 04:02 txbad

This seems like a duplicate of your comment here: https://github.com/tensorflow/swift/issues/89#issuecomment-583221183.

My response:

This issue is tracked at SR-12127. It's actually an issue in Xcode: Xcode uses system lldb instead of lldb from the active toolchain. The occurs even for swift.org/download toolchains and isn't specific to Swift for TensorFlow.

Unfortunately, our team can't help fix this issue since Xcode is closed source. I'll leave this issue open until SR-12127 is fixed.

Sorry about this. It appears to be out of our hands. ‾\(ツ)/‾

dan-zheng avatar Feb 28 '20 06:02 dan-zheng

I'll leave this issue open until SR-12127 is resolved!

dan-zheng avatar Feb 28 '20 06:02 dan-zheng

I'll leave this issue open until SR-12127 is resolved!

ok, thank you for your help

txbad avatar Feb 28 '20 06:02 txbad

Is there anywhere we can track this? SR-12127 is closed since it's an xcode issue, anywhere we can track the xcode issue?

andr-ec avatar Mar 13 '20 20:03 andr-ec

Unfortunately, once it goes into the internal Apple system, we have no way to track. We can keep this Github issue open until we test that a fix works in Xcode.

On Fri, Mar 13, 2020 at 1:43 PM Andre Carrera [email protected] wrote:

Is there anywhere we can track this? SR-12127 https://bugs.swift.org/browse/SR-12127 is closed since it's an xcode issue, anywhere we can track the xcode issue?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tensorflow/swift/issues/382#issuecomment-598903330, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADUMI3WLRX63V7U3N5PKKT3RHKLG3ANCNFSM4KRIEXHQ .

ematejska avatar Mar 13 '20 21:03 ematejska