List
Cant compile with Unity and XCode Undefined symbols for architecture arm64...
Posted Date: 2017-12-14 14:03     Edited Date: 2018-01-22 4:24     Writer: inactive

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

Posted Date: 2017-12-15 2:05     Edited Date: 2017-12-15 2:05     Writer: admin

Hi,

What is the version of MAXST AR SDK you have?

Have you been updated our SDK?

- Maxst support team

Posted Date: 2017-12-15 8:09     Edited Date: 2017-12-15 8:09     Writer: inactive

i have used MAXSTARSDK_Unity_3.3.1.unityPackage, 62.7MB, ver 3.3.1

Posted Date: 2017-12-15 9:05     Edited Date: 2017-12-15 9:05     Writer: inactive

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)

 

Posted Date: 2017-12-15 16:12     Edited Date: 2017-12-15 16:12     Writer: inactive

i have used https://developer.maxst.com/MD/doc/unity/setup (Building a Sample App (iOS))

Posted Date: 2017-12-18 10:16     Edited Date: 2017-12-18 11:43     Writer: inactive

Only when i have a 3dmap file imported then i have the error

Posted Date: 2017-12-18 14:36     Edited Date: 2017-12-18 14:36     Writer: inactive

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.
 

Posted Date: 2017-12-20 2:19     Edited Date: 2017-12-20 2:19     Writer: inactive

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 

Posted Date: 2017-12-20 10:58     Edited Date: 2017-12-20 10:58     Writer: inactive

THX

Posted Date: 2018-01-12 10:09     Edited Date: 2018-01-12 10:09     Writer: jerrygod

Dear MAXST team,

It seems this problem is still there and not be solved in version 3.4, right?

Posted Date: 2018-01-12 13:50     Edited Date: 2018-01-12 13:50     Writer: inactive

I have used the newst version from MAXST for Unity and i haven't same problems any more,

Posted Date: 2018-01-19 9:50     Edited Date: 2018-01-19 9:50     Writer: jerrygod

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)

Posted Date: 2018-01-22 1:12     Edited Date: 2018-01-22 1:12     Writer: slkim

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.

Posted Date: 2018-01-22 4:24     Edited Date: 2018-01-22 4:24     Writer: jerrygod

Hi slkim,

Solved. Thx. Maxst 3.4.1 really works.