Search Issue Tracker

Fixed in 2019.3.X

Votes

6

Found in

2019.3.0a2

2019.3.0a3

Issue ID

1156704

Regression

Yes

[iOS][UaaL] Empty project with Script Debugging fails to build via Xcode because it's missing symbols during linking

Mobile

-

How to reproduce:
1. Create new empty project
2. Switch player to iOS
3. Remove or update Ads package
4. Enable Development build and Script Debugging
5. Build Unity project
6. Open project via Xcode and try to build it
Result: build fails because it is missing symbols during linking
Undefined symbols for architecture arm64:
“_mono_log_open_asl”, referenced from:
_mono_trace_set_logdest_string in libil2cpp.a(External_il2cpp_il2cpp_external_mono_mono_utils_0.o)
“_mono_log_write_asl”, referenced from:
_mono_trace_set_logdest_string in libil2cpp.a(External_il2cpp_il2cpp_external_mono_mono_utils_0.o)
“_mono_log_close_asl”, referenced from:
_mono_trace_set_logdest_string in libil2cpp.a(External_il2cpp_il2cpp_external_mono_mono_utils_0.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Reproducible: 2019.3.0a3, 2019.3.0a2
Not reproducible: 2019.3.0a1

This issue is caused by UaaL feature, which was merged to a2.

Note: On Android project builds and runs without issues

Comments (4)

  1. ykurniawan42

    Oct 09, 2019 05:44

    Thanks @transat, It works by setting "Enable Testability" to No in Xcode.

  2. Saicopate

    Jul 05, 2019 07:47

    This bug is very unsettling. No chance for proper debugging (AR Foundation).

  3. transat

    Jun 16, 2019 02:29

    Also getting this in 2019.2.0b5 but managed to get past the errors by setting "Enable Testability" to No in Xcode.

  4. shark812

    Jun 11, 2019 22:34

    how to temp fix those errors?

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.