-
Notifications
You must be signed in to change notification settings - Fork 608
Runtime Error: symbol _$s11AllKeyPathss0B12PathIterablePTl
Not Found on macOS
#585
Comments
Wow this appears to be specific to running the unit tests in parallel. When I execute When I execute It appears to be 100% reproducible. I ran with Note that this never occurs on Linux. My default of running the unit tests in parallel never produces this error. |
I updated my Package.swift to macOS 11: platforms: [
.macOS(.v11)
], and my build and test targets to macos11:
Same result. When I apply Testing with neither filter nor parallel works:
Filter can't find symbol:
Parallel can't find symbol:
So strange. 🤔 |
I am sometimes seeing this without the |
Thanks for reporting Xander! The We're currently making a push to de-fork the Swift compiler and use standard toolchains for building Swift for TensorFlow. Here's some more context. When that effort is done, this linker issue should naturally go away! |
@dan-zheng De-forking will be huge! Thanks for the context. I still find it curious that this first started appearing in 0.12 but never happened with 0.11, but I'm satisfied to test this again after the de-forking is complete. For now I'm able to run my tests on Linux only. Feel free to close or keep open until de-forking happens. |
Hi, Build was successful but running the executable script gives the error below. Running the script with I am also on macOs 11.0.1, Xcode 12.3 and followed the instructions from the guidelines. Is this related or did I made a mistake when installing? |
macOS 11.0.1. Xcode 12.2 beta 3. Swift For TensorFlow 0.12. My project successfully builds and links, but I immediately get this runtime error when I'm running my unit tests:
It looks like it can't find the symbol
_$s11AllKeyPathss0B12PathIterablePTl
Is it perhaps related to this code in my project:
These
KeyPathIterable
extensions are very similar to swift-models code here and here.The text was updated successfully, but these errors were encountered: