Search Unity

Simultaneous Android and iPhone development.

Discussion in 'General Discussion' started by SamohtVII, Jan 24, 2020.

  1. SamohtVII

    SamohtVII

    Joined:
    Jun 30, 2014
    Posts:
    370
    Is it possible to have a PC with an Android game version and a Mac with an Apple game version and push content between them through Git and have them not require the switch platform option every change and update?

    How do other people dev across both OS's?

    My game takes hours to swap between each so not ideal having to go through that every time.

    Thanks
     
  2. User340

    User340

    Joined:
    Feb 28, 2007
    Posts:
    3,001
    A few thoughts:

    Use the cache server in local mode. Will turn your few hours into few minutes.

    Develop for Android on Mac, it works well I do it all the time.
     
  3. bluescrn

    bluescrn

    Joined:
    Feb 25, 2013
    Posts:
    642
    Another option is to clone two copies of the project from Git to different folders. Set one to Android mode, and one to iOS mode.
     
    Ryiah and xVergilx like this.
  4. SamohtVII

    SamohtVII

    Joined:
    Jun 30, 2014
    Posts:
    370
    But when I push it will push the platform will it not? Or will a push while deving on android pull correctly and seamlessly into the Apple version?
     
  5. User340

    User340

    Joined:
    Feb 28, 2007
    Posts:
    3,001
    It won’t push the platform. No worries
     
  6. bluescrn

    bluescrn

    Joined:
    Feb 25, 2013
    Posts:
    642
    So long as your \Library folder is excluded from Git (which should be a normal part of everyone's Git setup for a Unity project), it should be fine
     
    User340 likes this.