Re: [swift-corelibs-dev] [XCTest] Cannot build using XCode

2016-07-05 Thread Brian Gesiak via swift-corelibs-dev
Yup, update-checkout should get everything you need! On Tue, Jul 5, 2016 at 10:35 PM -0400, "Madhu Samuel" wrote: Thanks for getting back on that. Just a quick check. I can get the latest master branch from all needed repos' using swift/utils/update-checkout, rt?. Or do I need to

Re: [swift-corelibs-dev] [XCTest] Cannot build using XCode

2016-07-05 Thread Madhu Samuel via swift-corelibs-dev
Thanks for getting back on that. Just a quick check. I can get the latest master branch from all needed repos' using swift/utils/update-checkout, rt?. Or do I need to explicitly checkout from each repo? On Wed, Jul 6, 2016 at 10:35 AM, Brian Gesiak wrote: > Looks like our continuous integration

Re: [swift-corelibs-dev] [XCTest] Cannot build using XCode

2016-07-05 Thread Brian Gesiak via swift-corelibs-dev
Looks like our continuous integration server works fine: https://github.com/apple/swift-corelibs-xctest/pull/132 Madhu, are you sure you're using the latest master branch commit on each of the apple/swift repositories? Specifically, you should pull down the latest changes on: swift, swift-llvm, sw

Re: [swift-corelibs-dev] [XCTest] Cannot build using XCode

2016-07-05 Thread Brian Croom via swift-corelibs-dev
Hmm, it does look like XCTest needs some work done to get things working with the latest Swift 3 changes made in the stdlib and corelibs-foundation. I don't have access to a development environment to investigate further, but as far as I can tell, this wouldn't build on Linux either. Has there been

Re: [swift-corelibs-dev] [XCTest] Cannot build using XCode

2016-07-01 Thread Madhu Samuel via swift-corelibs-dev
I just found more error details in the log. You can find it below. Hope this helps. Error 1 -- CompileSwift normal x86_64 /Users/madhusamuel/dev/swift/swift-corelibs-xctest/Sources/XCTest/Public/XCTestMain.swift cd /Users/madhusamuel/dev/swift/swift-corelib

Re: [swift-corelibs-dev] [XCTest] Cannot build using XCode

2016-07-01 Thread Madhu Samuel via swift-corelibs-dev
Hi Brian, Thanks for you response. Still I cannot compile corelibs-xctest with xcode-beta. It seems the error is too generic to debug! If xctest is not yet configured against xcode 8 beta, probably, I will wait. At this point, I am lazy to create my own toolchain, since my last attempt went bust!

Re: [swift-corelibs-dev] [XCTest] Cannot build using XCode

