使用EasyARSenseUnityPlugin_4.1.0.811.zip里面的样例直接打包iOS,不做任何改动,iOS工程编译无法通过,该操作的都按照文档添加或者修改了

0 投票
最新提问 9月 29, 2020 用户: su1802877 (120 分)
Undefined symbols for architecture arm64:

  "_ezarDestory_RecorderCallBackUnity", referenced from:

      _EngineNativeIOS_Destory_RecorderCallBackUnity_m2194864749 in Bulk_EasyAR.Unity_0.o

      _EngineNativeIOS_ezarDestory_RecorderCallBackUnity_m349691673 in Bulk_EasyAR.Unity_0.o

     (maybe you meant: _EngineNativeIOS_ezarDestory_RecorderCallBackUnity_m349691673, _EngineNative_ezarDestory_RecorderCallBackUnity_m93620314 )

  "_ezarCreate_RecorderCallBackUnity", referenced from:

      _EngineNativeIOS_Create_RecorderCallbackUnity_m16851286 in Bulk_EasyAR.Unity_0.o

      _EngineNativeIOS_ezarCreate_RecorderCallBackUnity_m3437077498 in Bulk_EasyAR.Unity_0.o

     (maybe you meant: _EngineNative_ezarCreate_RecorderCallBackUnity_m4127790985, _EngineNativeIOS_ezarCreate_RecorderCallBackUnity_m3437077498 )

 

  "_ezarRecorder_setProfile", referenced from:

      _EngineNativeIOS_Recorder_setProfile_m3636779165 in Bulk_EasyAR.Unity_0.o

      _EngineNativeIOS_ezarRecorder_setProfile_m1719503969 in Bulk_EasyAR.Unity_0.o

   
  "_ezarImageTarget_getUid", referenced from:

      _EngineNativeIOS_ImageTarget_getUid_m4145730324 in Bulk_EasyAR.Unity_0.o

      _EngineNativeIOS_ezarImageTarget_getUid_m2933679104 in Bulk_EasyAR.Unity_0.o

     (maybe you meant: _EngineNative_ezarImageTarget_getUid_m2966540031, _EngineNativeIOS_ezarImageTarget_getUid_m2933679104 )

  "_ezarImageTargetList_at", referenced from:

      _EngineNativeIOS_ImageTargetList_at_m3720548384 in Bulk_EasyAR.Unity_0.o

      _EngineNativeIOS_ezarImageTargetList_at_m1477027236 in Bulk_EasyAR.Unity_0.o

     (maybe you meant: _EngineNative_ezarImageTargetList_at_m173495739, _EngineNativeIOS_ezarImageTargetList_at_m1477027236 )

  "_ezarGetRotationOfDefaultOrientation", referenced from:

      _EngineNativeIOS_GetRotationOfDefaultOrientation_m2113782726 in Bulk_EasyAR.Unity_0.o

      _EngineNativeIOS_ezarGetRotationOfDefaultOrientation_m2066657082 in Bulk_EasyAR.Unity_0.o

     (maybe you meant: _EngineNative_ezarGetRotationOfDefaultOrientation_m2766751123, _EngineNativeIOS_ezarGetRotationOfDefaultOrientation_m2066657082 )

  "_ezarAugmentedTargetList_at", referenced from:

      _EngineNativeIOS_AugmentedTargetList_at_m1663243009 in Bulk_EasyAR.Unity_0.o

      _EngineNativeIOS_ezarAugmentedTargetList_at_m982383293 in Bulk_EasyAR.Unity_0.o

     (maybe you meant: _EngineNative_ezarAugmentedTargetList_at_m2309457482, _EngineNativeIOS_ezarAugmentedTargetList_at_m982383293 )

  "_ezarCast_ImageTarget2Target", referenced from:

      _EngineNativeIOS_Cast_ImageTarget2Target_m538801884 in Bulk_EasyAR.Unity_0.o

      _EngineNativeIOS_ezarCast_ImageTarget2Target_m197215200 in Bulk_EasyAR.Unity_0.o

  "_ezarCameraDevice_setFocusMode", referenced from:

      _EngineNativeIOS_CameraDevice_setFocusMode_m1788440308 in Bulk_EasyAR.Unity_0.o

      _EngineNativeIOS_ezarCameraDevice_setFocusMode_m1128481640 in Bulk_EasyAR.Unity_0.o

     (maybe you meant: _EngineNative_ezarCameraDevice_setFocusMode_m3955443359, _EngineNativeIOS_ezarCameraDevice_setFocusMode_m1128481640 )

  "_ezarCreate_CameraDevicePermissionCallBackUnity", referenced from:

      _EngineNativeIOS_Create_CameraDevicePermissionCallbackUnity_m1678754366 in Bulk_EasyAR.Unity_0.o

      _EngineNativeIOS_ezarCreate_CameraDevicePermissionCallBackUnity_m807060386 in Bulk_EasyAR.Unity_0.o

  

clang: error: linker command failed with exit code 1 (use -v to see invocation)

1个回答

0 投票
最新回答 10月 2, 2020 用户: kenn (19,220 分)
这些错误并不是 EasyAR Sense Unity Plugin 4.1的问题。这些出错的文件在这个版本中不存在。

请勿在一个Unity工程中同时使用两个不同版本的EasyAR或通过在一个已经存在EasyAR的工程中通过直接导入Unity Package的方式进行升级。
欢迎来到 EasyAR Q&A ,有什么不懂的可以尽管在这里提问,你将会收到社区其他成员的回答。
...