[swift-users] Testing Objective C with swift and XCTest - Ubuntu

Mish Awadah mawadah at apple.com
Mon Jan 11 19:58:10 CST 2016

You won’t be able to run XCTest on Objective-C code on Linux. XCTest for Objective-C is only supported on Mac OS.

- mish

> On Jan 11, 2016, at 4:39 PM, Atith Alur via swift-users <swift-users at swift.org> wrote:
> Swift Team,
> I am trying to build a web IDE where users can compile and execute Objective C and Swift Code. And, also, I want users be able to test their code with the help of some unit test suite
> I cannot use OS X server to host this web app because of some valid reasons.
> So, I am trying to make things work on Ubuntu 14.04
> So far I have installed Ubuntu 14.04 version of swift and am able to build swift application using Swift Package Manager.
> Can you please let me know how to test Object C code with swift (XCTest)
> I am trying to maintain same test suite for both Swift and Objective C
> Please let me know if this is achievable or I have to use different test suite for Objective C
> Waiting for your reply 
> Thanks,
> Atith Alur
>  _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160111/208926f2/attachment.html>

More information about the swift-users mailing list