Open TimLariviere opened 2 years ago
I tried to build the IPA for iOS with the linker enabled. I got a package of 35 Mb for CounterApp.
But I'm not sure why, the linker doesn't seem to delete the unused code in the Fabulous dlls :/
Here, it should only show the used attributes in CounterApp, not everything. https://www.decompiler.com/jar/4fd2510cb9c34633bed3783f9f405120/Fabulous.XamarinForms.dll/Fabulous.XamarinForms.XFAttributes
It seems that it treats attribute registration as a side effect included in startup, at least that is my current theory.
Which kinda makes sense because it modifies a global dictionary with widget definitions
I tried to build the IPA for iOS with the linker enabled. I got a package of 35 Mb for CounterApp.
But I'm not sure why, the linker doesn't seem to delete the unused code in the Fabulous dlls :/
Here, it should only show the used attributes in CounterApp, not everything. https://www.decompiler.com/jar/4fd2510cb9c34633bed3783f9f405120/Fabulous.XamarinForms.dll/Fabulous.XamarinForms.XFAttributes