Xcode failing to built from Unity
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.
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
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.
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
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
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
@salina.rawles Did you find the solution?