arcore-unity-extensions icon indicating copy to clipboard operation
arcore-unity-extensions copied to clipboard

Linker error on iOS

Open devhims opened this issue 4 years ago • 11 comments

While building on iOS, I get the following Linker error in XCode. It seems a package is missing that arcore extension relies on. Any clues?

Unity: 2019.3.5 Extension version: Both 1.15 and 1.16

Screenshot 2020-03-30 at 8 37 53 AM

devhims avatar Mar 30 '20 03:03 devhims

Did you enable iOS support (ProjectSettings->XR->ARCore Extensions)?

cywil4 avatar Apr 06 '20 07:04 cywil4

Did you enable iOS support (ProjectSettings->XR->ARCore Extensions)?

@cywil4 Yes, I did. Provided the API key as well.

devhims avatar Apr 06 '20 07:04 devhims

I'm having the same issue here, did you figure out how to resolve it?

Tried adding the extensions package directly using UPM from git, UPM from a tarball, and simply unzipping the files in the Assets folder.

Should there be an iOS dylib or something in the Runtime/Plugins folder?

prisonerjohn avatar Jul 16 '20 02:07 prisonerjohn

Same issue here anyone resolved this?

dilmerv avatar Oct 12 '20 03:10 dilmerv

I fixed this after re-installing CocoaPods on my mac and also running: pod install from the source folder

dilmerv avatar Oct 13 '20 03:10 dilmerv

Hi @dilmerv at which point in the build process do you need to do this? I'm not used to working on a Mac anymore, so it's been hard to figure out where/when the issues emerge. Thanks!

prisonerjohn avatar Oct 13 '20 13:10 prisonerjohn

I am making a YouTube video about this today, so as soon as I am done with the steps I can provide you with the link.

dilmerv avatar Oct 13 '20 13:10 dilmerv

Screen Shot 2020-11-30 at 12 25 37 PM I've been getting linker errors and completely unable to build on iOS. I've tried uninstalling/reinstalling CocoaPods and running pod update within the source folder. This is in Unity 2019.4.13 using arcore extensions version 1.20.0. Any help would be greatly appreciated.

gordonklarson avatar Dec 01 '20 03:12 gordonklarson

I am making a YouTube video about this today, so as soon as I am done with the steps I can provide you with the link.

Hi Dilmer, did you post the video are you saying about?

andresmqa avatar Dec 18 '20 19:12 andresmqa

Did anyone managed to solve this problem ?

voropserg avatar Mar 17 '21 16:03 voropserg

I solved importing AR core unity extension from json (unzip .tgz) and not from the tarball file

ivanoikon avatar Jun 15 '21 13:06 ivanoikon