• 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: Sharing Xcode precompiled headers across projects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sharing Xcode precompiled headers across projects


  • Subject: Re: Sharing Xcode precompiled headers across projects
  • From: Alexander von Below <email@hidden>
  • Date: Tue, 17 Jan 2006 20:41:05 +0100

On 17.01.2006, at 19:32, Steve Baxter wrote:

Hi,

I have a set of about 80 projects - a shared framework, 2 applications and about 77 modules. These projects all use the same prefix file.

The problem is that Xcode precompiles a prefix file for each of my projects. This is very slow, and at 40MB/project is going to cause me trouble with disk space on my laptop machine. How can I get Xcode to share precompiled headers across multiple projects?

I assume you have looked at this: http://developer.apple.com/ documentation/DeveloperTools/Conceptual/XcodeUserGuide/Contents/ Resources/en.lproj/05_09_bs_speed_up_build/ chapter_35_section_2.html#//apple_ref/doc/uid/TP40002695- DontLinkElementID_175


As I not have that many projects at a time, I did not bother to change all my projects to use the same file and compiler options. Therefore, I can not speak from experience.

However, I would be very interested to hear if you had any success with your setup. Maybe we can save some time and space, too.

Alex


On another note, Xcode seems to rebuild the precompiled header if I look at the settings for a project (look but don't change). Firstly surely it should be smart enough not to recompile this unless it really has to, secondly why is looking at settings for a project or target causing the project.pbxproj to get touched?


This is a really big problem as it can take over 30 minutes to rebuild the larger projects from scratch!

Cheers,

Steve.

Stephen Baxter
Software Development Manager
Improvision
email@hidden
+44-2476-692229


_______________________________________________ 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

_______________________________________________ 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
References: 
 >Sharing Xcode precompiled headers across projects (From: Steve Baxter <email@hidden>)

  • Prev by Date: Re: -O3 vs. -Os
  • Next by Date: Re: -O3 vs. -Os
  • Previous by thread: Sharing Xcode precompiled headers across projects
  • Next by thread: [FAQ] Sharing Xcode precompiled headers across projects
  • Index(es):
    • Date
    • Thread