List
Xcode failing to built from Unity
Posted Date: 2020-03-19 17:05     Edited Date: 2020-08-25 4:45     Writer: inactive

1. SDK Version:5.0.1
2. Development Environment: Unity-iOS, Xcode, Unity 2019.2.6f1
3. Tracker/Scanner: Image Target
4. License Type: Free 
5. Target Device(Optional): iPhone 5, iOS 9
 

Hi

I'm trying to build a test from Unity to Xcode, however it keeps failing, resulting in Undefined symbols showing.

 I've already dsabled Auto Graphics API.

Any help will be appreciated.

Posted Date: 2020-03-20 1:54     Edited Date: 2020-03-20 1:59     Writer: sjkim

Thanks for interest in our MAXST AR SDK.

 

I think your bug is caused by not linking the library.

 

Try the following steps.

Add the folder with the corresponding Library to [Build Settings]-[Library Search Paths], and add [Build Settings]-[Other Linker Flags] to -l(library name) name.

Finally, Did you check your develop environment for using AR SDK 5.0.1?

 - Unity : Unity 2017.1 upper

 - iOS : iOS 9.0 upper

 - macOS : macOS 10.10 upper

 

Francisco
MAXST Support Team

Posted Date: 2020-03-20 2:44     Edited Date: 2020-03-20 2:44     Writer: inactive

Hi Francisco

Unless I'm looking at this wrong, I believe it is linking to the library. Forgive me but my xcode knowledge isn't great. See the screenshot incase I've missed something

I'm using Unity 2019.2.6

iOS: 10.0

macOS: 10.14.6

I appreciate your help with this.

 

Posted Date: 2020-03-20 4:38     Edited Date: 2020-03-21 5:38     Writer: sjkim

If so, I would suggest another solution.

 

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

under "Frameworks and Libraries" add Accelerate.framework.

Good Luck

 

Francisco
MAXST Support Team

Posted Date: 2020-03-20 11:40     Edited Date: 2020-03-20 11:40     Writer: inactive

Hi Francisco

I've checked and those are already added to the Frameworks and Libraries, so it's not that.

Is MAXST armv64 only? As I'm using an iPhone 5 and I suspect that might be the issue.

All the best

Posted Date: 2020-03-23 4:50     Edited Date: 2020-03-23 4:50     Writer: sjkim

What is your purpose a build?   

Are you trying to publish the app to App Store?

 

64-bit builds are only available on iOS 11 and later.

Because Apple has announced a policy to use 64-bit architecture for all apps starting with iOS 11 and later.

So, currently only 64-bit apps can be registered in the App Store.

Accordingly, if you check the library in MAXST AR SDK 5.0.X or later, only arm64 is contained.

Thanks.

 

Francisco
MAXST Support Team

Posted Date: 2020-08-25 4:45     Edited Date: 2020-08-25 4:45     Writer: inactive

@salina.rawles Did you find the solution?