ARCore Extensions errors in Xcode building AR App in Unity 3D using cloud anchors

Hi,

I’ve run into a problem that I hope someone can help me with.

I’m building an iOS AR App in Unity, my App works fine, but I’ve decided to use ARCore CloudAnchors, so I’ve imported ARCore Extensions and installed cocoapods through Terminal with - sudo gem install -n /usr/local/bin cocoapods -v 1.8.4 and I’ve set up a API Key through the API and Services in the Google cloud.

And everything was building fine until I put my API Key into Unity and built my project.

I went into Project Settings/XR Plug-in Management/ARCore Extensions and ticked iOS Support Enabled, chose iOS Authentication Strategy as API Key, pasted my API Key into iOS API Key field, ticked Optional Fields Cloud Anchors.

Then I built my project and now Xcode throws up three errors the first is -

/Users/kevingriffiths/Desktop/Unity builds/AR World Anchors/Pods/Pods.xcodeproj Signing for “ARCore-ARCoreResources” requires a development team. Select a development team in the Signing & Capabilities editor.

So I set that to mine mine and rebuild, it passes the first error then the next error is -

/Users/kevingriffiths/Desktop/Unity builds/AR World Anchors/Pods/Pods.xcodeproj The iOS deployment target ‘IPHONEOS_DEPLOYMENT_TARGET’ is set to 11.0, but the range of supported deployment target versions is 12.0 to 17.0.99.

Even though In my project setting its set to 16, I set that to 16 and build again, passes the first and second errors then comes the third error -

Framework ‘ARCoreBase.xcframework’ not found

This is the one I can’t get passed, I’ve been to the build folder and opened Terminal and tried -

arch -x86_64 pod update
arch -x86_64 pod install
sudo arch -x86_64 gem install ffi

And I’m still getting the errors when building, I’m working on a M1 iMac macOS Ventura 13.5.2

If I disable iOS Support Enabled in ARCore Extensions, delete the build folder and build again it builds and works fine.

Any help would be greatly appreciated, thank you.

Kevin.

Update - Ive added the ARCoreBase.xcframework, cleaned the build folder, re built, and I’m still getting the error - Framework ‘ARCoreBase.xcframework’ not found

Copy of the error -

ARCore is for Android. Do you perhaps mean ARKit?

Hi, I’m trying to build using ARCore Extensions 1.40.0 in package manager so I can save anchors to the google cloud and resolve them again, It builds to Xcode with the above errors.

https://github.com/google-ar/arcore-unity-extensions/releases/tag/1.40.0

https://www.youtube.com/watch?v=EuKW9RjORdk

Ah okay, I must have misunderstood your question then, sorry about that

1 Like

No problem, thanks for the input.

I haven’t worked with ARCore on iOS much myself, but in this video around the 24-minute mark Dilmer explains how to link up the ARCore library in your Xcode project:

Not sure if you’ve seen this already but that’s about the best we can do via this forum. Otherwise you may need to reach out to Google: Issues · google-ar/arcore-android-sdk · GitHub

Hi,

Thanks for that I’d not see it, great help, thanks again.

1 Like