
--
You received this message because you are subscribed to the Google Groups "Swift for TensorFlow" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swift+un...@tensorflow.org.

I was on the same route and fixed the macOS target. The next error is now:`Cannot load module 'TensorFlow' as ‘Tensorflow’`
<060EEB35-2E3F-44D8-9027-68B15DDBF195.png>
To unsubscribe from this group and stop receiving emails from it, send an email to swift+unsubscribe@tensorflow.org.
Ld /Users/varuna/Library/Developer/Xcode/DerivedData/SwiftTFFirst-hazixrqgseudecdrsmyqthbahaep/Build/Products/Debug/SwiftTFFirst normal x86_64
cd /Users/varuna/work/tensorflow/swift/SwiftTFFirst
export MACOSX_DEPLOYMENT_TARGET=10.13
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -L/Users/varuna/Library/Developer/Xcode/DerivedData/SwiftTFFirst-hazixrqgseudecdrsmyqthbahaep/Build/Products/Debug -F/Users/varuna/Library/Developer/Xcode/DerivedData/SwiftTFFirst-hazixrqgseudecdrsmyqthbahaep/Build/Products/Debug -filelist /Users/varuna/Library/Developer/Xcode/DerivedData/SwiftTFFirst-hazixrqgseudecdrsmyqthbahaep/Build/Intermediates.noindex/SwiftTFFirst.build/Debug/SwiftTFFirst.build/Objects-normal/x86_64/SwiftTFFirst.LinkFileList -mmacosx-version-min=10.13 -Xlinker -object_path_lto -Xlinker /Users/varuna/Library/Developer/Xcode/DerivedData/SwiftTFFirst-hazixrqgseudecdrsmyqthbahaep/Build/Intermediates.noindex/SwiftTFFirst.build/Debug/SwiftTFFirst.build/Objects-normal/x86_64/SwiftTFFirst_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -fobjc-link-runtime -L/Library/Developer/Toolchains/swift-tensorflow-DEVELOPMENT-2018-04-26-a.xctoolchain/usr/lib/swift_static/macosx -Xlinker -force_load_swift_libs -lc++ -framework Foundation -Xlinker -add_ast_path -Xlinker /Users/varuna/Library/Developer/Xcode/DerivedData/SwiftTFFirst-hazixrqgseudecdrsmyqthbahaep/Build/Intermediates.noindex/SwiftTFFirst.build/Debug/SwiftTFFirst.build/Objects-normal/x86_64/SwiftTFFirst.swiftmodule -Xlinker -dependency_info -Xlinker /Users/varuna/Library/Developer/Xcode/DerivedData/SwiftTFFirst-hazixrqgseudecdrsmyqthbahaep/Build/Intermediates.noindex/SwiftTFFirst.build/Debug/SwiftTFFirst.build/Objects-normal/x86_64/SwiftTFFirst_dependency_info.dat -o /Users/varuna/Library/Developer/Xcode/DerivedData/SwiftTFFirst-hazixrqgseudecdrsmyqthbahaep/Build/Products/Debug/SwiftTFFirst
Undefined symbols for architecture x86_64:
"_TFE_ContextAddFunction", referenced from:
_$S10TensorFlow8TFEState33_F1EB29DDC3964F4495E8056659BC5464LLC_16programByteCount24entryFunctionNameAddressADSV_SiSPys4Int8VGtcfc in libswiftTensorFlow.a(TensorFlow.o)
"_TFE_ContextListDevices", referenced from:
_$S10TensorFlow17_ExecutionContextCACycfc in libswiftTensorFlow.a(TensorFlow.o)
"_TFE_ContextOptionsSetDevicePlacementPolicy", referenced from:
_$S10TensorFlow17_ExecutionContextCACycfc in libswiftTensorFlow.a(TensorFlow.o)
"_TFE_DeleteContext", referenced from:
_$S10TensorFlow17_ExecutionContextCfd in libswiftTensorFlow.a(TensorFlow.o)
"_TFE_DeleteContextOptions", referenced from:
_$S10TensorFlow17_ExecutionContextCACycfc in libswiftTensorFlow.a(TensorFlow.o)
......
"tensorflow::port::InitMain(char const*, int*, char***)", referenced from:
_InitTensorFlowRuntime in libswiftTensorFlow.a(ctensorflow_init.cpp.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Hi Varuna,You may have created an iOS playground instead of macOS. Swift for TensorFlow doesn’t support iOS playgrounds yet.Go to the inspector to switch the platform to macOS.