For an iPhone / iPad application, what build settings do you do differently between Debug and Distribution builds? Pay attention to any unique settings that you will only make for iPhone and iPad apps.
Here is what I am doing at present (some are already set by default to Xcode), but would like to put together an exhaustive list. Normal path information is not included in the list.
To build adhoc and the App Store:
- Enable product build verification
- Set optimization level for fastest and smallest
- Assign Entitlements.plist for code signing rights
- Debugging debugging characters while copying
- Add NS_BLOCK_ASSERTIONS = 1 to "Other Flags C"
- For iPad application only, set “Architectures” and “Trusted Architectures” to “Optimized” (arm7).
To build debugging:
- Add DEBUG to the preprocessor macros.
source share