• 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: about framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: about framework


  • Subject: re: about framework
  • From: George Warner <email@hidden>
  • Date: Wed, 03 Dec 2003 08:59:47 -0800

On Wed, 3 Dec 2003 17:59:43 +0800, "Chong Hiu Pun" <email@hidden>
wrote:
>   I make a framework and deploy into another MAC OS X 10.3 machine by copying
> the framework to /System/Library/Frameworks/My.framework) .

/System/Library/Frameworks belongs to Apple. You should put your framework
in /Library/Frameworks.

> The framework will
> open text file and do some processing. However, when my command-line program
> call this framework, it cannot located the text files (I placed the text files
> in the same directory of the executable) . If I copy those text files to the
> framework directory, the result is the same. How should I solve it? Thank you
> very much.

You should probably put the text files into the resources directory of the
framework and then use the bundle API's to find that directory to open those
files.
--
Enjoy,
George Warner,
Schizophrenic Optimization Scientists
Apple Developer Technical Support (DTS)
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Auto-complete
  • Next by Date: Framework Headers not Updating
  • Previous by thread: Re: about framework
  • Next by thread: Re: What to do about "clobbered by `longjmp' or `vfork'" warnings?
  • Index(es):
    • Date
    • Thread