Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Build and Run doesn't automatically tell XCode to build and run

Discussion in 'iOS and tvOS' started by DreamPower, Apr 16, 2020.

  1. DreamPower

    DreamPower

    Joined:
    Apr 2, 2017
    Posts:
    86
    The 'Build and Run' option is only building the XCode project and opening it, it doesn't trigger the XCode build and run process, I have to manually press the Play ("Build and then Run the current Scheme") button in XCode. I am using Unity 2019.3.9, XCode 11.4.
     
  2. samifruit514

    samifruit514

    Joined:
    Mar 27, 2015
    Posts:
    28
    I have the same problem. Did you manage to make it run automatically? At least if I could have a way to build automatically, it would save me a lot of time. Running (installing) the game takes few seconds
     
    Last edited: May 27, 2020
  3. DreamPower

    DreamPower

    Joined:
    Apr 2, 2017
    Posts:
    86
    I updated to a newer version of Unity, and that fixed it. Also, if I choose to "Replace" the build rather than "Append", I have to choose my iOS device in the XCode project before it will automatically build after Unity's build.
     
unityunity