Search Issue Tracker

Fixed

Fixed in 2019.4.X

Votes

0

Found in

2019.4

2019.4.26f1

Issue ID

1339180

Regression

No

[macOS][Xcode] ARM64 architecture is expected when archiving project which is missing on Unity 2019.4

MacOS

-

How to reproduce:
1. Open the attached project
2. Open the Build Settings (File->Build Settings)
3. Enable the 'Create Xcode Project' option
4. Make a build
5. Open the Xcode project
6. In the Xcode editor, try to archive the project (Product->Archive)
7. Inspect the 'Buildtime' console

Expected result: Build is successful
Actual result: 'The linked and embedded library 'UnityPlayer.dylib' is missing one or more architectures required by this target: arm64.' error is thrown

Reproducible with: 2019.4.28f1
Not reproducible with: 2020.3.10f1, 2021.1.11f1, 2021.2.0a20 (ARM64 Platform is available in Build Settings and gets included)
Couldn't test with: 2018.4.36f1 (Couldn't create an Xcode project)

Note:
- Tested with Xcode 12.2

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.