SpaceMadness / lunar-unity-plugin

A UNIX/Quake3 style command line interface to Unity editor
74 stars 8 forks source link

IOS Build Error: Undefined symbols for architecture arm64 - Unity 2020.2.3f1 #11

Closed Stephan-FDG closed 3 years ago

Stephan-FDG commented 3 years ago

Hello,

we have a problem with building for iOS due to problems with LunarConsole and we kindly ask for support.

We are using Version 1.6.6 and our Unity version 2020.2.3f1

This is what our Jenkins has to say

Jenkins Error Report Undefined symbols for architecture arm64 Symbol: ___lunar_console_destroy Referenced from: _PlatformIOS___lunar_console_destroy_mF96DF6D11272F4F20E1895689DE59AE4D4F1D48A in LunarConsole.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

And this is what Xcode reports if I build it manually

Xcode Error Report Undefined symbols for architecture arm64: "___lunar_console_destroy", referenced from: _PlatformIOS___lunar_console_destroy_mF96DF6D11272F4F20E1895689DE59AE4D4F1D48A in LunarConsole.o _PlatformIOS_Destroy_mCF8483A5052E1FC66A62DE0BC770A2770E101A05 in LunarConsole.o (maybe you meant: _PlatformIOS___lunar_console_destroy_mF96DF6D11272F4F20E1895689DE59AE4D4F1D48A) "___lunar_console_action_unregister", referenced from: _PlatformIOS___lunar_console_action_unregister_mB2837AC6C328E2E4CB4B66F05475EFF301574C9E in LunarConsole.o _PlatformIOS_OnActionUnregistered_mEBF52C6D2BFA8AEEE086BAAD280DC810A870CE84 in LunarConsole.o (maybe you meant: _PlatformIOS___lunar_console_action_unregister_mB2837AC6C328E2E4CB4B66F05475EFF301574C9E) "___lunar_console_action_register", referenced from: _PlatformIOS___lunar_console_action_register_m7A4A0225353457AF46760F835D76599C026D56D0 in LunarConsole.o _PlatformIOS_OnActionRegistered_m506ADDCE662DAC477F35DB4B0F59BA4411C6167C in LunarConsole.o (maybe you meant: _PlatformIOS___lunar_console_action_register_m7A4A0225353457AF46760F835D76599C026D56D0) "___lunar_console_hide", referenced from: _PlatformIOS___lunar_console_hide_m213ACFCC2178B20BD1008AE4192E33F1B4B8F53F in LunarConsole.o _PlatformIOS_HideConsole_mB066E96C612271CEC1ADFBE3CB22286B2F2A8056 in LunarConsole.o (maybe you meant: _PlatformIOS___lunar_console_hide_m213ACFCC2178B20BD1008AE4192E33F1B4B8F53F) "___lunar_console_clear", referenced from: _PlatformIOS___lunar_console_clear_mD7A4AC3D419A900A2EA67D3BA5AB2E33FDC32F57 in LunarConsole.o _PlatformIOS_ClearConsole_m81E1831A493F6CF29439740C67865E3B70315212 in LunarConsole.o (maybe you meant: _PlatformIOS___lunar_console_clear_mD7A4AC3D419A900A2EA67D3BA5AB2E33FDC32F57) "___lunar_console_cvar_register", referenced from: _PlatformIOS___lunar_console_cvar_register_mA7FD11A72E87F0E825B6B8A4FA53317403DE41D8 in LunarConsole.o (maybe you meant: _PlatformIOS___lunar_console_cvar_register_mA7FD11A72E87F0E825B6B8A4FA53317403DE41D8) "___lunar_console_initialize", referenced from: _PlatformIOS___lunar_console_initialize_m9100DDA7DD2C2C685D3D4D609154ACECA2FC53AB in LunarConsole.o (maybe you meant: _PlatformIOS___lunar_console_initialize_m9100DDA7DD2C2C685D3D4D609154ACECA2FC53AB) "___lunar_console_show", referenced from: _PlatformIOS___lunar_console_show_m2609D4632F3B48A3F6F7A0A389148FB5110A61FD in LunarConsole.o _PlatformIOS_ShowConsole_m5366CECE358530EDF0751234E086245CB78DF57A in LunarConsole.o (maybe you meant: _PlatformIOS___lunar_console_show_m2609D4632F3B48A3F6F7A0A389148FB5110A61FD) "___lunar_console_cvar_update", referenced from: _PlatformIOS___lunar_console_cvar_update_m62B40FABE32231274D5D340AFA00B3CF8E0F5CEF in LunarConsole.o _PlatformIOS_OnVariableUpdated_m7E7FBC4BB470369553968B9054BB01221EFBC981 in LunarConsole.o (maybe you meant: _PlatformIOS___lunar_console_cvar_update_m62B40FABE32231274D5D340AFA00B3CF8E0F5CEF) "___lunar_console_log_message", referenced from: _PlatformIOS___lunar_console_log_message_m924E8B5A037263149ADE4BEF8429FD017E2EF1F9 in LunarConsole.o (maybe you meant: _PlatformIOS___lunar_console_log_message_m924E8B5A037263149ADE4BEF8429FD017E2EF1F9) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

What weird is, that it sometimes works. If I restart my machine or our Build-Machine. I also have to feeling that installing it directly to my phone makes the error appear less likely. But currently I have a hard time reproducing this error.

Do you have a solution or can I give you additional information?

Thank you in advance!