After upgrading to 8.28 visionOS build fails
Closed this issue · 3 comments
rist commented
Platform
visionOS
Environment
Other
Installed
Swift Package Manager
Version
8.29
Xcode Version
15.4
Did it work on previous versions?
yes
Steps to Reproduce
Upgraded SPM dependency to 8.29, this fixed our iOS and tvOS builds on Xcode 16, but now visionOS builds fails also on 15.4
Expected Result
Successful builds for iOS, tvOS and visionOS on Xcode 15 and 16.
Actual Result
Error
Undefined symbol: typeinfo for unsigned long
Error
Undefined symbol: ___cxa_rethrow
Error
Undefined symbol: ___cxa_free_exception
Error
Undefined symbol: vtable for __cxxabiv1::__class_type_info
Error
Undefined symbol: typeinfo for char*
Error
Undefined symbol: std::exception::what() const
Error
Undefined symbol: vtable for __cxxabiv1::__si_class_type_info
Error
Undefined symbol: typeinfo for unsigned char
Error
Undefined symbol: typeinfo for std::exception
Error
Undefined symbol: operator delete(void*)
Error
Undefined symbol: std::logic_error::logic_error(char const*)
Error
Undefined symbol: ___gxx_personality_v0
Error
Undefined symbol: typeinfo for std::__1::__shared_weak_count
Error
Undefined symbol: std::bad_array_new_length::~bad_array_new_length()
Error
Undefined symbol: typeinfo for std::bad_array_new_length
Error
Undefined symbol: ___cxa_allocate_exception
Error
Undefined symbol: typeinfo for short
Error
Undefined symbol: std::__1::__shared_weak_count::__get_deleter(std::type_info const&) const
Error
Undefined symbol: std::__1::__shared_weak_count::__release_weak()
Error
Undefined symbol: typeinfo for int
Error
Undefined symbol: std::terminate()
Error
Undefined symbol: std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::resize(unsigned long, char)
Error
Undefined symbol: std::__1::mutex::~mutex()
Error
Undefined symbol: typeinfo for long long
Error
Undefined symbol: typeinfo for long double
Error
Undefined symbol: typeinfo for char
Error
Undefined symbol: std::__1::mutex::unlock()
Error
Linker command failed with exit code 1 (use -v to see invocation)
Error
Undefined symbol: std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::basic_string(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)
Error
Undefined symbol: std::length_error::~length_error()
Error
Undefined symbol: vtable for std::length_error
Error
Undefined symbol: std::current_exception()
Error
Undefined symbol: ___cxa_current_exception_type
Error
Undefined symbol: std::exception_ptr::~exception_ptr()
Error
Undefined symbol: ___cxa_begin_catch
Error
Undefined symbol: typeinfo for double
Error
Undefined symbol: std::bad_array_new_length::bad_array_new_length()
Error
Undefined symbol: typeinfo for unsigned int
Error
Undefined symbol: typeinfo for std::length_error
Error
Undefined symbol: ___cxa_end_catch
Error
Undefined symbol: typeinfo for unsigned long long
Error
Undefined symbol: std::set_terminate(void (*)())
Error
Undefined symbol: typeinfo for float
Error
Undefined symbol: std::__1::__shared_weak_count::~__shared_weak_count()
Error
Undefined symbol: operator new(unsigned long)
Error
Undefined symbol: std::exception::~exception()
Error
Undefined symbol: typeinfo for unsigned short
Error
Undefined symbol: std::__1::mutex::lock()
Error
Undefined symbol: std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>::operator=(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&)
Error
Undefined symbol: typeinfo for long
Are you willing to submit a PR?
No response
mcichecki commented
I also noticed this issue when trying to build on visionOS, fix or workaround would be helpful.
philipphofmann commented
philipphofmann commented
This is a duplicate of #3809. Please add further information over there.