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

Re: Newbie Confusion


  • Subject: Re: Newbie Confusion
  • From: Jens Miltner <email@hidden>
  • Date: Thu, 6 May 2004 23:23:00 +0200

Am 06.05.2004 um 22:09 schrieb Bryan Christianson:

I am new to XCode and going through the somewhat painful process of migrating a medium sized PowerPlant project from CodeWarrior to XCode. The application is now successfully building but I am a little confused over a couple of things.

1. Differentiation between Development and Deployment builds
I like to keep my 'debug' and 'final' versions in close sync, Should I create a second Target for this as switching between Development and Deployment in a single Target only seems to work correctly if I force a complete recompilation by first performing 'Clean' operation. This rather time consuming to say the least.

Depends on the way you handle your builds: If you need to build both versions on a single machine each day, it might be more efficient to keep two targets.
OTOH, if you have a dedicated machine to build the deployment versions, a single target is certainly easier to maintain.
If you keep two targets, you'll have to remember to add files to both targets, keep the [common] build settings in synch, etc.
The bottom line is: you're very flexible in your approach, and in fact the build style approach is a nice approach for many solutions, but you're in no way bound to have two build styles if you want to work in a CodeWarrior-like setup with two targets... it's up to you and your production environment what better suits you.



2. The Deployment code file seems to be about 3 times the size of that generated by CodeWarrior. i.e 6MB as compared with 2MB.

Last time I took a look Xcode / gcc apparently didn't do dead-code stripping (or at least it didn't do a good job). PowerPlant projects tend to have almost all of PowerPlant's sources included and rely on CodeWarrior's more advanced dead-code stripping to remove code that is never used, so you may be able to strip down your final code size by removing unneeded parts of PowerPlant from your project...


</jum>
_______________________________________________
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.


References: 
 >Newbie Confusion (From: Bryan Christianson <email@hidden>)

  • Prev by Date: Newbie Confusion
  • Next by Date: Cant build
  • Previous by thread: Newbie Confusion
  • Next by thread: Cant build
  • Index(es):
    • Date
    • Thread