Hey all.
At the moment I’m developing an update to our game and we’ll be making both a free and a paid version for the app store.
Inside of Xcode I need to have multiple targets for both iPhone and iPad. So 4 in total: iPhone free, paid, and iPad free and paid. I have no idea how to do this as I haven’t used Xcode a lot except for building a single Unity project. So:
-
Does anyone know how to create multiple targets in Xcode for Unity projects, does it need to be multiple projects (I assume so as the functionality is different between the free and the paid versions). Could someone point me to some good resources on this specifically to Unity?
-
Is there a way to have just one Unity project but simply detect whether we’re building the free or paid version / iPhone or iPad version in Xcode. From that point we would then disable / enable functionality without needing to maintain 4 code bases?
-
As there’s only one place to set the icon in Unity. Is there a way to get multiple icons depends on the build target, so for example I could include a ‘free’ version icon as well? Or would this just be done in XCode?
-
As I’m planning to support multiple languages for each version, is there a way to detect the language setting of the iPhone / iPad from within Unity? That way I could just load in the different text / texture assets based off the language.
Thanks in advance for any advice
- M