-
Notifications
You must be signed in to change notification settings - Fork 608
error: Couldn't lookup symbols: #173
Comments
Thanks for reporting this bug! We will look into this. It is likely because we are missing linker flag Our recommended prototyping environment is Colaboratory, but supporting Xcode is definitely on our list since Xcode sometimes has a better user experience on macOS. |
I'm able to reproduce the linker errors in a playground using Xcode 10.2 beta 4. I'll attempt a linker error fix now - not confident it will work. |
Thanks alot Richard and Dan, I will be on the lookout for a fix. |
I made a failed attempt to fix the Xcode 10.2 Playgrounds "Couldn't lookup symbols" error. I tried to add some default linker flags ( I do feel the approach is in the right direction, perhaps the linker flags aren't being specified at the right place for Playgrounds. |
Any update on a fix? Experiencing the same problem when using playgrounds with Xcode Version 10.2.1 (10E1001) |
No fix yet unfortunately. I haven't continued looking into the issue. We're working on downstreaming changes from |
Hi, I get the following lookup symbols error (even) in XCode 10.0 using the current SFT version 0.3.1:
|
Hi, for anyone getting the same (or a similar) error message. Using the swift package manager to generate the project seems to work:
In my case, I could then open the project in XCode and import TensorFlow without the Couldn't lookup symbols error. |
In my environment I couldn't make it work by using the swift package manager. It does work using the workaround in #177 (comment) However, as far as I know, it's not possible to use this workaround in Playgrounds which the OP of this issue refers to. |
Closing because this is old and may no longer be broken. Feel free to reopen or file a new issue :) |
Can anyone help me with removing this error below?
"error: Couldn't lookup symbols:
type metadata accessor for TensorFlow.Tensor
protocol witness table for TensorFlow.Tensor : TensorFlow.TensorArrayProtocol in TensorFlow
type metadata accessor for TensorFlow.TensorElementLiteral
protocol witness table for TensorFlow.TensorElementLiteral : TensorFlow.TensorArrayProtocol in TensorFlow
protocol conformance descriptor for Swift.Array : TensorFlow.TensorArrayProtocol in TensorFlow
protocol witness table for Swift.Float : TensorFlow.TensorFlowScalar in TensorFlow
_TFE_DeleteOp
_TFE_NewOp
_TFE_OpSetAttrBool
_TFE_OpSetAttrInt
_TFE_OpSetAttrType
_TF_DeleteStatus
_TF_NewStatus
___tf_tensor_from_scalar
_swift_FORCE_LOAD$_swiftPython
__swift_tfc_CheckOk
__swift_tfc_CreateTensorHandleFromC
__swift_tfc_EagerExecute
__swift_tfc_GetGlobalEagerContext
__swift_tfc_OpAddInputFromTensorGroup
__swift_tfc_OpSetDeviceFromScope
"
The code am running used to run before, but i upgraded to Tensorflow 2.0, and then installed "swift for tensorflow release 0.2 2019-03-02."
The text was updated successfully, but these errors were encountered: