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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a8
Resolution Note (fix version 2021.3):
Fixed in 2021.3.2f1