Is there a fix for iOS apps built with the cvordova plugin?
N
Nicola Radacher
said
over 7 years ago
Hi,
Are you working with our latest Cordova version which is available here. The mentioned issue should be fixed there.
Greetings
Nicola
A
Amber Standley
said
over 7 years ago
Hi,
We are trying to publish our app in the app store, and it is being rejected for the following reason:
Non-public API usage:
The app references non-public symbols in : _dsyrk_
The app only uses the frameworks set out in the SDK 5.0 iOS documentation and the code is from the setup guide with a little from the SDK examples app. It builds without any errors and runs on our test devices. App-scanner also returns all clear.
When we Archive the build to publish it, the following double warning is produced:
ld: warning: direct access in std::__1::__shared_ptr_pointer<ceres::OrderedGroups<double*>*, std::__1::default_delete<ceres::OrderedGroups<double*> >, std::__1::allocator<ceres::OrderedGroups<double*> > >::__get_deleter(std::type_info const&) const to global weak symbol typeinfo name for std::__1::default_delete<ceres::OrderedGroups<double*> > means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in std::__1::__shared_ptr_pointer<ceres::OrderedGroups<double*>*, std::__1::default_delete<ceres::OrderedGroups<double*> >, std::__1::allocator<ceres::OrderedGroups<double*> > >::__get_deleter(std::type_info const&) const to global weak symbol typeinfo name for std::__1::default_delete<ceres::OrderedGroups<double*> > means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
If I remove the Accelerate framework the following 6 errors are returned. It's a required framework so the errors are expected, but the errors do reference the non-public symbol _dsyrk_ that apple is complaining about and ceres that the archive warning references.
Undefined symbols for architecture arm64:
"_dgels_", referenced from:
ceres::internal::LAPACK::EstimateWorkSizeForQR(int, int) in WikitudeSDK(lapack.cc.o)
Amber Standley