Get Started         Best Practices         Developer Guide         FAQ        
Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Undefined symbols for architecture arm64 after installing Cocoapods

Paul Sturgess Jul 22, 2015

I had everything working, then I needed an external dependency to be included via Cocoapods.

I installed Cocoapods and now when I build I get:


Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_CLLocationManager", referenced from:
objc-class-ref in CraftARSDK(ofxiOSCoreLocation.o)
"_kCLErrorDomain", referenced from:
-[ofxiOSCoreLocationDelegate locationManager:didFailWithError:] in CraftARSDK(ofxiOSCoreLocation.o)
"_AudioUnitSetProperty", referenced from:
-[SoundInputStream start] in CraftARSDK(SoundInputStream.o)
-[SoundOutputStream start] in CraftARSDK(SoundOutputStream.o)
"_AudioUnitUninitialize", referenced from:
-[SoundInputStream stop] in CraftARSDK(SoundInputStream.o)
-[SoundOutputStream stop] in CraftARSDK(SoundOutputStream.o)
"_AudioComponentInstanceDispose", referenced from:
-[SoundInputStream stop] in CraftARSDK(SoundInputStream.o)
-[SoundOutputStream stop] in CraftARSDK(SoundOutputStream.o)
"_AudioSessionSetProperty", referenced from:
-[SoundInputStream start] in CraftARSDK(SoundInputStream.o)
"_AudioUnitRender", referenced from:
_soundInputStreamRenderCallback in CraftARSDK(SoundInputStream.o)
"_AudioComponentInstanceNew", referenced from:
-[SoundInputStream start] in CraftARSDK(SoundInputStream.o)
-[SoundOutputStream start] in CraftARSDK(SoundOutputStream.o)
"_AudioComponentFindNext", referenced from:
-[SoundInputStream start] in CraftARSDK(SoundInputStream.o)
-[SoundOutputStream start] in CraftARSDK(SoundOutputStream.o)
"_AudioOutputUnitStop", referenced from:
-[SoundInputStream stop] in CraftARSDK(SoundInputStream.o)
-[SoundOutputStream stop] in CraftARSDK(SoundOutputStream.o)
"_AudioUnitInitialize", referenced from:
-[SoundInputStream start] in CraftARSDK(SoundInputStream.o)
-[SoundOutputStream start] in CraftARSDK(SoundOutputStream.o)
"_AudioOutputUnitStart", referenced from:
-[SoundInputStream start] in CraftARSDK(SoundInputStream.o)
-[SoundOutputStream start] in CraftARSDK(SoundOutputStream.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


( Agent )
Luis Martinell

Jul 23, 2015

You need to link CoreLocation and AudioToolbox. For more reference, this issue was already reported here: https://github.com/Catchoom/craftar-example-ios/issues/8

0 rated
Han

Jul 28, 2015

They should have included this requirement in their documentation files. Wasted few hours on this.
1 rated

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)

Couldn't find what you were looking for?

support@catchoom.com
https://cdn.desk.com/
false
catchoom
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete