Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS: error: Ran out of trampolines of type 1 in '/private/var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/System.Private.CoreLib.dll' (limit 0). #47047

Closed
rolfbjarne opened this issue Jan 15, 2021 · 9 comments
Assignees
Labels
area-VM-meta-mono os-ios Apple iOS runtime-mono specific to the Mono runtime
Milestone

Comments

@rolfbjarne
Copy link
Member

rolfbjarne commented Jan 15, 2021

Description

iOS App crashes upon launch on device with:

error: Ran out of trampolines of type 1 in '/private/var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/System.Private.CoreLib.dll' (limit 0).

Repro:

  1. Download & Install Xcode 12.5
  2. Install .NET 6 Preview 5: https://dotnetcli.azureedge.net/dotnet/Sdk/6.0.100-preview.5.21302.13/dotnet-sdk-6.0.100-preview.5.21302.13-osx-x64.pkg
  3. Install the iOS workload:
sudo dotnet workload install microsoft-ios-sdk-full
  1. Fix execution permissions for the aot compiler (this might only be possible after having tried to build once)
sudo chmod a+x /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.ios-arm64/6.0.0-preview.5.21301.5/Sdk/../tools/mono-aot-cross
  1. git clone https://github.com/rolfbjarne/xamarin-macios --recurse-submodules (my fork, not from the xamarin org)
  2. git checkout dotnet-runtime-issue-47047
  3. make reset
  4. Connect a device using a USB cable.
  5. make run -C "tests/linker/ios/dont link/dotnet/iOS"

The last step will build & run the test project that crashes on a connected device.

