Native iOS lib seems to be trimmed when Release build used #25869
Unanswered
AncientLust
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm trying to use native iOS library
lib.a
in MAUI.It works well in
Debug
build, but when I try to buildRelease
I seeUndefined symbols for architecture arm64
errors.I saw these errors previously, they appear when you try for example run iOS simulator with
arm64
library while you need to usearm64-sim
. Now I have both.a
libraries for simulator and device and they both work inDebug
mode (have to switch libs if device type is switched). I can reproduce the same errors in debug mode if I uselib-sim
with physical device and vice-versa.How lib connected to app:
What I tried:
bin
andobj
folders.<MtouchInterpreter>iosLib</MtouchInterpreter>
with<Optimize>false</Optimize>
.<MtouchLink>None</MtouchLink>
project builds without errors (way longer), but cannot start.The questions are:
Relese
which can trim the lib?Release
?Beta Was this translation helpful? Give feedback.
All reactions