I'm trying to submit my app, but because of certain Nugets not working without Don't link selected i'm getting an error about the executable being too large. Anyone know a way to fix this or to only link some files?
Are you sure it is the executable and not just the API usage report that is too big? Got this warning myself with an app that ended up as approx. 18 megs in the AppStore on iOS.
We don't typically recommend releasing an app with Don't Link as the linker setting. I would recommend using the Link SDK Assemblies option. If you are running into issues with your app when using that linker setting, let's figure those out instead.
Link SDK Assemblies will reduce the size of the executable. You can also see which architectures are selected in the iOS Build -> Advanced tab and only target the ones you need. For example, Armv7 + Arm64 are pretty common and cover a wide range of modern iOS devices.
@John.3665 I am already using Amrv7 + ARM64. I tried setting the build to Link SDK Assemblies, but my SVGs aren't showing up. I'm using Xam.Plugins.Forms.Svg.
Amrv7 + ARM64
Link SDK Assemblies
@John.3665 Is there a way to link that specific Nuget? Also it has embedded resources in the main project, not sure if that would cause an issue.
@ChristianFalch It may still work. Is there anyway to tell what size it will be beforehand? Trying not to get rejected. Also, did you have any luck trying validation in Xamarin Studio?
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies