Search Issue Tracker
Duplicate
Votes
12
Found in
5.5.0p1
Issue ID
863216
Regression
Yes
[iOS] XCode fails to build Mono build for iOS with errors: "Use of undeclared identifier 'Unity', 'UI', 'TextRendering'"
Steps to reproduce:
1. Open User's attached project
2. Build for iOS
3. Open XCode
4. Build for selected Apple device (iPhone or iPad)
Result: Build fails due to the fallowing error in XCode:
RegisterMonoModules.cpp:3290:16: Use of undeclared identifier 'Unity'
RegisterMonoModules.cpp:3295:16: Use of undeclared identifier 'UI'
RegisterMonoModules.cpp:3302:16: Use of undeclared identifier 'UI'
RegisterMonoModules.cpp:3311:16: Use of undeclared identifier 'UI'
RegisterMonoModules.cpp:3314:16: Use of undeclared identifier 'UI'
RegisterMonoModules.cpp:3314:16: Use of undeclared identifier 'TextRendering'
Reproduced with: 5.6.0b3, 5.5.0p3
Not reproduced with: 5.4.3p3 (due to errors in the Console in Unity)
Note:
Build is successful for Android. The issue only appears in XCode.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “ValidateSchema Error2” error is thrown in the Player when using IL2CPP Scripting Backend
- Symbolic links disappear when a .xcframework file is added through the Unity Editor
- Errors regarding importing occur upon opening a project when the "Library" folder is deleted
- MeshRenderer.sortingLayerID cannot be changed when change is being done in a built Player
- Warnings related to App Icon are being thrown when building project to VisionOS Platform
Add comment