2016-06-30 Thread Brian Gesiak via swift-corelibs-dev
Madhu, Sorry for the late reply to this -- I obviously need to update my email settings! :( Could you pull down the latest changes to Swift, and let me know if you're still experiencing difficulties compiling corelibs-xctest? - Brian Gesiak On Tue, Jun 21, 2016 at 12:03 AM, Madhu Samuel wrote

Re: [swift-corelibs-dev] [XCTest] Cannot build using XCode

2016-06-20 Thread Madhu Samuel via swift-corelibs-dev
Wow, the swift build is a success. Though there are a few warnings at the end. I guess the issue was with cached values in the build directory. But, in the next step to build xctest using "/utils/build-script --preset corelibs-xctest", the build fails. The build error log is given below.

Re: [swift-corelibs-dev] [XCTest] Cannot build using XCode

2016-06-20 Thread Madhu Samuel via swift-corelibs-dev
Hi Brian Croom, Thanks for the quick response. I deleted the entire build directory now. Initiated a new build. Fingers crossed... Will update the status as soon as the build finishes. On Tue, Jun 21, 2016 at 12:31 PM, Brian Croom wrote: > Hmm, have you tried deleting your `build/swift-macosx-

Re: [swift-corelibs-dev] [XCTest] Cannot build using XCode

2016-06-20 Thread Madhu Samuel via swift-corelibs-dev
code-select -print-path` prints out the path to Xcode > 8...? > > - Brian Gesiak > > > > > _ > From: Madhu Samuel > Sent: Monday, June 20, 2016 10:22 PM > Subject: Re: [swift-corelibs-dev] [XCTest] Cannot build using XCode > To: Brian C

Re: [swift-corelibs-dev] [XCTest] Cannot build using XCode

2016-06-20 Thread Brian Gesiak via swift-corelibs-dev
ific error, unfortunately. Perhaps double-check that `xcode-select -print-path` prints out the path to Xcode 8...? - Brian Gesiak _ From: Madhu Samuel Sent: Monday, June 20, 2016 10:22 PM Subject: Re: [swift-corelibs-dev] [XCTest] Cannot build using XCode

Re: [swift-corelibs-dev] [XCTest] Cannot build using XCode

2016-06-20 Thread Brian Croom via swift-corelibs-dev
Hmm, have you tried deleting your `build/swift-macosx-x86_64/` directory? I wonder if cached CMake values could cause that issue. (By the way, I can confirm that getting the build going for the first time is the most challenging! I hope we can get things going for you soon.) 2016-06-20 22:22 GMT-

Re: [swift-corelibs-dev] [XCTest] Cannot build using XCode

2016-06-20 Thread Madhu Samuel via swift-corelibs-dev
So after spending almost a week trying to build swift and core libraries (mainly xctest) during the end of May un-successfully, I made up my mind to give another attempt today. I checkout the latest code from swift repo. Since the xctest documentation says, "Confirm you're able to build the Swift

Re: [swift-corelibs-dev] [XCTest] Cannot build using XCode

2016-05-29 Thread Madhu Samuel via swift-corelibs-dev
Wow, that was a quick response. Thanks Brian Gesiak and Brian Croom. My first quick attempt using build-toolchain script to build my own tool chain failed. Anyway I will give it another try and let you know the status. smime.p7s Description: S/MIME cryptographic signature

Re: [swift-corelibs-dev] [XCTest] Cannot build using XCode

2016-05-29 Thread Madhu Samuel via swift-corelibs-dev
Wow, that was a quick response. Thanks Brian Gesiak and Brian Croom. My first quick attempt using build-toolchain script to build my own tool chain failed. Anyway I will give it another try and let you know the status. On Mon, May 30, 2016 at 1:52 AM, Brian Croom wrote: > That's right, breaking

Re: [swift-corelibs-dev] [XCTest] Cannot build using XCode

2016-05-29 Thread Brian Croom via swift-corelibs-dev
That's right, breaking changes have been made to Swift since the latest toolchain snapshot was released, and Corelibs Foundation has been updated accordingly. Until the next snapshot, an alternative to building your own toolchain would be to check out an older commit of Foundation which still buil

Re: [swift-corelibs-dev] [XCTest] Cannot build using XCode

2016-05-29 Thread Brian Gesiak via swift-corelibs-dev
Madhu, Oy, my bad -- I only just noticed you put the toolchain version at the bottom of your original email. It's possible the May 9th toolchain is already too old to build XCTest. I'll double-check myself. In the meantime, you may want to try building your own toolchain and using that. - Brian

Re: [swift-corelibs-dev] [XCTest] Cannot build using XCode

2016-05-29 Thread Brian Gesiak via swift-corelibs-dev
Madhu, Thanks for the report! The main difference between the build scripts (which use xcodebuild) and using Xcode itself is the version of Swift that is used. The build scripts build a Swift 3.0 compiler, then use that to build XCTest. When using Xcode directly, you need to select a recent Swif

[swift-corelibs-dev] [XCTest] Cannot build using XCode

2016-05-29 Thread Madhu Samuel via swift-corelibs-dev
Hi All, I am new to this forum. I am trying to build the xctest project. I followed the instructions at https://github.com/apple/swift-corelibs-xctest I am able to successfully build via the build scripts. But, if I build XCTest using xcode using the SwiftXCTest scheme I am getting a few errors.