[...]
  Installing application bundle 'com.xamarin.dontlink' on 'Rolf's iPhone 7 - iOS 11.4.1'
  Application bundle 'com.xamarin.dontlink' installed on 'Rolf's iPhone 7 - iOS 11.4.1'
  Launched application 'com.xamarin.dontlink' on 'Rolf's iPhone 7 - iOS 11.4.1' with pid 345
  xamarin_vm_initialize (3, 0x16ddb31b0, 0x16ddb3198): rv: 0
  2020-12-11 13:01:11.565 dont link[345:78602] Xamarin.iOS: IDE Port: 10000 Transport: USB
  2020-12-11 13:01:13.566 dont link[345:78559] Xamarin.iOS: Debugger not loaded (timed out while trying to connect to the IDE).
  2020-12-11 13:01:13.566 dont link[345:78602] Xamarin.iOS: Listened for connections from the IDE for 2 seconds, nobody connected.
  2020-12-11 13:01:14.533 dont link[345:78559] error: Ran out of trampolines of type 1 in '/private/var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/System.Private.CoreLib.dll' (limit 0). See http://docs.xamarin.com/ios/troubleshooting for instructions on how to fix this condition.
  
  =================================================================
  	Native Crash Reporting
  =================================================================
  Got a SIGABRT while executing native code. This usually indicates
  a fatal error in the mono runtime or one of the native libraries 
  used by your application.
  =================================================================
  
  =================================================================
  	Native stacktrace:
  =================================================================
  	0x10bcea020 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : GlobalizationNative_GetICUVersion
  	0x10bcd36bc - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : GlobalizationNative_GetICUVersion
  	0x10bce980c - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : GlobalizationNative_GetICUVersion
  	0x180c38b58 - /usr/lib/system/libsystem_platform.dylib : _sigtramp
  	0x180c3e288 - /usr/lib/system/libsystem_pthread.dylib : <redacted>
  	0x180a0bd0c - /usr/lib/system/libsystem_c.dylib : abort
  	0x10b9c32e8 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : xamarin_find_protocol_wrapper_type
  	0x10bd409a8 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : GlobalizationNative_GetICUVersion
  	0x10bd40adc - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : GlobalizationNative_GetICUVersion
  	0x10bcc9a38 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : GlobalizationNative_GetICUVersion
  	0x10bcc9b10 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : GlobalizationNative_GetICUVersion
  	0x10bcd4f70 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : GlobalizationNative_GetICUVersion
  	0x10bcd9cac - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : GlobalizationNative_GetICUVersion
  	0x10bcd6890 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : GlobalizationNative_GetICUVersion
  	0x1086cb7bc - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : 
  	0x1083b2690 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : 
  	0x1083b65a0 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : 
  	0x1089b97bc - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : 
  	0x1089b9ff4 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : 
  	0x1089b9554 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : 
  	0x10a6323b0 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : 
  	0x10a62e944 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : 
  	0x10a58c550 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : 
  	0x10a599a58 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : 
  	0x1084e4f80 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : 
  	0x10bcb4ee8 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : GlobalizationNative_GetICUVersion
  	0x10bbeee20 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : _ZNK3icu6number23NumberFormatterSettingsINS0_24LocalizedNumberFormatterEE10toSkeletonER10UErrorCode
  	0x10bbeda04 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : _ZNK3icu6number23NumberFormatterSettingsINS0_24LocalizedNumberFormatterEE10toSkeletonER10UErrorCode
  	0x10bcb0444 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : GlobalizationNative_GetICUVersion
  	0x10bcd5c64 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : GlobalizationNative_GetICUVersion
  	0x10bcd5740 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : GlobalizationNative_GetICUVersion
  	0x1086cb49c - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : 
  	0x109f31934 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : 
  	0x102053718 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : 
  	0x1084e4f80 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : 
  	0x10bcb4ee8 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : GlobalizationNative_GetICUVersion
  	0x10bbed4d8 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : _ZNK3icu6number23NumberFormatterSettingsINS0_24LocalizedNumberFormatterEE10toSkeletonER10UErrorCode
  	0x10bbf3eec - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : _ZNK3icu6number23NumberFormatterSettingsINS0_24LocalizedNumberFormatterEE10toSkeletonER10UErrorCode
  	0x10bcba730 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : GlobalizationNative_GetICUVersion
  	0x10b9d4650 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : xamarin_mono_object_retain
  	0x10bd4a1c0 - /var/containers/Bundle/Application/EE983663-2CF7-4985-AD79-4E3185905CF9/dont link.app/dont link : GlobalizationNative_GetICUVersion
  	0x18096dfc0 - /usr/lib/system/libdyld.dylib : <redacted>
  
  =================================================================
  	Basic Fault Address Reporting
  =================================================================
  Memory around native instruction pointer (0x180a9d2e0):0x180a9d2d0  fd 7b c1 a8 c0 03 5f d6 10 29 80 d2 01 10 00 d4  .{...._..)......
  0x180a9d2e0  c3 00 00 54 fd 7b bf a9 fd 03 00 91 5e 80 ff 97  ...T.{......^...
  0x180a9d2f0  bf 03 00 91 fd 7b c1 a8 c0 03 5f d6 90 29 80 d2  .....{...._..)..
  0x180a9d300  01 10 00 d4 c3 00 00 54 fd 7b bf a9 fd 03 00 91  .......T.{......
  
  =================================================================
  	Managed Stacktrace:
  =================================================================
  	  at <unknown> <0xffffffff>
  	  at System.Collections.Generic.Dictionary`2:FindValue <0x0011f>
  	  at System.Collections.Generic.Dictionary`2:TryGetValue <0x000af>
  	  at ObjCRuntime.Class:GetClassHandle <0x0022b>
  	  at ObjCRuntime.Class:GetClassHandle <0x00083>
  	  at ObjCRuntime.Class:GetHandle <0x00073>
  	  at Foundation.NSObject:AllocIfNeeded <0x000df>
  	  at Foundation.NSObject:.ctor <0x00093>
  	  at Foundation.NSString:.ctor <0x0007f>
  	  at Foundation.NSString:.cctor <0x00097>
  	  at System.Object:runtime_invoke_dynamic <0x0022f>
  	  at <unknown> <0xffffffff>
  	  at UIKit.UIApplication:Main <0x00083>
  	  at dontlink.Application:Main <0x00097>
  	  at System.Object:runtime_invoke_dynamic <0x0022f>
  =================================================================
  Application 'com.xamarin.dontlink' terminated.

[...]

Configuration

Binlog: run.binlog.zip
Build.txt: build.txt.zip

Other info

This might be size related: this crash only occurs when the linker is disabled (the app is 446MB).

@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Jan 15, 2021
@imhameed imhameed added area-VM-meta-mono os-ios Apple iOS runtime-mono specific to the Mono runtime labels Jan 15, 2021
@ghost
Copy link

ghost commented Jan 15, 2021

Tagging subscribers to this area: @CoffeeFlux
See info in area-owners.md if you want to be subscribed.

Issue Details

Description

iOS App crashes upon launch on device with:

error: Ran out of trampolines of type 1 in '/private/var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/System.Private.CoreLib.dll' (limit 0). See http://docs.xamarin.com/ios/troubleshooting for instructions on how to fix this condition.

Repro:

git clone https://github.com/rolfbjarne/xamarin-macios
cd xamarin-macios
git checkout dotnet-dontlink-trampoline-inexistence
./configure --enable-dotnet --enable-xamarin
make reset
make all -j8
make install -j8
make dontlink -C tests/dotnet

Output:

Launched application 'com.xamarin.dontlink' on 'Rolf's iPhone 6s - iOS 10.3.3' with pid 707
  2021-01-15 17:01:17.542 dont link[707:293332] error: Ran out of trampolines of type 1 in '/private/var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/System.Private.CoreLib.dll' (limit 0). See http://docs.xamarin.com/ios/troubleshooting for instructions on how to fix this condition.
  
  =================================================================
  	Native Crash Reporting
  =================================================================
  Got a SIGABRT while executing native code. This usually indicates
  a fatal error in the mono runtime or one of the native libraries 
  used by your application.
  =================================================================
  
  =================================================================
  	Native stacktrace:
  =================================================================
  	0x10a3c7288 - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : mono_dump_native_crash_info
  	0x10a3b10f4 - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : mono_handle_native_crash
  	0x10a3c6658 - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : sigabrt_signal_handler
  	0x183a8131c - /usr/lib/system/libsystem_platform.dylib : _sigtramp
  	0x183a87264 - /usr/lib/system/libsystem_pthread.dylib : pthread_kill
  	0x1839319c4 - /usr/lib/system/libsystem_c.dylib : abort
  	0x10a22e83c - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : _ZL12log_callbackPKcS0_S0_iPv
  	0x10a246640 - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : monoeg_g_logv
  	0x10a246774 - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : monoeg_g_log
  	0x10a3a71c8 - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : get_numerous_trampoline
  	0x10a3a72a8 - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : mono_aot_get_static_rgctx_trampoline
  	0x10a3b29c0 - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : mono_create_static_rgctx_trampoline
  	0x10a392474 - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : mono_jit_runtime_invoke
  	0x10a2cb4dc - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : mono_runtime_try_invoke
  	0x10a2ca100 - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : mono_runtime_class_init_full
  	0x10a3966d0 - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : mono_generic_class_init
  	0x1070c7718 - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : wrapper_managed_to_native_object___icall_wrapper_mono_generic_class_init_intptr
  	0x106de8968 - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : System_Array_Empty_T_BYTE
  	0x106981e9c - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : System_Reflection_AssemblyName_FillName_Mono_MonoAssemblyName__string_bool_bool_bool
  	0x106981708 - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : System_Reflection_AssemblyName_Create_intptr_string
  	0x10699b84c - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : System_Reflection_RuntimeAssembly_GetName_bool
  	0x10697cfb0 - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : System_Reflection_Assembly_GetName
  	0x1074f782c - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : Registrar_DynamicRegistrar_GetAssemblyName_System_Reflection_Assembly
  	0x1074f4eac - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : Registrar_DynamicRegistrar_SkipRegisterAssembly_System_Reflection_Assembly
  	0x107511c4c - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : Registrar_Registrar_RegisterAssembly_System_Reflection_Assembly
  	0x1075221a8 - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : ObjCRuntime_Runtime_RegisterAssembly_System_Reflection_Assembly
  	0x1075208cc - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : ObjCRuntime_Runtime_RegisterAssembly_intptr
  	0x107519038 - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : ObjCRuntime_Runtime_register_assembly_intptr_int_
  	0x109fe4c08 - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : wrapper_native_to_managed_ObjCRuntime_Runtime_register_assembly_intptr_int_
  	0x10a22b920 - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : xamarin_register_assembly
  	0x10a22dd74 - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : _ZL17register_assemblyP13_MonoAssemblyPj
  	0x10a22dcd4 - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : xamarin_open_and_register
  	0x10a416280 - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : _Z32xamarin_register_assemblies_implv
  	0x10a23f2e0 - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : xamarin_main
  	0x10a416488 - /var/containers/Bundle/Application/D4741AA0-B7E1-442E-AAA2-BFD48F71C744/dont link.app/dont link : main
  	0x1838ad59c - /usr/lib/system/libdyld.dylib : <redacted>
  
  =================================================================
  	Basic Fault Address Reporting
  =================================================================
  Memory around native instruction pointer (0x1839bd014):0x1839bd004  fd 7b c1 a8 c0 03 5f d6 10 29 80 d2 01 10 00 d4  .{...._..)......
  0x1839bd014  c3 00 00 54 fd 7b bf a9 fd 03 00 91 13 8e ff 97  ...T.{..........
  0x1839bd024  bf 03 00 91 fd 7b c1 a8 c0 03 5f d6 90 29 80 d2  .....{...._..)..
  0x1839bd034  01 10 00 d4 c3 00 00 54 fd 7b bf a9 fd 03 00 91  .......T.{......
  
  =================================================================
  	Managed Stacktrace:
  =================================================================
  	  at <unknown> <0xffffffff>
  	  at System.Object:__icall_wrapper_mono_generic_class_init <0x00007>
  	  at System.Array:Empty <0x00067>
  	  at System.Reflection.AssemblyName:FillName <0x0071b>
  	  at System.Reflection.AssemblyName:Create <0x00117>
  	  at System.Reflection.RuntimeAssembly:GetName <0x0009b>
  	  at System.Reflection.Assembly:GetName <0x0006f>
  	  at Registrar.DynamicRegistrar:GetAssemblyName <0x0006b>
  	  at Registrar.DynamicRegistrar:SkipRegisterAssembly <0x0008b>
  	  at Registrar.Registrar:RegisterAssembly <0x001bb>
  	  at ObjCRuntime.Runtime:RegisterAssembly <0x00327>
  	  at ObjCRuntime.Runtime:RegisterAssembly <0x000ab>
  	  at ObjCRuntime.Runtime:register_assembly <0x00097>
  	  at ObjCRuntime.Runtime:register_assembly <0x000d7>
  =================================================================
  Xamarin.Hosting: Process '707' exited.
  Application 'com.xamarin.dontlink' terminated.

Complete output

Configuration

.NET 6.0.100-alpha.1.21060.3

Binlog:
dont link.binlog.zip

Regression?

No

Other info

This might be size related: this crash only occurs when the linker is disabled (the app is 446MB).

Author: rolfbjarne
Assignees: -
Labels:

area-VM-meta-mono, os-ios, runtime-mono, untriaged

Milestone: -

@imhameed imhameed removed the untriaged New issue has not been triaged by the area owner label Jan 15, 2021
@marek-safar marek-safar added this to the 6.0.0 milestone Jan 20, 2021
@rolfbjarne
Copy link
Member Author

@marek-safar @vargaz is this something that could be looked at?

@vargaz
Copy link
Contributor

vargaz commented Jun 22, 2021

ios is using infinite trampolines, at least on arm64, so this shouldn't happen.

@rolfbjarne
Copy link
Member Author

ios is using infinite trampolines, at least on arm64, so this shouldn't happen.

yeah, I've wondered if it's just a build problem where a define isn't set.

@steveisok steveisok assigned akoeplinger and vargaz and unassigned akoeplinger Jun 23, 2021
@vargaz
Copy link
Contributor

vargaz commented Jun 29, 2021

run.binlog.gz

@rolfbjarne
Copy link
Member Author

Different parts of our stack keep updating :/

In any case:

  1. I've updated my branch to fix the version of Microsoft.iOS to a certain version, so do a git pull to get that (rolfbjarne/xamarin-macios@b66a545)
  2. Install a newer .NET: dotnet-sdk-6.0.100-preview.6.21328.1-osx-x64.pkg
  3. Install the workloads again: sudo dotnet workload install microsoft-ios-sdk-full
  4. Try make run again

If you get a bunch of errors about "One or more errors occurred. (Permission denied)", then you need to do this:

sudo chmod +x /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.ios-arm64/6.0.0-preview.7.21329.1/Sdk/../tools/mono-aot-cross

@vargaz
Copy link
Contributor

vargaz commented Jun 29, 2021

run.binlog.gz

@rolfbjarne
Copy link
Member Author

This seems fixed in the latest versions of .NET 6.

@ghost ghost locked as resolved and limited conversation to collaborators Jul 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-VM-meta-mono os-ios Apple iOS runtime-mono specific to the Mono runtime
Projects
None yet
Development

No branches or pull requests

5 participants