jacksondunstan / UnityNativeScripting

Unity Scripting in C++

Home Page:https://jacksondunstan.com/articles/3938

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Strange iOS Symbol Name(build error)

sekkit opened this issue · comments

DLLExport seems not working.
sym.txt

After searching with MachOViewer, All DLLEXPORT defined symbols are missing, contrary to that, others existed.

Undefined symbols for architecture armv7:
"_DestroyBaseScriptBehaviour", referenced from:
_Bindings_DestroyBaseScriptBehaviour_m8902A94D1481D5392530675EDA206EF110B978DA in Bulk_Assembly-CSharp_0.o
_Bindings_DestroyAll_mC7E16F5CEAA259CD101B934545B17961A30AF6D3 in Bulk_Assembly-CSharp_0.o
(maybe you meant: _Bindings_DestroyBaseScriptBehaviour_m8902A94D1481D5392530675EDA206EF110B978DA)

"_Init", referenced from:
_Bindings_Init_mFDCC5D76C6205E05490541E9710E6D9B951879E5 in Bulk_Assembly-CSharp_0.o
_Bindings_OpenPlugin_mCE61B4740ED49E2A40A7E23E0E50AE8DF639EC4F in Bulk_Assembly-CSharp_0.o
(maybe you meant: OBJC_IVAR$_AVFoundationMediaLoader.m_Initialized, _UNITY_TT_Init_Glyph_Loading ,

image

After removing fvisibility flag generated by Cmake in Xcode.
This issue has been solved.