<div dir="ltr">Thanks I was able to piece this together after reading Brian's reply to the other Threads.<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 14, 2016 at 12:49 PM, Ian Partridge <span dir="ltr"><<a href="mailto:ian@poncho.org.uk" target="_blank">ian@poncho.org.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Aaron,<br>
<br>
I think the problems you're having are because the Foundation<br>
repository has been migrated to Swift 3, but there is no corresponding<br>
toolchain available from <a href="http://swift.org" rel="noreferrer" target="_blank">swift.org</a> yet. The 3/1/2016a toolchain is<br>
out of date.<br>
<br>
You can build your own toolchain using the utils/build-toolchain<br>
script from the main Swift repository though. As Brian Gesiak<br>
mentioned on this list recently, you'll probably want to comment out<br>
the tests in the build preset, to save time.<br>
<br>
Then, once you have a toolchain, you can install that into XCode 7.3<br>
beta (which has new support for switching between toolchains).<br>
<br>
Having said that, I have tried this myself today, but I can't build<br>
Foundation using my new toolchain in XCode.<br>
<br>
Linking fails with this message:<br>
<br>
ld: mach-o string pool extends beyond end of file file<br>
'/Users/ipartrid/Library/Developer/Xcode/DerivedData/Foundation-ezklcwdscphlbyfeybewgemjwkhl/Build/Intermediates/Foundation.build/Debug/SwiftFoundation.build/Objects-normal/x86_64/NSLengthFormatter.o'<br>
for architecture x86_64<br>
clang: error: linker command failed with exit code 1 (use -v to see invocation)<br>
<br>
Has anyone else seen this error? Is there a solution?<br>
<br>
Best wishes,<br>
Ian Partridge<br>
<br>
On 12 March 2016 at 21:42, Aaron Crespo via swift-corelibs-dev<br>
<div><div class="h5"><<a href="mailto:swift-corelibs-dev@swift.org">swift-corelibs-dev@swift.org</a>> wrote:<br>
> I was looking into some XCTest starter issues and ran into hiccups building<br>
> Foundation according to the getting started guides.<br>
><br>
> * I'm running Xcode 7.3 with the latest toolchain (3/1/2016a).<br>
> * fresh clones off master of swift-corelibs-foundation,<br>
> swift-corelibs-xctest (directory siblings)<br>
> * CoreFoundation builds fine.<br>
> * SwiftFoundation fails with multiple errors and missing types.<br>
><br>
> The getting started guides, say to use the "Latest" Xcode should I be using<br>
> 7.2? or is the latest considered the Beta version.<br>
> It also says to use the latest snapshot which is 3/1/2016a for dev and Swift<br>
> 2.2 for release the Guide link just takes me to the list of all snapshots.<br>
><br>
> Should I just open a bug?<br>
><br>
> Thanks.<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> swift-corelibs-dev mailing list<br>
> <a href="mailto:swift-corelibs-dev@swift.org">swift-corelibs-dev@swift.org</a><br>
> <a href="https://lists.swift.org/mailman/listinfo/swift-corelibs-dev" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-corelibs-dev</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Ian Partridge<br>
</font></span></blockquote></div><br></div>