Search Issue Tracker

In Progress

Fixed in 2022.3.20f1, 2023.2.10f1, 2023.3.0b6

Fix In Review for 2024.1.X

Votes

0

Found in

2021.3.34f1

2022.3.18f1

2023.2.7f1

2023.3.0b4

Issue ID

UUM-60988

Regression

No

Duplicate linked flags are created when building a project for macOS using the “Create Xcode Project” option with the “IL2CPP” Scripting Backend

--

-

How to reproduce:
1. Open the user’s attached " ReproUnityDuplicateLinkFlags (1).zip" project (note that the “DuplicateLinkerTest.zip” project also demonstrates the issue, but it is really not the end-to-end workflow the user experiences, so it can be a bit confusing).
2. Possibly modify the code in Editor/BuildProcess.cs (depending on your Unity version, see the comment below)
3. Enable the “Create Xcode Project” setting in Build Settings
4. Make sure the Scripting Backend is set to “IL2CPP” in Player Settings
5. Build the project
6. Open the Xcode project and build it
7. Observe the result

Expected result: The project is built
Actual result: Build fails

Reproducible with: 2021.3.34f1, 2022.3.18f1, 2023.2.7f1, 2023.3.0b4

Reproduced on: macOS 13.6.3 (Intel)
Not reproducible on: No other environment tested

Notes:
- not reproducible with “Mono” Scripting Backend
- not reproducible on iOS, tvOS builds

  1. Resolution Note (fix version 2023.3.0b6):

    Fixed in: 2023.3.0b6

  2. Resolution Note (fix version 2023.2.10f1):

    Fixed in: 2023.2.10f1

  3. Resolution Note (fix version 2022.3.20f1):

    Fixed in: 2022.3.20f1

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.