• 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
Source file names in binary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Source file names in binary


  • Subject: Source file names in binary
  • From: Duncan Wilcox <email@hidden>
  • Date: Sun, 10 Jul 2005 10:46:52 +0200

Hi there, I just signed up, hopefully this isn't a FAQ (looked in the archives and googled around a bit).

I understand that using __FILE__-using macros (like assert) will produce a filename constant string, but I don't have asserts in all sources (and I kill asserts in deployment builds), so there's something else generating the source file name.

For example:

strings /Applications/TextEdit.app/Contents/MacOS/TextEdit | grep \\.m

shows no source file, but if I build TextEdit from the sample code (xcode 2.1 on Tiger, with an upgraded project file) the source file names are indeed visible:

/Users/duncan/Desktop/TextEdit copy/Document.m
/Users/duncan/Desktop/TextEdit copy/DocumentReadWrite.m
/Users/duncan/Desktop/TextEdit copy/Controller.m
/Users/duncan/Desktop/TextEdit copy/ScalingScrollView.m
/Users/duncan/Desktop/TextEdit copy/MultiplePageView.m
/Users/duncan/Desktop/TextEdit copy/Preferences.m
/Users/duncan/Desktop/TextEdit copy/EncodingManager.m

What magic build option do I have to set to prevent source file names from being output to the final binary?

Thanks,
Duncan

_______________________________________________
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


  • Follow-Ups:
    • Re: Source file names in binary
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: Asm blocks not working?
  • Next by Date: Re: [OT] What kind of data is is returned by 'new' ?
  • Previous by thread: Re: Asm blocks not working?
  • Next by thread: Re: Source file names in binary
  • Index(es):
    • Date
    • Thread