Apple platform
iOS
Framework version
net10.0-*
Affected platform version
.NET 10.0.102, .NET 9.0.300
Description
I'm trying to build IPA but always getting the error:
ILLink : error IL1011: Failed to write 'obj/Release/net9.0-ios/ios-arm64/linked/Microsoft.iOS.dll'.
/Users/sergeybogdanov/.nuget/packages/microsoft.net.illink.tasks/9.0.12/build/Microsoft.NET.ILLink.targets(96,5): error NETSDK1144: Optimizing assemblies for size failed.
command line:
dotnet publish "$CSPROJ" \
-f net10.0-ios \
-c Release \
-p:ArchiveOnBuild=true \
-p:BuildIpa=true \
-p:CodesignKey="Apple Distribution: ...." \
-p:CodesignProvision="Apps" \
/bl:msbuild.binlog
Tried 9.0 and 10.0, still the same problem.
Steps to Reproduce
Change csproj to <MtouchLink>SdkOnly</MtouchLink>
Did you find any workaround?
<MtouchLink>none</MtouchLink> fixes the problem, but the binary becomes huge.
Build logs
msbuild.binlog.zip
Apple platform
iOS
Framework version
net10.0-*
Affected platform version
.NET 10.0.102, .NET 9.0.300
Description
I'm trying to build IPA but always getting the error:
command line:
Tried 9.0 and 10.0, still the same problem.
Steps to Reproduce
Change csproj to
<MtouchLink>SdkOnly</MtouchLink>Did you find any workaround?
<MtouchLink>none</MtouchLink>fixes the problem, but the binary becomes huge.Build logs
msbuild.binlog.zip