Search Issue Tracker

Fixed in Unity 5.5.2

Votes

1

Found in

5.5.0p3

Issue ID

866194

Regression

Yes

XCode project has errors when building with Mono2x scripting backend and stripping enabled

iOS

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 2No workaround

To reproduce:
1. Open new project
2. Set build target to iOS
3. Set scripting backend to Mono 2x
4. Set Stripping level to anything other than "Disabled"
5. Build and open in XCode
6. Try building to device
Notice that there are errors:
"RegisterMonoModules.cpp
/IOS Build/Libraries/RegisterMonoModules.cpp:4090:16: Use of undeclared identifier 'Unity' (line 4090 RegisterMonoModules.cpp )
/IOS Build/Libraries/RegisterMonoModules.cpp:4097:16: Use of undeclared identifier 'UI' (line 4097 RegisterMonoModules.cpp )"

Reproduced on: 5.5.0b1, 5.5.0f2, 5.5.0p3, 5.6.0b1
Not reproduced on: 5.4.3f1, 5.6.0b2

Comments (1)

  1. 21512aef455faf8303bfaac17424e090?d=mm

    CulzeanHexWar

    Mar 28, 2017 15:44

    I have encountered this exact issue and I am using Unity 5.5.2f1.

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.