Individual files can be assigned to none, one, or many build targets (Right click -> Get Info).
Pre-processor tags are rarely needed for the job. The multiple target system in XCode takes care of most of the differences.
So in brief:
- Create a new target
- Make a copy of the Info.plist file and configure the new target accordingly
- Ensure that files are allocated to the right target
- For files that need to have the same name but different content for each target (e.g. Icon.png), put them in separate folders and assign the files to different targets. They will all end up in the root folder in the compiled package eventually anyway.
No comments:
Post a Comment