We are trying to implement out first native plugin for iOS.
What we wanto do is use a third party library (is a static library .a) to implement some logic layer over it. We put third-party library in to Assets/Plugins/iOS.
All compilation & build phases went fine but we’re getting linkage into device. Static library are included into dependencies of the generated project.
DllNotFoundException: Unable to load DLL ‘libThirdParty’: The specified module could not be found.
We also try with (“ThirdParty”, “libThirdParty”, “libThirdParty.a”)
[DllImport (“ThirdParty”)]
private static extern void HelloWorldPluginFunction();
I understand this is an old thread, but this is the only place I’ve seen any hope for a week now as I’m getting the exact kind of error as op
I’m getting this error in Xcode
Undefined symbols for architecture arm64:
"__unityTapticIsSupport", referenced from:
_TapticManager_IsSupport_mADBE6C1751030925D79B930DDB17B1D746603C29 in Assembly-CSharp5.o
_TapticManager__unityTapticIsSupport_mD9FBB8237C589E9CA90CE31B718C8D8859237DCB in Assembly-CSharp5.o
(maybe you meant: _TapticManager__unityTapticIsSupport_mD9FBB8237C589E9CA90CE31B718C8D8859237DCB)
"__unityTapticImpact", referenced from:
_TapticManager_Impact_m756F7B9F2CEEEF90D0A9EA7EDABAE56E6EA18F2C in Assembly-CSharp5.o
_TapticManager__unityTapticImpact_m4F8AA189DEFAB5590E8A08680DB6FE07C6682FB3 in Assembly-CSharp5.o
(maybe you meant: _TapticManager__unityTapticImpact_m4F8AA189DEFAB5590E8A08680DB6FE07C6682FB3)
"__unityTapticSelection", referenced from:
_TapticManager_Selection_m52193285DA40B5A88C065CA88214F3FE524F8AA6 in Assembly-CSharp5.o
_TapticManager__unityTapticSelection_m06C11D6513340D0518D65E8C065777895D1D4CC1 in Assembly-CSharp5.o
(maybe you meant: _TapticManager__unityTapticSelection_m06C11D6513340D0518D65E8C065777895D1D4CC1)
"__unityTapticNotification", referenced from:
_TapticManager_Notification_mAC7242D4C817986B9B2943B730CA4166CFA23969 in Assembly-CSharp5.o
_TapticManager__unityTapticNotification_m3B907AA8EB1DB3F0EDE84D1130A56E04B9F37109 in Assembly-CSharp5.o
(maybe you meant: _TapticManager__unityTapticNotification_m3B907AA8EB1DB3F0EDE84D1130A56E04B9F37109)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)