Reputation: 13
Every time I try to build my Unity project on Xcode I get this buildtime error.
This doesn't happen with other games using the exact same firebase packages. I've tried updating using pod update and still no success.
Undefined symbols for architecture arm64:
"firebase::FutureHandle::FutureHandle(firebase::FutureHandle const&)", referenced from:
firebase::remote_config::Fetch(unsigned long long) in libFirebaseCppRemoteConfig.a(remote_config_ios_e6d2ed559f32c182ac8412737f5fb36a.o)
____ZN8firebase13remote_config5FetchEy_block_invoke in libFirebaseCppRemoteConfig.a(remote_config_ios_e6d2ed559f32c182ac8412737f5fb36a.o)
___copy_helper_block_ea8_40c37_ZTSKN8firebase16SafeFutureHandleIvEE in libFirebaseCppRemoteConfig.a(remote_config_ios_e6d2ed559f32c182ac8412737f5fb36a.o)
"firebase::FutureHandle::Detach()", referenced from:
firebase::remote_config::Fetch(unsigned long long) in libFirebaseCppRemoteConfig.a(remote_config_ios_e6d2ed559f32c182ac8412737f5fb36a.o)
"firebase::FutureHandle::FutureHandle(unsigned long, firebase::detail::FutureApiInterface*)", referenced from:
_Firebase_RemoteConfig_Fetch__SWIG_1 in libFirebaseCppRemoteConfig.a(remote_config_08c4a1f5237ed5b16a396c81df6a9ee4.o)
firebase::remote_config::FetchLastResult() in libFirebaseCppRemoteConfig.a(remote_config_ios_e6d2ed559f32c182ac8412737f5fb36a.o)
"firebase::FutureHandle::FutureHandle()", referenced from:
_Firebase_RemoteConfig_Fetch__SWIG_1 in libFirebaseCppRemoteConfig.a(remote_config_08c4a1f5237ed5b16a396c81df6a9ee4.o)
firebase::remote_config::FetchLastResult() in libFirebaseCppRemoteConfig.a(remote_config_ios_e6d2ed559f32c182ac8412737f5fb36a.o)
"firebase::ReferenceCountedFutureImpl::CompleteHandle(firebase::FutureHandle const&)", referenced from:
void firebase::ReferenceCountedFutureImpl::CompleteInternal<void, void firebase::ReferenceCountedFutureImpl::CompleteInternal<void>(firebase::FutureHandle const&, int, char const*)::'lambda'(void*)>(firebase::FutureHandle const&, int, char const*, void firebase::ReferenceCountedFutureImpl::CompleteInternal<void>(firebase::FutureHandle const&, int, char const*)::'lambda'(void*) const&) in libFirebaseCppRemoteConfig.a(remote_config_ios_e6d2ed559f32c182ac8412737f5fb36a.o)
"firebase::ReferenceCountedFutureImpl::ReleaseMutexAndRunCallbacks(firebase::FutureHandle const&)", referenced from:
void firebase::ReferenceCountedFutureImpl::CompleteInternal<void, void firebase::ReferenceCountedFutureImpl::CompleteInternal<void>(firebase::FutureHandle const&, int, char const*)::'lambda'(void*)>(firebase::FutureHandle const&, int, char const*, void firebase::ReferenceCountedFutureImpl::CompleteInternal<void>(firebase::FutureHandle const&, int, char const*)::'lambda'(void*) const&) in libFirebaseCppRemoteConfig.a(remote_config_ios_e6d2ed559f32c182ac8412737f5fb36a.o)
"firebase::FutureHandle::operator=(firebase::FutureHandle const&)", referenced from:
_Firebase_RemoteConfig_Fetch__SWIG_1 in libFirebaseCppRemoteConfig.a(remote_config_08c4a1f5237ed5b16a396c81df6a9ee4.o)
firebase::remote_config::FetchLastResult() in libFirebaseCppRemoteConfig.a(remote_config_ios_e6d2ed559f32c182ac8412737f5fb36a.o)
"firebase::FutureHandle::~FutureHandle()", referenced from:
_Firebase_RemoteConfig_Fetch__SWIG_1 in libFirebaseCppRemoteConfig.a(remote_config_08c4a1f5237ed5b16a396c81df6a9ee4.o)
firebase::remote_config::Fetch(unsigned long long) in libFirebaseCppRemoteConfig.a(remote_config_ios_e6d2ed559f32c182ac8412737f5fb36a.o)
firebase::remote_config::FetchLastResult() in libFirebaseCppRemoteConfig.a(remote_config_ios_e6d2ed559f32c182ac8412737f5fb36a.o)
____ZN8firebase13remote_config5FetchEy_block_invoke in libFirebaseCppRemoteConfig.a(remote_config_ios_e6d2ed559f32c182ac8412737f5fb36a.o)
___destroy_helper_block_ea8_40c37_ZTSKN8firebase16SafeFutureHandleIvEE in libFirebaseCppRemoteConfig.a(remote_config_ios_e6d2ed559f32c182ac8412737f5fb36a.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Upvotes: 1
Views: 1238
Reputation: 26
We had a similar issue with Unity and Firebase, which was caused by an old copy of the Firebase libs in the Plugins/iOS directory. Nuking those fixed the build for us
Upvotes: 1