Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-14-2009, 08:29 PM   #1 (permalink)
farhadf
New Member
 
Join Date: Jun 2009
Posts: 19
Default UIKIt requires garbage collection? Huh?

I'm running test cases with the SenTestKit framework. When I add the UIKit.framework to my test target and run it with debugger, the debugger fails with the following message:

Code:
2009-07-14 17:09:17.793 otest[45997:813] The test bundle at Test.octest could not be loaded because its Objective-C runtime information does not match the runtime information required by the test rig.  This is likely because the test rig is being run with Objective-C garbage collection disabled, but the test bundle requires Objective-C garbage collection.  To enable Objective-C garbage collection for the test rig, run it in an environment without the OBJC_DISABLE_GC environment variable.
2009-07-14 17:09:17.817 otest[45999:203] *** NSTask: Task create for path '/Users/ff/dev/iphone/play/testApp/build/Debug-iphonesimulator/Test.octest/Test' failed: 8, "Exec format error".  Terminating temporary process.
When I remove the UIKit framework from the test target, all works well. But the iphone doesn't have GC, so how could the UIKit need it. Furthermore, my actual app works fine - it's just the test cases that fail. I'm confused.

Any thoughts appreciated
farhadf is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,862
Threads: 89,223
Posts: 380,683
Top Poster: BrianSlick (7,129)
Welcome to our newest member, higgey
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:30 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.