• 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
Re: Error running unit test of framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error running unit test of framework


  • Subject: Re: Error running unit test of framework
  • From: Jason Sallis <email@hidden>
  • Date: Sat, 3 May 2008 11:10:10 -0600

Try changing your unit test target Build setting for Architectures to 'Native Architecture of Build Machine'. That seemed to fix the same problem for me.

- Jason

On 3-May-08, at 8:08 AM, Rakesh Vidyadharan wrote:

I am a beginner with Objective-C and XCode (3.0). To get started I created a simple framework that represents the data model and logic engine for a simple game I am writing. I am now writing some simple unit tests for the core framework. I went through the unit test documentation provided by Apple to set up my test. However, I could not get very far with the unit test. It seems to be an error in invoking the framework rather than an issue with my code (mainly because I do not see any output related to test case execution, although I do see the test case getting compiled). The following is the error I get:

"error: Failed tests for architecture 'i386' (GC OFF)" at line 376 in RunPlatformUnitTests.include.

I get the same error when I try to run the tests on my G5 (with PPC instead of i386).

Can someone point in the right direction as to the cause of this error. I am assuming this has something to do with settings for my Test target.

Thanks
Rakesh


_______________________________________________ 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

_______________________________________________ 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
References: 
 >Error running unit test of framework (From: Rakesh Vidyadharan <email@hidden>)

  • Prev by Date: Re: Compiler warning - totally stumped
  • Next by Date: Re: Error running unit test of framework
  • Previous by thread: Error running unit test of framework
  • Next by thread: Re: Error running unit test of framework
  • Index(es):
    • Date
    • Thread