• 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: FreePascal unit in Cocoa project - debugger problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FreePascal unit in Cocoa project - debugger problems


  • Subject: Re: FreePascal unit in Cocoa project - debugger problems
  • From: "Alexander Bokovikov" <email@hidden>
  • Date: Thu, 9 Jul 2009 11:30:11 +0600

On Wed, 8 Jul 2009 11:46:37, Jonas Maebe wrote:

Now I have the only additional question - How to deal with nultiple
FPC units? Should I explicitly include all used fpc units into my
XCode project?

Yes.

Working with Delphi I never though about that. Is it FPC or XCode problem, that it is not enough to assign the units search path? May be it is worth of doing to place appropriate feature request?


Similarly, if you remove a unit from your program's
uses clauses, also  remove it from the target's list of
units (you don't have to remove it  from your project).

How to open this "target's list of units"? I don't see appropriate menu item. As for XCode tree, it contains only "project units", but not "target units".


Another thing: that "FPC Objective-C Cocoa" target always
has to have the same name as the Xcode project itself. So
make sure you keep them in sync in case you would rename
one or the other. Maybe this was the  cause of the strange
debugger behaviour you had earlier (Xcode was  probably still
using old object files).

Thank you for the advice, but I never changed these names. The only reason I can imagin, caused my problem might be my mistake in used unit inclusion into the project. I didn't include used unit into the project but opened it as a standalone source file. Then compiler gave an error, but when I tried to add that unit to the project (not to the target), the file was grey in the File Open dialog. So, I couldn't add it to the project, though I already closed it as a standalone source file. It looks like a XCode bug.


Thank you!

-Alex.

_______________________________________________
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: FreePascal unit in Cocoa project - debugger problems
      • From: Jonas Maebe <email@hidden>
  • Prev by Date: Re: PB Newbie Again
  • Next by Date: Re: FreePascal unit in Cocoa project - debugger problems
  • Previous by thread: Re: FreePascal unit in Cocoa project - debugger problems
  • Next by thread: Re: FreePascal unit in Cocoa project - debugger problems
  • Index(es):
    • Date
    • Thread