Search Issue Tracker

Fixed in 2019.3

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. 2975773f375ceb48a2d3856d486e79e8?d=mm

    ykurniawan42

    Oct 09, 2019 05:44

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

  2. 4c88095137a945bcffce52c2d592714c?d=mm

    Saicopate

    Jul 05, 2019 07:47

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

  3. 51623c5ba2d7468394521762e2cc7009?d=mm

    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. 69e3f89d3b320151d327c2ceeef7abf5?d=mm

    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.