For an iPhone/iPad app, what build settings do you make differently between the Debug and Distribution build? Please note any unique settings that you would do for iPhone only apps and iPad only apps.
Here is what I am doing currently (some already set by default by Xcode), but would like to gather an exhaustive list. The usual path stuff is not included in the list.
For adhoc and App Store distribution build:
- Enable Validate Build Product
- Set Optimization Level to fastest and smallest
- Assign Entitlements.plist to Code Signing Entitlements
- Strip Debug Symbols During Copy
- Add NS_BLOCK_ASSERTIONS=1 to "Other C Flags"
- For iPad only app, set Architectures and Valid Architectures to Optimized (arm7)
For debug build:
- Add DEBUG to Preprocessor Macros.