<div dir="ltr">Hi Philippe,<div><br></div><div>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: <a href="https://github.com/MerginMaps/input-sdk/tree/master/ios/recipes">https://github.com/MerginMaps/input-sdk/tree/master/ios/recipes</a></div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Kind Regards,</div>Peter Petrík<div>CPO of Mergin Maps</div><div><a href="https://www.linkedin.com/in/peter-petrik/" target="_blank">LI</a>, <a href="https://www.merginmaps.com" target="_blank">Mergin Maps</a></div><div><br></div><div><br></div><div><br></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 20, 2022 at 8:31 AM Philippe Lelong <<a href="mailto:lelong.ph@meltemus.com">lelong.ph@meltemus.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div class="msg8174545653055491087">
<div dir="ltr">
<div id="m_8174545653055491087divtagdefaultwrapper" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Hi,</p>
<p><br>
</p>
<p>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:</p>
<p><span><br>
</span></p>
<p><span>dyld: Symbol not found: __ZTTNSt3__114basic_ifstreamIcNS_11char_traitsIcEEEE</span><br>
</p>
<p><span><br>
</span></p>
<p><span>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.</span></p>
<p><span><br>
</span></p>
<p><span>I can join more logs from configure or build if needed.</span></p>
<p><span><br>
</span></p>
<p><span>Any idea what is wrong here ?</span></p>
<p><span><br>
</span></p>
<p><span>Thanks</span></p>
<p><span>Philippe.</span></p>
</div>
</div>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</div></blockquote></div>