Could not find or use auto-linked framework 'CoreAudioTypes': framework 'CoreAudioTypes' not found l

Could not find or use auto-linked framework ‘CoreAudioTypes’: framework ‘CoreAudioTypes’ not found
ld: Undefined symbols

Cant get around this error. Limited knowledge about it online too.

3 Likes

BUMP -

Same issue with building out of 2022.3 LTS building in XCode gives me same error. Tried multiple things from other forums but no luck…

https://forums.developer.apple.com/forums/thread/736152

I was having the same issue. To figure out what was going on, I had to update the export settings on the build.

  • Run in Xcode as = Debug
  • Development Build = Yes
  • Autoconnect Profiler = Yes
  • Deep Profiling = Yes

Then in XCode when I went to build the app, the compilation error that said CoreAudioTypes framework not found then included a proper stack trace. In my case, the stack trace pointed at an anchor related method in Google.XR.ARCoreExtensions framework. It seems that the assembly definition for this framework is set up to be included in iOS builds by default. I wasn’t using ARCore for anything on the iOS device, so I just manually edited the assembly definition asset file for Google.XR.ARCoreExtensions runtime and removed the “iOS” string from the “includePlatforms” array. Unchecking or checking “iOS Support Enabled” in the XR Plug-in Management → AR Core Extensions menu in Project Settings didn’t seem to affect whether or not the library was included in the XCode build in my case.

After removing the library, I built the xcode project again and this time it built successfully in XCode and ran on the device without issue. I don’t know if that helps at all, but figured I’d share in case your issue is something similar. The CoreAudioTypes error feels like some sort of broken catch all message in XCode.

2 Likes

same +1 ,pls pls pls

Running into the same issue

1 Like

bump, same issue

Also seeing this error with AR Foundation & com.unity.xr.arkit@5.1.5, Unity 2022.3, XCode 15.1

my case
Remove CoreAudioType
Add CoreAudio
Add AudioToolbox