Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-8946] ld: unexpected token: !tapi-tbd-v3 when trying to use --repl #4889

Open
swift-ci opened this issue Oct 9, 2018 · 1 comment
Open
Labels

Comments

@swift-ci
Copy link
Contributor

swift-ci commented Oct 9, 2018

Previous ID SR-8946
Radar None
Original Reporter twof (JIRA User)
Type Bug
Environment

Xcode 10.1 beta 2
macOS

Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug, Screened
Assignee None
Priority Medium

md5: 3d6f40d0e1e1f1620c5b6d1864362506

Issue Description:

$ swift run --repl -v
xcrun --sdk macosx --show-sdk-path
xcrun --sdk macosx --show-sdk-platform-path
xcrun --sdk macosx --find xctest
xcrun --find clang
/Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2018-10-03-a.xctoolchain/usr/bin/swiftc -target x86_64-apple-macosx10.10 -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -F /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -g -L /Users/fnord/Documents/OpenSourceDev/Yams/.build/x86_64-apple-macosx10.10/debug -o /Users/fnord/Documents/OpenSourceDev/Yams/.build/x86_64-apple-macosx10.10/debug/libYams__REPL.dylib -module-name Yams__REPL -emit-library @/Users/fnord/Documents/OpenSourceDev/Yams/.build/x86_64-apple-macosx10.10/debug/Yams__REPL.product/Objects.LinkFileList
ld: unexpected token: !tapi-tbd-v3 file '/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libobjc.tbd' for architecture x86_64

<unknown>:0: error: link command failed with exit code 1 (use -v to see invocation)

$ swift --version
Apple Swift version 4.2-dev (LLVM aeaaca98ed, Clang 1ddef2249a, Swift 20bb815b62)
Target: x86_64-apple-darwin17.7.0
$ xcode-select -p
/Applications/Xcode-Beta.app/Contents/Developer

This is the result of following the Yams example listed here:
https://swift.org/blog/swiftpm-repl-support/

@AnnaZaks
Copy link
Mannequin

AnnaZaks mannequin commented Oct 12, 2018

cc @aciidb0mb3r

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants