iOS - Build & Run not Working? [Profiler]

Hello,

I’ve been searching around the web to try and resolve my issue, but I struggled to find an actual answer.

Basically, when I have a Unity project for Android, and I hit ‘Build & Run’, Unity will build for the platform as well as run the app as well as connect the app to Unity’s Profiler.

However, I can’t seem to do the same for iOS. I can build normally, and then run from Xcode just fine. But I really would like to profile my game running on iOS so I can optimise the game.

Any ideas as to why this isn’t working? When I hit Build & Run, it just creates an Xcode project, and that’s it. It doesn’t even run automatically (unless I hit play within Xcode).

Note : The build itself works absolutely fine. All I want is to Profile my game within Unity, running on iOS.

Thanks.

Hi Oliver.

I had this issue too when I upgraded to the latest build of Xcode.

At least for me the issue was described in the Unity Console in some sort of cryptic way, hidden in the other messages. For me it is “Unity xcode plugin has not current Xcode in its compatibility list.”
For me it builds the project fine, but never opens it in Xcode at all, I just get the loading screen now.

It will then run in Xcode if I manually find the project and open it.

Is this the same thing for you?
If so I know the answer, but never bothered to resolve it as it think the next release of Unity will sort this, though it is possible to manually resolve.