• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Is it possible to run Unit tests in Xcode 5 with XCTest for libraries?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is it possible to run Unit tests in Xcode 5 with XCTest for libraries?


  • Subject: Is it possible to run Unit tests in Xcode 5 with XCTest for libraries?
  • From: David Hoerl <email@hidden>
  • Date: Mon, 24 Feb 2014 17:08:18 -0500

Under Xcode 4, I developed a static library and wrote a series of tests for it. Now, many months later and under Xcode 5, I'm trying unsuccessfully to get any of them to run. All I can seem to get in the console is:

Program ended with exit code: -1

I tried the new Test pane and CMD-U, no difference.

So I figured I'd hosed something up, and created a totally new static library project from scratch, added a single method to the generated class to add two numbers and return the result, then wrote a single test case to see if 1 + 2 == 3.

Same result as above. I also added an initialize method to the text case and the library class, but they are not called. I added an exception breakpoint, its never hit.

I googled but found nothing relevant.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Prev by Date: Re: automatically export trace data from instruments
  • Next by Date: Old Xcode default "Build" Directory & Time Machine
  • Previous by thread: Re: automatically export trace data from instruments
  • Next by thread: Old Xcode default "Build" Directory & Time Machine
  • Index(es):
    • Date
    • Thread