[swift-corelibs-dev] Building with Xcode
Brian Gesiak
modocache at gmail.com
Thu Aug 18 16:27:45 CDT 2016
I use the following to build Foundation and XCTest, then run the XCTest tests:
swift $ utils/build-script --preset corelibs-xctest
The XCTest.xcworkspace is also capable of building and testing. Open it, select the XCTest scheme, and build with ⌘B. You should also be able to build the Foundation scheme from there as well.
- Brian Gesiak
On Thu, Aug 18, 2016 at 4:14 PM -0400, "Tony Parker via swift-corelibs-dev" <swift-corelibs-dev at swift.org> wrote:
Hi Luke,
In Xcode it should be possible to set the build order like this:
FoundationXCTestTestFoundation
which should resolve the ordering issue, right? I do this with a build scheme.
- Tony
On Aug 17, 2016, at 6:13 PM, Luke Howard via swift-corelibs-dev <swift-corelibs-dev at swift.org> wrote:
This is probably a dumb question. Building with XCode, TestFoundation depends on SwiftXCTest, which depends on SwiftFoundation. What’s the right way to solve this (almost) recursive dependency? I’m using the Xcode 8.0 beta6.
I worked around by symlinking the uninstalled build products directory to /Library/Frameworks and adding that as a search path to both projects, but presumably there’s a better way. Sorry for the noise if this has been discussed before, haven’t built SwiftFoundation for a while.
--www.lukehoward.com
soundcloud.com/lukehoward_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev at swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-corelibs-dev/attachments/20160818/f04a1dce/attachment.html>
More information about the swift-corelibs-dev
mailing list