I’m about to distribute my iOS app, after I archive the challenge I get the next error:
/Customers/luissalas/Downloads/AppCitas/AppCitas/AppCitas.iOS/MTOUCH: Error MT2101: Cannot resolve the reference 'System.Void ObjCRuntime.DisposableObject::Dispose()', referenced from the strategy 'Plugin.Media.Abstractions.MediaFile Plugin.Media.ELCImagePickerViewController::GetPictureMediaFile(AssetsLibrary.ALAsset,System.Int64)' in 'Xamarin.iOS, Model=0.0.0.0, Tradition=impartial, PublicKeyToken=**********'. (MT2101) (AppCitas.iOS)
All NuGet packages are up to date, I’m engaged on
- MacOS Catalina 10.15.7
- Xamarin.iOS 14.0
- XCode 12.0
- Mono 6.12.0.199
- Xamarin.Foms 5.0.0.2622
- Visible Studio 17.6.8
- NuGet 6.4.0.117
The compilation in Debug and Launch mode runs fantastic within the simulator, however is unimaginable for me to archive the challenge.
The previous programmer managed to deploy the app within the appstore, I used to be simply employed to replace it, I suppose the issue is said to variations, since my Mac is previous, it doesn’t permit me to put in later variations of XCode 12.4 for iOS 14.4.
I’ve tried to downgrade the variations of Xamarin.Types, Xamarin.iOS, Mono, Visible Studio and XCode however the issue doesn’t disappear, now I’m working with the latest variations that my laptop permits me to put in and it’s unimaginable for me to archive the challenge.
I’ve tried all of the linker habits choices and the issue persists:
IMAGE : iOS Construct
About Visible Studio:
Visible Studio Group 2022 for Mac
Versión 17.6.8 (construct 400)
UUID de instalación: b89db20f-1fcc-4715-ac13-331b0a217ca2
Runtime
.NET 7.0.3 (64-bit)
Structure: X64
Microsoft.macOS.Sdk 13.1.1007; git-rev-head:8afca776a0a96613dfb7200e0917bb57f9ed5583; git-branch:launch/7.0.1xx-xcode14.2
Xamarin Designer
Model: 17.6.3.9
Hash: 2648399ae8
Department: remotes/origin/d17-6
Construct date: 2024-01-03 23:07:48 UTC
Roslyn (Language Service)
4.6.0-3.23180.6+99e956e42697a6dd886d1e12478ea2b27cceacfa
NuGet
Versión: 6.4.0.117
SDK de .NET (x64)
SDK: /usr/native/share/dotnet/sdk/7.0.312/Sdks
Versiones del SDK:
7.0.312
6.0.418
5.0.408
3.1.420
SDK de MSBuild: /Purposes/Visible Studio.app/Contents/MonoBundle/MSBuild/Present/bin/Sdks
.NET Runtime (x64)
Runtime: /usr/native/share/dotnet/dotnet
Versiones de tiempo de ejecución:
7.0.15
6.0.26
5.0.17
3.1.26
Xamarin.Profiler
Versión: 1.8.0.49
Ubicación: /Purposes/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
Updater
Versión: 11
Herramientas de desarrollo de Apple
Xcode: 12.0 17219
Compilación: 12A7209
Xamarin.iOS
Versión: 14.0.0.0 Visible Studio Group
Hash: 7ec3751a1
Rama: xcode12
Fecha de la compilación: 2020-09-16 11:33:15-0400
Sistema operativo
Mac OS X 10.15.7
Darwin 19.6.0 Darwin Kernel Model 19.6.0
Tue Jun 21 21:18:39 PDT 2022
root:xnu-6153.141.66~1/RELEASE_X86_64 x86_64