Closed
Description
The mono runtime packages for .NET 6 for iOS/tvOS/watchOS do not contain these static libraries:
- libmono-ee-interp.a
- libmono-icall-table.a
- libmono-ilgen.a
which are required for interpreter support:
$ ls -la ~/.nuget/packages/microsoft.netcore.app.runtime.ios-x64/5.0.0-preview.6.20264.1/runtimes/ios-x64/native
total 76456
drwxr-xr-x 15 rolf staff 480 May 19 16:19 .
drwxr-xr-x 4 rolf staff 128 May 19 16:19 ..
-rwxr--r-- 1 rolf staff 3084160 May 14 09:27 System.Private.CoreLib.dll
drwxr-xr-x 5 rolf staff 160 May 19 16:19 cross
drwxr-xr-x 3 rolf staff 96 May 19 16:19 include
-rwxr--r-- 1 rolf staff 2894936 May 14 09:38 libSystem.IO.Compression.Native.a
-rwxr--r-- 1 rolf staff 917376 May 14 09:38 libSystem.IO.Compression.Native.dylib
-rwxr--r-- 1 rolf staff 363120 May 14 09:38 libSystem.Native.a
-rwxr--r-- 1 rolf staff 69380 May 14 09:38 libSystem.Native.dylib
-rwxr--r-- 1 rolf staff 26936 May 14 09:38 libSystem.Net.Security.Native.a
-rwxr--r-- 1 rolf staff 15784 May 14 09:38 libSystem.Net.Security.Native.dylib
-rwxr--r-- 1 rolf staff 150008 May 14 09:38 libSystem.Security.Cryptography.Native.Apple.a
-rwxr--r-- 1 rolf staff 32164 May 14 09:38 libSystem.Security.Cryptography.Native.Apple.dylib
-rwxr--r-- 1 rolf staff 26937688 May 14 09:22 libmono.a
-rwxr--r-- 1 rolf staff 4642932 May 14 09:26 libmono.dylib
For the record, this is what Mono currently provides:
$ curl -LO https://xamjenkinsartifact.azureedge.net/mono-sdks/xcode-11C29/ios-release-Darwin-be2226b5a1c57df065efc4c1cf008d581e5cec7d.7z
$ 7z l *7z | grep ios/.*libmono.*[.]a$
2020-09-16 14:09:19 ....A 3302104 ios-libs/ios/libmono-ee-interp.a
2020-09-16 14:09:19 ....A 411840 ios-libs/ios/libmono-icall-table.a
2020-09-16 14:09:19 ....A 1356376 ios-libs/ios/libmono-ilgen.a
2020-09-16 14:09:19 ....A 6829584 ios-libs/ios/libmono-native-compat.a
2020-09-16 14:09:19 ....A 6784088 ios-libs/ios/libmono-native-unified.a
2020-09-16 14:09:19 ....A 1726496 ios-libs/ios/libmono-profiler-log.a
2020-09-16 14:09:19 ....A 60355440 ios-libs/ios/libmonosgen-2.0.a
Ref: https://github.com/xamarin/xamarin-macios/blob/764734d20aa0862ff0666559615762ec709bcf07/tools/mtouch/Target.mtouch.cs#L1515-L1522
Ref: https://github.com/xamarin/xamarin-macios/blob/b7511be48cca7e823703b3c3966ec9af7a8b287e/tools/common/Target.cs#L714-L720