I get error:
C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\16.0.527\targets\Xamarin.Shared.Sdk.targets(754,3): error : ILStrip failed for C:/Nuget/syncfusion.maui.listview/20.3.56/lib/net6.0-ios13.6/en-US/Syncfusion.Maui.ListView.resources.dll: File '/Users/MyName/Library/Caches/Xamarin/mtbs/builds/MyApp/bb5878591f4226b95d8559ab4e1bfdb756ba2d6dfab525afcbfa20d3e4fe2014/C:/Nuget/syncfusion.maui.listview/20.3.56/lib/net6.0-ios13.6/en-US/Syncfusion.Maui.ListView.resources.dll' not found.
I using:
- Visual Studio 17.4 (windows)
- XCode 14
How can I fix this issue.
Thank you.
We have checked the reported crash “ILStrip error when build iOS release” , we are unable to reproduce the crash at our end . we have checked the Syncfusion.Maui.ListView version 20.3.0.56 in iOS 15.0 version are unable to reproduce the crash. Please share the below details which would be more helpful for us to find the solution as soon as possible.
Seeing the same errors while building for iOS in Release mode.
4>C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\16.1.1481\targets\Xamarin.Shared.Sdk.targets(758,3): error : ILStrip failed for D:/Nugets/syncfusion.maui.listview/20.4.42/lib/net6.0-ios13.6/en-US/Syncfusion.Maui.ListView.resources.dll: File '/Users/andreasreitberger/Library/Caches/Xamarin/mtbs/builds/MoonrakerRemoteControl/494d0486b1b449afd66597ca7e4adfd5234c8deee70c6813c09e40e88d93441a/D:/Nugets/syncfusion.maui.listview/20.4.42/lib/net6.0-ios13.6/en-US/Syncfusion.Maui.ListView.resources.dll' not found.
4>C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\16.1.1481\targets\Xamarin.Shared.Sdk.targets(758,3): error : ILStrip failed for D:/Nugets/syncfusion.maui.scheduler/20.4.42/lib/net6.0-ios13.6/en-US/Syncfusion.Maui.Scheduler.resources.dll: File '/Users/andreasreitberger/Library/Caches/Xamarin/mtbs/builds/MoonrakerRemoteControl/494d0486b1b449afd66597ca7e4adfd5234c8deee70c6813c09e40e88d93441a/D:/Nugets/syncfusion.maui.scheduler/20.4.42/lib/net6.0-ios13.6/en-US/Syncfusion.Maui.Scheduler.resources.dll' not found.
@ Banh Thanh Vi
How have you solvedfixed this issue? If I open the path from the log, the file is there.
Edit: Nevermind, found a fix for it. Just add this to the .csproj file
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)'=='Release|net7.0-ios'">
<EnableAssemblyILStripping>False</EnableAssemblyILStripping>
</PropertyGroup>
Hi Andreas,
We are glad to know that the reported problem has been resolved at your end. Please let us know if you have any further queries on this. We are happy to help.
Regards,
Suthi Yuvaraj.