Search Issue Tracker
By Design
Votes
1
Found in
2022.3.16f1
2023.2.3f1
2023.3.0a18
6000.0.0b11
Issue ID
UUM-59417
Regression
No
[iOS] "Run Script" task is being duplicated when doing an "Append" build on top of a previous build
How to reproduce:
1. Build the attached “BugReport.zip” project for iOS platform
2. Build the project for the iOS platform again and select “Append” when building
3. Open Xcode project
4. Open Unity-iPhone > Build Phases and select “GameAssembly” in the Targets
5. Observe the result
Expected result: one “Run Script” task
Actual result: two “Run Script” tasks
Reproducible with: 2022.3.16f1, 2023.2.4f1, 2023.3.0b1
Could not test with: 2021.3.33f1 (No “GameAssembly” in the Targets)
Reproduced on: macOS 13.6.3 (Intel)
Not reproducible on: No other environment tested
Note: not reproducible if pressing “Replace” when building the second time
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
- Text render issues and various exceptions in TextCore when using TextSettings option "Match Material Presets"
- NullReferenceException error is thrown when unpacking multiple instances of the same UI Document
- URP Decal Projectors don't render when they are hidden in the Hierarchy, unlike other GameObjects
- Reflection Probe “adjusting number of stops to over or under expose the texture” setting does not update in Scene realtime
- UI Toolkit rendered text breaks when toggling FontWeight styles through code
Resolution Note:
The reproduction project modifies IL2CPP build script, in turn Unity detects that the original script (in its original form) does not exists and adds it again.
The existing shell script phase should not be modified. A new script should be added instead: https://docs.unity3d.com/ScriptReference/iOS.Xcode.PBXProject.AddShellScriptBuildPhase.html