I need to build a separate iPhone and iPad app with different identifiers and am curious to know if it’s possible to have my info.plist contain both required entries in it so I don’t have to remember to change things when executing a build.
I know you can do this for various resources and mappings on iOS such as:
<key>ApplicationName</key>
<string>My iPhone App</string>
<key>ApplicationName~ipad</key>
<string>My iPad App</string>
Would it be possible to have this work for different bundle names too, or will I need to have a separate plist file and build target entirely?
You can have multiple targets and a single info.plist. You can change the bundle name (and many other parameters) in the plist by setting their values via parameters set in each target’s build settings.