Search Issue Tracker

Fixed in 2022.2.X

Fixed in 2021.3.X

Votes

0

Found in

2022.1.0b7

Issue ID

1402105

Regression

No

[iOS] Doing 'Build And Run' for iOS project on Apple Silicon sets 'My Mac' as the target device even if iOS device is connected

iOS

-

Steps to reproduce:

1. Open new Unity project on a Mac with Apple Silicon chip
2. Switch to iOS
3. Open 'Build Settings' window
4. Click 'Build And Run'

Expected result: Unity generates the Xcode project, launches Xcode and builds it to one of the connected iOS devices.
Actual result: Unity generates the Xcode project, launches Xcode and builds to 'My Mac' instead of an iOS device.

Notes:
If you simply do 'Build' and open the generated Xcode project manually - one of the connected iOS devices will be correctly selected as the target device (even if there are no iOS devices connected, opening manually doesn't select 'My Mac' as the target, instead just sets 'Any iOS Device').
Does not reproduce on Intel Macs as Xcode doesn't offer 'My Mac' as a target.

Reproduced with: 2022.1.0b7, 2022.2.0a4

  1. Resolution Note (fix version 2022.2):

    Fixed in 2022.2.0a8

  2. Resolution Note (fix version 2021.3):

    Fixed in 2021.3.2f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.