iPhone Programming - Linking sub-projects

This forum is intended to enable people developing products using the PISD Libraries to recieve easy technical support and also to ask general questions about the libraries to other people using them.
Post Reply
User avatar
PISD Support
Moderator
Posts: 26
Joined: Thu 21 May, 2009 4:19 pm

iPhone Programming - Linking sub-projects

Post by PISD Support »

There's already an iPhone programming thread but there are so many 'gotcha's' associated with using multiple projects in one that I thought this required a seperate thread.

Simply put it is fairly normal for people to make programs which are reliant upon other programs which create libraries which the main program then links with. Xcode and the iPhone support this ..... somewhat.

Be warned though there are lots of oddities associated with using this setup.

Changing from Release to Debug (and vice versa)
If you decide to switch to a different build type make sure you go through ALL sub-projects and check they have the desired setting for the build. If you fail to do this then you will find that the build will fail - most normally with an obscure and unhelpful error (often about the 'plist' executable file being set as '(null)' - yeah I thought it was 'helpful' myself ;) ).
Post Reply