Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debug library suffix (_debug) in Xcode 2.2?



Greetings,

Can anyone get Xcode to use the debug versions of the system frameworks
under Xcode 2.2 and OS X 10.4.3?  This used to work for me under Xcode
2.1 and 10.4.2.  (I don't know which upgrade broke it, though.)

The problem (rdar://4353121) is pretty easily reproducible, at least on
my system:
   1.  Create a new Carbon application
   2.  Under Project menu, select "Edit Active Executable"
   3.  Under the "Use [...] suffix when loading frameworks,"
       select "debug" from the popup menu
   4.  Close the window, build the project, try to run it under the
       Xcode debugger.
   5.  Execution fails with SIGTRAP, with the following message:

dyld: Library not loaded: /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync_debug
Referenced from: /System/Library/Frameworks/ ApplicationServices.framework/Versions/A/ApplicationServices_debug
Reason: image not found


This used to "just work" on earlier versions. Unfortunately, I upgraded
the system and Xcode at approximately the same time, so I don't know which
one was the culprit. (It is also possible that my system is just broken
somehow, although I don't know why that would be the case.)


I have already reported this problem as a bug (rdar://4353121), but
I am hoping that perhaps someone can offer a workaround (or point out
what the problem is, if it is my fault somehow).  The only workaround
that I know of is to just turn off the debug variants, in which case
things work again.  However, using the debug variants can be very
helpful (as elaborated upon in TN2124), and I would really like to
have the benefit of this handy feature again, if possible.

--
James Black (email@hidden) ************
University of Texas at Austin, Physics Computer Group
(512) 471-5821   RLM 7.126   Campus mail code:  C1600

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.