Cant compile with Unity and XCode Undefined symbols for architecture arm64...
OSX 10.12.6
Unity 2017.2.0f3
XCode 9.1
i have used your sample project ObjectTracker.
I have added the license and a 3dmap.
when i compile with XCode i have the follow error
Undefined symbols for architecture arm64:
"_ImageExtractor_getImage", referenced from:
_NativeStaticAPI_ImageExtractor_getImage_m3964761931 in Bulk_MaxstARUnityWrapper_0.o
(maybe you meant: _NativeStaticAPI_ImageExtractor_getImage_m3964761931, _NativeSharedAPI_ImageExtractor_getImage_m2603944585 )
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
i hope someone can help me
Hi,
What is the version of MAXST AR SDK you have?
Have you been updated our SDK?
- Maxst support team
i have used MAXSTARSDK_Unity_3.3.1.unityPackage, 62.7MB, ver 3.3.1
i have updated xcode to 9.2. Same error.
i have remove arm64 at xcode project
Same as above with armv7
Undefined symbols for architecture armv7:
"_ImageExtractor_getImage", referenced from:
_NativeStaticAPI_ImageExtractor_getImage_m3524716848 in Bulk_MaxstARUnityWrapper_0.o
(maybe you meant: _NativeSharedAPI_ImageExtractor_getImage_m3767246615, _NativeStaticAPI_ImageExtractor_getImage_m3524716848 )
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
i have used https://developer.maxst.com/MD/doc/unity/setup (Building a Sample App (iOS))
Only when i have a 3dmap file imported then i have the error
I have checked a lot now.
Only with Unity and a 3dmap import to Object Trackable Behaviour (Script) gives this error.
i have used the Unity example project from maxst and have set the configs as in your docs.
Please check this your Unity ObjectTracker is faulty in IOS.
We've identified the issue. We're sorry for the inconveniences. It seems like it somehow slipped our attention.
Could you please wait until early next week, when we are going to release an update. The fix will be included in it.
- MAXST support team
THX
Dear MAXST team,
It seems this problem is still there and not be solved in version 3.4, right?
I have used the newst version from MAXST for Unity and i haven't same problems any more,
Here is the error info I got from Xcode 9.1 using Maxst unity plugin 3.4.1. Any comment?
Undefined symbols for architecture arm64:
"_checkCameraPermission", referenced from:
_MaxstNativeUtil_checkCameraPermission_m2958174899 in Bulk_Assembly-CSharp_0.o
_MaxstNativeUtil_CheckCameraPermission_m3023203350 in Bulk_Assembly-CSharp_0.o
(maybe you meant: _MaxstNativeUtil_checkCameraPermission_m2958174899)
"_iosIsAppInstalled", referenced from:
_MaxstNativeUtil_iosIsAppInstalled_m1518999284 in Bulk_Assembly-CSharp_0.o
_MaxstNativeUtil_isAppInstalled_m241046481 in Bulk_Assembly-CSharp_0.o
(maybe you meant: _MaxstNativeUtil_iosIsAppInstalled_m1518999284)
"_iosGetAppVersionBuildNumber", referenced from:
_MaxstNativeUtil_iosGetAppVersionBuildNumber_m996881700 in Bulk_Assembly-CSharp_0.o
_MaxstNativeUtil_GetAppVersionBuildNumber_m2587847348 in Bulk_Assembly-CSharp_0.o
(maybe you meant: _MaxstNativeUtil_iosGetAppVersionBuildNumber_m996881700)
"_iosGetAppVersion", referenced from:
_MaxstNativeUtil_iosGetAppVersion_m350650440 in Bulk_Assembly-CSharp_0.o
_MaxstNativeUtil_GetAppVersion_m381739384 in Bulk_Assembly-CSharp_0.o
(maybe you meant: _MaxstNativeUtil_iosGetAppVersion_m350650440, _MaxstNativeUtil_iosGetAppVersionBuildNumber_m996881700 )
"_iosGetLanguageLocale", referenced from:
_MaxstNativeUtil_GetLanguageLocale_m1245196186 in Bulk_Assembly-CSharp_0.o
_MaxstNativeUtil_iosGetLanguageLocale_m1530816684 in Bulk_Assembly-CSharp_0.o
(maybe you meant: _MaxstNativeUtil_iosGetLanguageLocale_m1530816684)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I think you have old version plugin.
before use this solution you must be BACKUP your project.
1. Remove old source code for Maxst. (Maxst folder, Unity Plugin Folder)
2. Import New 3.4.1 version Maxst UnityPackage.
Hi slkim,
Solved. Thx. Maxst 3.4.1 really works.