Hi Philippe, iOS links all the stuff statically, so there are sometimes clashes of symbols. You can look at how we build it for Mergin Maps here: https://github.com/MerginMaps/input-sdk/tree/master/ios/recipes
Kind Regards, Peter PetrĂk CPO of Mergin Maps LI <https://www.linkedin.com/in/peter-petrik/>, Mergin Maps <https://www.merginmaps.com> On Tue, Sep 20, 2022 at 8:31 AM Philippe Lelong <lelong...@meltemus.com> wrote: > Hi, > > > We have a strange issue with our GDAL build for iOS (GDAL 3.4.1, PROJ6). > Everything is fine when running on iOS 15 or 16, but when the same app is > run on iOS 14 or 12 the app will not load at all (does not even reach > main) and the only thing I can see in a console is this: > > > dyld: Symbol not found: > __ZTTNSt3__114basic_ifstreamIcNS_11char_traitsIcEEEE > > > If I remove completely GDAL libs from the app it works, so I know this is > a dependency coming for GDAL, and a grep "char_traits" in all our libs > returns libgdal.a and libproj.a only. > > > I can join more logs from configure or build if needed. > > > Any idea what is wrong here ? > > > Thanks > > Philippe. > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/gdal-dev >
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev