I have been working on my first Unity project. I need to do some debugging on iOS and it seems like the process is extremely clunky. I wondered if I was missing something that would streamline it. Right now it takes me about 2.5 minutes from making a code change to testing it in the debugger.
Note: this is when developing on a Mac.
Here is what I'm doing.
In the Unity Editor, type Cmd-B to set off a "Build And Run". I have previously set the build platform to be iOS. It then takes about 1.5 minutes to create iPhone Player Xcode project.
In Xcode, I press the Run button. This compiles the iPhone Player code, installs it on my iOS device, and runs it. I get a message saying "You can attach a managed debugger now if you want". This takes about 20-30 seconds.
Now I go to Rider (which I use rather than Visual Studio) and choose the Run > Atttach To Unity Process menu item. This bring up a panel where I need to choose the correct process to debug. This adds maybe 10 seconds.
Click the OK button on iOS where it is waiting to have a debugger connected and wait a few seconds for the app to complete launching.
Is the process really this clunky? When debugging something and doing iterative changes, this 2.5 minute turn around time is really painful. Is that just the way it is?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…