On Mar 30, 2005, at 1:26 PM, Mark Thomas wrote: 1) What's the Concept of Resource's folder within Xcode, does that mean, anything which is within that item in the project will get copied into the my .app Resources folder ???.
The Resources group in Xcode is just a project organizing principle, it has nothing really to do with what gets built in your application. You can put your app resources anywhere in your project. The main point is that resources that are in the Copy Bundle Resources build phase (turn down Targets in your Groups & Files list, then turn down your application target) get copied into your app's Resources folder, and items in the ResourceManager Resources build phase get processed through Rez and ResMerger and put into the Resources folder. 2) Following on from this, How easy then is it to add different targets/project, where I have a resources folder filled with differen't files, as our application has differen't varitions of functionality depending on what's with the resources folder.
You can have different targets that all have the same settings but different selections of files in the Copy Bundle Resources and ResoourceManager Resources build phase. If you don't want a particular file in your current target, just uncheck its Target Membership checkbox in the Detail view. 3) How do you keep a project always using gcc 3.3, as I'm noticing with latest version of Xcode it will switch to gcc 4.0, but then when I switch back to an OS with gcc 3.3, then .o files cannot be used :-(.
Without disclosing details of an NDA product ( :-) ), there are two ways to set the compiler to use:
- sudo gcc_select <major>.<minor>
This sets the System Default Compiler for all projects and builds
- Select Target, choose Get Info, Rules tab, select "System C/C++ Rule", change to the version of gcc you want to use This usually makes you "copy" the rule first. Then just set the version in your copy; it overrides the system rule
Chris |