Tony Eichelberger
Tony Eichelberger

Reputation: 7142

OCUnit on Snow Leopard VS Leopard

I am working on a iPhone project that just added a second developer. The new developer got a new shiny macbookpro with snow leopard and Xcode 3.2. I am still on leopard and using Xcode 3.1.

He is getting errors trying to run the unit tests (OCUnit and OCMock are being used).

The shell script as the last step of the Test Target fails with a -1.

Any ideas as to what is happening, or suggestions to fix?

It blows up calling RunTestsForBundle but that is where we get stumped. Is RunTestsForBundle a script, but I can't find it anywhere on my hard drive?

Upvotes: 1

Views: 300

Answers (2)

Tony Eichelberger
Tony Eichelberger

Reputation: 7142

It looks like OCMock was not setup correctly in the Tests target. I needed a copy files step in between the Compile Sources and Copy Bundle Resources for OCMock.

Upvotes: 0

Shawn Craver
Shawn Craver

Reputation: 1986

I haven't had problems myself, so I can't verify this, but I've heard that Xcode 3.2.1 (for iPhone OS 3.1.2) fixes some unit test related issues as well.

Upvotes: 1

Related Questions