Anyone else getting the below error message when starting the REPL:
$ swift
error: libarclite_macosx.a(arclite.o) failed to load
objfile for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/arc/libarclite_macosx.a
Welcome to Apple Swift version 2.0 (700.1.100.2 700.1.74). Type :help for assistance.
1>
?
OS X 10.10.5, Xcode 7.1 beta
Also, I have this 7.1 beta installed in /Applications/Xcode71b1.app/ and another older (GM) installed in /Applications/Xcode.app/ so it seems strange that it is trying to load something from /Applications/Xcode.app/
This kind of setup (renaming the Xcode.app before moving it to /Applications/) has never caused any troubles before.
(I did this before starting the REPL:
$ sudo xcode-select -s /Applications/Xcode71b1.app
)
EDIT: As noted below. Things have gotten even worse with Xcode 7.1 beta 2. It reports the same error message even though it is installed without renaming it. Ie it tries to load arclite.o from /Applications/Xcode.app/... despite the fact that Apple has packaged it as Xcode-beta.app.
Filed a separate bug report 22830959 for this issue.