[swift-corelibs-dev] XCTest Build is failing for Dev environment

Tapan Prakasht tapanprakasht at gmail.com
Sun Apr 23 08:56:10 CDT 2017


Hi,

I am new to this mailing list.

I am trying to build XCtest project. I followed every step mentioned
in the documentation.  I have executed the following command. But
build got failed.

../swift/utils/build-script --preset corelibs-xctest

Error:

** BUILD FAILED **


The following build commands failed:
Ld
/Users/tapan/swift-source/build/Ninja-ReleaseAssert/xctest-macosx-x86_64/Release/SwiftFoundation.framework/Versions/A/SwiftFoundation
normal x86_64
(1 failure)
Traceback (most recent call last):
  File "/Users/tapan/swift-source/swift-corelibs-xctest/build_script.py",
line 526, in <module>
    main()
  File "/Users/tapan/swift-source/swift-corelibs-xctest/build_script.py",
line 522, in main
    parsed_args.func(parsed_args)
  File "/Users/tapan/swift-source/swift-corelibs-xctest/build_script.py",
line 98, in build
    source_dir=SOURCE_DIR))
  File "/Users/tapan/swift-source/swift-corelibs-xctest/build_script.py",
line 31, in run
    subprocess.check_call(command, shell=True)
  File
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'xcodebuild -workspace
/Users/tapan/swift-source/swift-corelibs-xctest/XCTest.xcworkspace -scheme
SwiftXCTest -configuration Release
SWIFT_EXEC="/Users/tapan/swift-source/build/Ninja-ReleaseAssert/swift-macosx-x86_64/bin/swiftc"
SWIFT_LINK_OBJC_RUNTIME=YES
SYMROOT="/Users/tapan/swift-source/build/Ninja-ReleaseAssert/xctest-macosx-x86_64"
OBJROOT="/Users/tapan/swift-source/build/Ninja-ReleaseAssert/xctest-macosx-x86_64"'
returned non-zero exit status 65
../swift/utils/build-script: fatal error: command terminated with a
non-zero exit status 1, aborting
../swift/utils/build-script: fatal error: command terminated with a
non-zero exit status 1, aborting


My dev environment is MacOS Sierra 10.12.4 (16E195)
Xcode 8.3.2

Can somebody help here?

Thanks,
Tapan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-corelibs-dev/attachments/20170423/090c6fae/attachment.html>


More information about the swift-corelibs-dev mailing list