Try MAXST AR Fusion Tracker Now ✨
List
Xcode build error
Posted Date: 2020-08-24 11:04     Edited Date: 2020-08-26 5:23     Writer: venolig

Development details:

1. SDK Version: 5.0.2
2. Development Environment: (eg. Unity-Android, Unity-iOS, Native Android, Native iOS): Unity-iOS
3. Tracker/Scanner: Instant tracker
4. License Type(Free / Pro-One Time Fee / Pro-Subscription / Enterprise): Free
5. Target Device(Optional): iPhone

Hi,

When I'm building generated xcode project I got below errors.

Thank You!

Posted Date: 2020-08-25 1:20     Edited Date: 2020-08-25 1:20     Writer: sjkim

Thanks for your interest to our MAXST AR SDK.

 

We just can't understand only text.

Please show ours a specific error line.

 

But we guess this problem.

Did you add to framework(ARKit.framework and Accelerate.framework) before building??

If not, After exporting AR SDK to XCode, go to UnityFramework under Targets and

under "Frameworks and Libraries" add ARKit.framework and Accelerate.framework.

 

If you have other questions, feel free to questions us.

 

 

Best regards

Francisco

MAXST Support Team

Posted Date: 2020-08-25 4:43     Edited Date: 2020-08-25 4:43     Writer: venolig

Below are few of the errors (it shows 100 errors). I have already added ARKit.framework and Accelerate.framework.  I have a doubt on your answer. What it mean by"exporting AR SDK to XCode"? Do I have to add SDK to generated xcode project or it means just the generating the xcode project?

 

Few of errors:

Apple Mach-O Linker (ld) Error Group

: "_maxst_TrackedImage_getYuv420_888YUVPtr", referenced from:

: _NativeAPI_maxst_TrackedImage_getYuv420_888YUVPtr_m6265F3EB09A92A0A9B513DB4EE47BAD14AB6995A in Assembly-CSharp1.o

: _TrackedImage_GetYuv420_888YUVPtr_mC60F7DF572FABF68ED9B7F6B85807FEDDA305A8A in Assembly-CSharp1.o

: (maybe you meant: _NativeAPI_maxst_TrackedImage_getYuv420_888YUVPtr_m6265F3EB09A92A0A9B513DB4EE47BAD14AB6995A)

: "_maxst_MapViewer_getTexCoords", referenced from:

: _MapRendererBehaviour_CreateMapViewerMesh_mB68C98165D6073379B4E497309F307BA047FA24B in Assembly-CSharp1.o

: _MapViewer_GetTexCoords_m5004DB2175BFC5BDF947A064AA5109A4C4707978 in Assembly-CSharp1.o

: _NativeAPI_maxst_MapViewer_getTexCoords_mC4F8441C2CEB2512FA632CBD82512FF06946429B in Assembly-CSharp1.o

: (maybe you meant: _NativeAPI_maxst_MapViewer_getTexCoords_mC4F8441C2CEB2512FA632CBD82512FF06946429B)

: "_maxst_CameraDevice_setFlashLightMode", referenced from:

: _NativeAPI_maxst_CameraDevice_setFlashLightMode_m9B82A6F46EF0D5094D7FA8891EB6672BD85B3F5C in Assembly-CSharp1.o

: (maybe you meant: _NativeAPI_maxst_CameraDevice_setFlashLightMode_m9B82A6F46EF0D5094D7FA8891EB6672BD85B3F5C)

 

Thank You!

 

 

 

Posted Date: 2020-08-25 8:02     Edited Date: 2020-08-25 8:02     Writer: sjkim

It is exactly what it says.

After exporting MAXST AR SDK to XCode project,

build by adding ARKit.framework and Accelerate.framework in "Frameworks and Libraries" under UnityFramework.

 

If you have other questions, feel free to questions us.

 

 

Best regards

Francisco

MAXST Support Team

Posted Date: 2020-08-25 9:33     Edited Date: 2020-08-25 9:33     Writer: venolig

Yes, I have already done that part. First I generate Xcode project by building for ios platform. Then opened .xcodeproj and add those 2 frameworks. But still getting those errors when I build the project.

Thank you!

Posted Date: 2020-08-26 5:22     Edited Date: 2020-08-26 5:23     Writer: sjkim

Please match a iOS Deployment Target of AR SDK and

Deployment Target of your development environment.

If that doesn’t solve the problem, try add -w on "Linking->Other Linker Flags".

 

If you have other questions, feel free to questions us.

 

 

Best regards

Francisco

MAXST Support Team