xamarin-macios icon indicating copy to clipboard operation
xamarin-macios copied to clipboard

ArgumentNullException When I call soap service (.NET 6 IOS)

Open jona-1993 opened this issue 2 years ago • 18 comments

Steps to Reproduce

  1. Add nuget packages : System.ServiceModel.Duplex, System.ServiceModel.Federation, System.ServiceModel.Http, System.ServiceModel.NetTcp, System.ServiceModel.Primitives (Last version).
  2. In visual studio (Windows because it's absent in Visual studio Mac): Add Connected Service => WCF Web Service
  3. In AppDelegate.cs => FinishedLaunching method: EHealthConnectionWebService.ServiceSoapClient cli = new ServiceSoapClient(ServiceSoapClient.EndpointConfiguration.ServiceSoap12); cli.TestAccess();

Expected Behavior

No crash

Actual Behavior

When I call: cli.TestAccess();

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null. (Parameter 'obj') at ObjCRuntime.Class.GetClassHandle(Type type, Boolean throw_if_failure, Boolean& is_custom_type) at ObjCRuntime.Class.GetClassHandle(Type type) at ObjCRuntime.Class..ctor(Type type) at ObjCRuntime.RuntimeOptions.Read() at ObjCRuntime.RuntimeOptions.GetHttpMessageHandler() at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) --- End of inner exception stack trace --- at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) at System.Net.Http.HttpClientHandler.CreateNativeHandler() at System.Net.Http.HttpClientHandler..ctor() at System.ServiceModel.Channels.HttpChannelFactory1[[System.ServiceModel.Channels.IRequestChannel, System.Private.ServiceModel, Version=4.10.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].GetHttpClientHandler(EndpointAddress to, SecurityTokenContainer clientCertificateToken) at System.ServiceModel.Channels.HttpChannelFactory1.<GetHttpClientAsync>d__51[[System.ServiceModel.Channels.IRequestChannel, System.Private.ServiceModel, Version=4.10.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext() at System.ServiceModel.Channels.HttpChannelFactory1.HttpClientRequestChannel.<GetHttpClientAsync>d__27[[System.ServiceModel.Channels.IRequestChannel, System.Private.ServiceModel, Version=4.10.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext() at System.ServiceModel.Channels.HttpChannelFactory1.HttpClientRequestChannel.HttpClientChannelAsyncRequest.<SendRequestAsync>d__13[[System.ServiceModel.Channels.IRequestChannel, System.Private.ServiceModel, Version=4.10.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext() at System.ServiceModel.Channels.RequestChannel.RequestAsync(Message message, TimeSpan timeout) at System.ServiceModel.Channels.RequestChannel.RequestAsyncInternal(Message message, TimeSpan timeout) at System.Runtime.TaskHelpers.WaitForCompletionNoSpin[Message](Task1 task) at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(MethodCall methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(MethodInfo targetMethod, Object[] args) at generatedProxy_1.TestAccess() at EHealthConnectionWebService.ServiceSoapClient.TestAccess() in /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/Connected Services/EHealthConnectionWebService/Reference.cs:line 75226 at HelloiOS.AppDelegate.FinishedLaunching(UIApplication application, NSDictionary launchOptions) in /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/AppDelegate.cs:line 31 at UIKit.UIApplication.Main(String[] args, Type principalClass, Type delegateClass) at HelloiOS.Application.Main(String[] args) in /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/Main.cs:line 12 `

Environment

Visual Studio Community 2022 for Mac Preview
Version 17.0 Preview (17.0 build 8320)
Installation UUID: 2bebfe6c-02af-4efa-b62e-920b2f817b2c

Runtime
.NET 6.0.3 (64-bit)
Architecture: X64

Roslyn (Language Service)
4.1.0-3.22075.3+592501cbb9c9394072a245c15b3458ff88155d85

NuGet
Version : 6.0.0.262

.NET SDK (x64)
SDK: /usr/local/share/dotnet/sdk/6.0.300-preview.22204.3/Sdks
SDK Versions:
	6.0.300-preview.22204.3
	6.0.200
	6.0.102
	5.0.406
	5.0.405
	3.1.417
	2.1.810
MSBuild SDKs: /usr/local/share/dotnet/sdk/6.0.300-preview.22204.3/Sdks

.NET Runtime (x64)
Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
	6.0.3
	6.0.2
	6.0.1
	5.0.15
	5.0.14
	5.0.13
	3.1.23
	3.1.22
	3.1.21
	3.0.0
	2.1.22
	2.1.21

Xamarin.Profiler
Version : 1.7.0.0
Emplacement : /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

Updater
Version : 11

Apple Developer Tools
Xcode 13.3 (20102)
Build 13E113

Xamarin.Mac
Version: 8.8.0.0 (Visual Studio Community)
Hash: f10d9e023
Branch: xcode13.3
Build date: 2022-03-15 11:47:34-0400

Xamarin.iOS
Version: 15.8.0.0 (Visual Studio Community)
Hash: f10d9e023
Branch: xcode13.3
Build date: 2022-03-15 11:47:35-0400

Xamarin Designer
Version: 17.1.5.47
Hash: 626674a78
Branch: remotes/origin/d17-0-vsmac-p8-candidate
Build date: 2022-03-30 14:42:34 UTC

Xamarin.Android
Version : 12.2.99.125 (Visual Studio Community)
Commit: xamarin-android/main/b3cb3a9
Android SDK: /Users/jona1993/Library/Developer/Xamarin/android-sdk-macosx
	Versions Android prises en charge :
		12.0(Niveau d’API 31)
		11.0(Niveau d’API 30)
		9.0 (Niveau d’API 28)

SDK Command-line Tools Version: 5.0
Version des outils de plateforme du SDK : 31.0.3
Version des outils de génération du SDK : 31.0.0

Build Information: 
Mono: f34bd77
Java.Interop: xamarin/java.interop/main@cbd96668
ProGuard: Guardsquare/proguard/v7.0.1@912d149
SQLite: xamarin/sqlite/3.38.0@ccd83d8
Xamarin.Android Tools: xamarin/xamarin-android-tools/main@f0b3abd

Microsoft Build of OpenJDK
Java SDK: /Library/Java/JavaVirtualMachines/microsoft-11.jdk
11.0.12
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

Eclipse Temurin JDK
Java SDK: /Library/Java/JavaVirtualMachines/temurin-8.jdk
1.8.0.302
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

Android SDK Manager
Version: 17.2.0.30
Hash: 1f76363
Branch: remotes/origin/d17-2
Build date: 2022-03-30 14:42:38 UTC

Android Device Manager
Version: 0.0.0.1109
Hash: cb5ab08
Branch: remotes/origin/d17-2
Build date: 2022-03-30 14:42:38 UTC

Build Information
Release ID: 1700008320
Git revision: 06baf68a7e5a3fd9ab6e343e85745d6f118f697a
Build date: 2022-03-30 14:39:55+00
Build branch: release-17.0
Build lane: release-17.0

Operating System
Mac OS X 12.2.1
Darwin 21.3.0 Darwin Kernel Version 21.3.0
    Wed Jan  5 21:37:58 PST 2022
    root:xnu-8019.80.24~20/RELEASE_X86_64 x86_64


Build Logs

msbuild.binlog.zip

jona-1993 avatar Apr 08 '22 14:04 jona-1993

Could you please zip up and attach your test project, so that we can be sure we're testing the same thing? Thanks!

rolfbjarne avatar Apr 19 '22 12:04 rolfbjarne

Hi @jona-1993. We have added the "need-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

msftbot[bot] avatar Apr 19 '22 12:04 msftbot[bot]

You can find that here: https://app.box.com/s/m6vgaivk6ov9yl9xfu7a8g4d85emi58q

jona-1993 avatar Apr 19 '22 13:04 jona-1993

@jona-1993 I get this exception, which seems to be a problem getting the result from the server? Or is this what you're expecting to see?

System.ServiceModel.ProtocolException: There is a problem with the XML that was received from the network. See inner exception for more details.
  --> System.Xml.XmlException: Unexpected end of file. Following elements are not closed: TestAcces, Body, Envelope. Line 1, position 227.
   at System.Xml.XmlExceptionHelper.ThrowXmlException(XmlDictionaryReader reader, String res, String arg1, String arg2, String arg3)
   at System.Xml.XmlExceptionHelper.ThrowXmlException(XmlDictionaryReader reader, String res, String arg1, String arg2)
   at System.Xml.XmlExceptionHelper.ThrowXmlException(XmlDictionaryReader reader, String res, String arg1)
   at System.Xml.XmlExceptionHelper.ThrowUnexpectedEndOfFile(XmlDictionaryReader reader)
   at System.Xml.XmlBufferReader.EnsureByte()
   at System.Xml.XmlBufferReader.GetByteHard()
   at System.Xml.XmlBufferReader.GetByte()
   at System.Xml.XmlUTF8TextReader.ReadStartElement()
   at System.Xml.XmlUTF8TextReader.Read()
   at System.ServiceModel.Channels.Message.ReadStartBody(XmlDictionaryReader reader, EnvelopeVersion envelopeVersion, Boolean& isFault, Boolean& isEmpty)
   at System.ServiceModel.Channels.ReceivedMessage.ReadStartBody(XmlDictionaryReader reader)
   at System.ServiceModel.Channels.BufferedMessage..ctor(IBufferedMessageData messageData, RecycledMessageState recycledMessageState, Boolean[] understoodHeaders, Boolean understoodHeadersModified)
   at System.ServiceModel.Channels.BufferedMessage..ctor(IBufferedMessageData messageData, RecycledMessageState recycledMessageState)
   at System.ServiceModel.Channels.TextMessageEncoderFactory.TextMessageEncoder.ReadMessage(ArraySegment`1 buffer, BufferManager bufferManager, String contentType)
   at System.ServiceModel.Channels.HttpResponseMessageHelper.DecodeBufferedMessageAsync(ArraySegment`1 buffer, Stream inputStream, TimeoutHelper timeoutHelper)
   --- End of inner exception stack trace ---
   at System.ServiceModel.Channels.HttpResponseMessageHelper.DecodeBufferedMessageAsync(ArraySegment`1 buffer, Stream inputStream, TimeoutHelper timeoutHelper)
   at System.ServiceModel.Channels.HttpResponseMessageHelper.ReadBufferedMessageAsync(Task`1 inputStreamTask, TimeoutHelper timeoutHelper)
   at System.ServiceModel.Channels.HttpResponseMessageHelper.ParseIncomingResponse(TimeoutHelper timeoutHelper)
   at System.ServiceModel.Channels.HttpChannelFactory`1.HttpClientRequestChannel.HttpClientChannelAsyncRequest.<ReceiveReplyAsync>d__17[[System.ServiceModel.Channels.IRequestChannel, System.Private.ServiceModel, Version=4.10.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext()
   at System.ServiceModel.Channels.RequestChannel.RequestAsync(Message message, TimeSpan timeout)
   at System.ServiceModel.Channels.RequestChannel.RequestAsyncInternal(Message message, TimeSpan timeout)
   at System.Runtime.TaskHelpers.WaitForCompletionNoSpin[Message](Task`1 task)
   at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
   at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(MethodCall methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(MethodInfo targetMethod, Object[] args)
   at generatedProxy_1.TestAccess()
   at EHealthConnectionWebService.ServiceSoapClient.TestAccess() in /Users/rolf/test/HelloiOS/HelloiOS/Connected Services/EHealthConnectionWebService/Reference.cs:line 75226
   at HelloiOS.AppDelegate.FinishedLaunching(UIApplication application, NSDictionary launchOptions) in /Users/rolf/test/HelloiOS/HelloiOS/AppDelegate.cs:line 33

rolfbjarne avatar Apr 21 '22 13:04 rolfbjarne

This method returns true if I can access to the web service. It works with .NET 6 Windows and Mac. But IOS, no.. With Xamarin-ios, I can use that with web references but with .NET 6 we have to use Connected Services..

jona-1993 avatar Apr 21 '22 14:04 jona-1993

Do you get the same behavior in both the simulator and on device?

rolfbjarne avatar Apr 28 '22 07:04 rolfbjarne

I tested with simulator. I would test with ipad but i have this error in visual studio mac 2022 preview: RuntimeIdentifier platform 'ios-arm64' and PlatformTarget 'x64' must be compatible.

I changed PlatformTarget to AnyCPU and RuntimeIdentifier to ios-arm64. Have you an idea why I can't build for my device?

jona-1993 avatar May 03 '22 10:05 jona-1993

I changed PlatformTarget to AnyCPU and RuntimeIdentifier to ios-arm64. Have you an idea why I can't build for my device?

Try not setting PlatformTarget at all, we'll compute the correct value depending on the RuntimeIdentifier value.

rolfbjarne avatar May 03 '22 11:05 rolfbjarne

Same error without PlatformTarget. I don't know if something is missing.

My cproj:

<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>net6.0-ios</TargetFramework>
    <RuntimeIdentifier>ios-arm64</RuntimeIdentifier>
    <OutputType>Exe</OutputType>
    <LangVersion>preview</LangVersion>
    <Nullable>enable</Nullable>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
     
    <MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler>
    <CodesignKey>....</CodesignKey>
    <CodesignProvision>....</CodesignProvision>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
    <CodesignKey>iPhone Developer</CodesignKey>
  </PropertyGroup>
  <ItemGroup>
    <Folder Include="Web References" />
  </ItemGroup>
  <ItemGroup>
    <PackageReference Include="System.ServiceModel.Duplex" Version="4.10.0-preview1.22158.1" />
    <PackageReference Include="System.ServiceModel.Federation" Version="4.10.0-preview1.22158.1" />
    <PackageReference Include="System.ServiceModel.Http" Version="4.10.0-preview1.22158.1" />
    <PackageReference Include="System.ServiceModel.NetTcp" Version="4.10.0-preview1.22158.1" />
    <PackageReference Include="System.ServiceModel.Primitives" Version="4.10.0-preview1.22158.1" />
    <PackageReference Include="System.ServiceModel.Security" Version="4.10.0-preview1.22158.1" />
    <PackageReference Include="System.Private.ServiceModel" Version="4.10.0-preview1.22158.1" />
  </ItemGroup>
</Project>

Ipad infos: iPad Air 2 Version 15.4.1

jona-1993 avatar May 03 '22 11:05 jona-1993

Can you build like this:

dotnet build myproject.csproj /bl:msbuild.binlog

and then upload the resulting msbuild.binlog file here?

rolfbjarne avatar May 03 '22 11:05 rolfbjarne

Did you find anything?

jona-1993 avatar Jun 16 '22 07:06 jona-1993

Sorry, it looks like this went past my radar.

The PlatformTarget value is set in HelloiOS.csproj.user - can you delete this file and try again?

rolfbjarne avatar Jun 16 '22 09:06 rolfbjarne

I deleted HelloiOS.csproj.user but I it doesn't works:

I have that in build logs:

_LinkNativeExecutable:
         Tool xcrun execution started with arguments: clang++ -mios-version-min=15.4 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk -arch arm64 /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/HelloiOS.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/Microsoft.Bcl.AsyncInterfaces.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/Microsoft.Extensions.ObjectPool.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/Microsoft.IdentityModel.Logging.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/Microsoft.IdentityModel.Protocols.WsTrust.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/Microsoft.IdentityModel.Tokens.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/Microsoft.IdentityModel.Tokens.Saml.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/Microsoft.IdentityModel.Xml.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Drawing.Common.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Private.ServiceModel.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Security.Cryptography.Pkcs.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Security.Cryptography.Xml.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Security.Permissions.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.ServiceModel.Duplex.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.ServiceModel.Federation.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.ServiceModel.Http.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.ServiceModel.NetTcp.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.ServiceModel.Primitives.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.ServiceModel.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.ServiceModel.Security.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Windows.Extensions.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/Microsoft.CSharp.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/Microsoft.Win32.Primitives.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Buffers.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Collections.Concurrent.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Collections.NonGeneric.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Collections.Specialized.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Collections.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.ComponentModel.EventBasedAsync.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.ComponentModel.Primitives.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.ComponentModel.TypeConverter.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.ComponentModel.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Data.Common.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Diagnostics.DiagnosticSource.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Diagnostics.TraceSource.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Drawing.Primitives.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Drawing.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Formats.Asn1.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.IO.Compression.Brotli.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.IO.Compression.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.IO.FileSystem.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Linq.Expressions.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Linq.Queryable.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Linq.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Memory.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Net.Http.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Net.NameResolution.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Net.NetworkInformation.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Net.Primitives.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Net.Quic.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Net.Requests.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Net.Security.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Net.Sockets.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Net.WebHeaderCollection.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Net.WebProxy.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Net.WebSockets.Client.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Net.WebSockets.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Numerics.Vectors.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.ObjectModel.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Private.DataContractSerialization.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Private.Uri.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Private.Xml.Linq.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Private.Xml.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Reflection.DispatchProxy.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Resources.ResourceManager.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Runtime.CompilerServices.Unsafe.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Runtime.Extensions.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Runtime.InteropServices.RuntimeInformation.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Runtime.InteropServices.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Runtime.Numerics.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Runtime.Serialization.Formatters.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Runtime.Serialization.Primitives.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Runtime.Serialization.Xml.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Runtime.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Security.AccessControl.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Security.Claims.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Security.Cryptography.Algorithms.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Security.Cryptography.Cng.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Security.Cryptography.Csp.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Security.Cryptography.Encoding.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Security.Cryptography.Primitives.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Security.Cryptography.X509Certificates.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Security.Principal.Windows.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Text.RegularExpressions.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Threading.Channels.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Threading.Tasks.Extensions.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Threading.Thread.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Threading.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Xml.ReaderWriter.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Xml.XmlSerializer.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/netstandard.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Private.CoreLib.dll.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/Microsoft.iOS.dll.o /usr/local/share/dotnet/packs/Microsoft.iOS.Runtime.ios-arm64/15.4.200-rc.2.152/runtimes/ios-arm64/native/libxamarin-dotnet-debug.a /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.ios-arm64/6.0.2-mauipre.1.22102.15/runtimes/ios-arm64/native/libSystem.IO.Compression.Native.a /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.ios-arm64/6.0.2-mauipre.1.22102.15/runtimes/ios-arm64/native/libSystem.Native.a /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.ios-arm64/6.0.2-mauipre.1.22102.15/runtimes/ios-arm64/native/libSystem.Net.Security.Native.a /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.ios-arm64/6.0.2-mauipre.1.22102.15/runtimes/ios-arm64/native/libSystem.Security.Cryptography.Native.Apple.a /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.ios-arm64/6.0.2-mauipre.1.22102.15/runtimes/ios-arm64/native/libicudata.a /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.ios-arm64/6.0.2-mauipre.1.22102.15/runtimes/ios-arm64/native/libicui18n.a /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.ios-arm64/6.0.2-mauipre.1.22102.15/runtimes/ios-arm64/native/libicuuc.a /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.ios-arm64/6.0.2-mauipre.1.22102.15/runtimes/ios-arm64/native/libmono-component-debugger-static.a /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.ios-arm64/6.0.2-mauipre.1.22102.15/runtimes/ios-arm64/native/libmono-component-diagnostics_tracing-static.a /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.ios-arm64/6.0.2-mauipre.1.22102.15/runtimes/ios-arm64/native/libmono-component-hot_reload-stub-static.a /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.ios-arm64/6.0.2-mauipre.1.22102.15/runtimes/ios-arm64/native/libmonosgen-2.0.a /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.ios-arm64/6.0.2-mauipre.1.22102.15/runtimes/ios-arm64/native/libmono-component-debugger-static.a /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.ios-arm64/6.0.2-mauipre.1.22102.15/runtimes/ios-arm64/native/libmono-component-diagnostics_tracing-static.a /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.Mono.ios-arm64/6.0.2-mauipre.1.22102.15/runtimes/ios-arm64/native/libmono-component-hot_reload-stub-static.a -framework CFNetwork -framework CloudKit -framework CoreFoundation -framework CoreGraphics -framework Foundation -framework SystemConfiguration -framework UIKit -framework GSS -framework CFNetwork /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/main.arm64.o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/registrar.o -o /Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/HelloiOS -dead_strip -u_SystemNative_StrErrorR -u_BrotliDecoderCreateInstance -u_BrotliDecoderDecompressStream -u_BrotliDecoderDestroyInstance -u_BrotliDecoderIsFinished -u_BrotliEncoderCreateInstance -u_BrotliEncoderCompressStream -u_BrotliEncoderHasMoreOutput -u_BrotliEncoderDestroyInstance -u_CompressionNative_DeflateInit2_ -u_CompressionNative_Deflate -u_CompressionNative_DeflateEnd -u_CompressionNative_InflateInit2_ -u_CompressionNative_Inflate -u_CompressionNative_InflateEnd -u_NetSecurityNative_IsNtlmInstalled -u_NetSecurityNative_EnsureGssInitialized -u_NetSecurityNative_ReleaseGssBuffer -u_NetSecurityNative_DisplayMinorStatus -u_NetSecurityNative_DisplayMajorStatus -u_NetSecurityNative_ImportUserName -u_NetSecurityNative_ImportPrincipalName -u_NetSecurityNative_ReleaseName -u_NetSecurityNative_AcquireAcceptorCred -u_NetSecurityNative_InitiateCredSpNego -u_NetSecurityNative_InitiateCredWithPassword -u_NetSecurityNative_ReleaseCred -u_NetSecurityNative_InitSecContext -u_NetSecurityNative_InitSecContextEx -u_NetSecurityNative_AcceptSecContext -u_NetSecurityNative_DeleteSecContext -u_SystemNative_Close -u_SystemNative_GetHostName -u_SystemNative_GetNameInfo -u_SystemNative_GetHostEntryForName -u_SystemNative_FreeHostEntry -u_SystemNative_Socket -u_SystemNative_EnumerateInterfaceAddresses -u_SystemNative_EnumerateGatewayAddressesForInterface -u_SystemNative_GetDomainName -u_SystemNative_GetNativeIPInterfaceStatistics -u_SystemNative_ConvertErrorPalToPlatform -u_SystemNative_GetIPSocketAddressSizes -u_SystemNative_GetAddressFamily -u_SystemNative_SetAddressFamily -u_SystemNative_GetPort -u_SystemNative_SetPort -u_SystemNative_GetIPv4Address -u_SystemNative_SetIPv4Address -u_SystemNative_GetIPv6Address -u_SystemNative_SetIPv6Address -u_SystemNative_InterfaceNameToIndex -u_NetSecurityNative_GetUser -u_NetSecurityNative_Wrap -u_NetSecurityNative_Unwrap -u_AppleCryptoNative_SecCopyErrorMessageString -u_AppleCryptoNative_SslCreateContext -u_AppleCryptoNative_SslSetConnection -u_AppleCryptoNative_SslSetMinProtocolVersion -u_AppleCryptoNative_SslSetMaxProtocolVersion -u_AppleCryptoNative_SslCopyCertChain -u_AppleCryptoNative_SslCopyCADistinguishedNames -u_AppleCryptoNative_SslSetBreakOnServerAuth -u_AppleCryptoNative_SslSetBreakOnClientAuth -u_AppleCryptoNative_SslSetCertificate -u_AppleCryptoNative_SslSetTargetName -u_AppleCryptoNative_SSLSetALPNProtocols -u_AppleCryptoNative_SslGetAlpnSelected -u_AppleCryptoNative_SslHandshake -u_AppleCryptoNative_SslSetAcceptClientCert -u_AppleCryptoNative_SslSetIoCallbacks -u_AppleCryptoNative_SslWrite -u_AppleCryptoNative_SslRead -u_AppleCryptoNative_SslIsHostnameMatch -u_AppleCryptoNative_SslGetCipherSuite -u_AppleCryptoNative_SslGetProtocolVersion -u_AppleCryptoNative_SslSetEnabledCipherSuites -u_AppleCryptoNative_X509ChainGetChainSize -u_AppleCryptoNative_X509ChainGetCertificateAtIndex -u_SystemNative_FcntlSetIsNonBlocking -u_SystemNative_FcntlGetIsNonBlocking -u_SystemNative_FcntlGetFD -u_SystemNative_ConvertErrorPlatformToPal -u_SystemNative_Connect -u_SystemNative_Disconnect -u_SystemNative_GetBytesAvailable -u_SystemNative_GetDomainSocketSizes -u_SystemNative_GetMaximumAddressSize -u_SystemNative_GetPeerName -u_SystemNative_GetSocketErrorOption -u_SystemNative_GetSocketType -u_SystemNative_GetSockName -u_SystemNative_GetSockOpt -u_SystemNative_GetLingerOption -u_SystemNative_SetLingerOption -u_SystemNative_SetSendTimeout -u_SystemNative_SetReceiveTimeout -u_SystemNative_FStat -u_SystemNative_GetIPv4MulticastOption -u_SystemNative_SetIPv4MulticastOption -u_SystemNative_GetIPv6MulticastOption -u_SystemNative_SetIPv6MulticastOption -u_SystemNative_Poll -u_SystemNative_PlatformSupportsDualModeIPv4PacketInfo -u_SystemNative_Read -u_SystemNative_Receive -u_SystemNative_ReceiveMessage -u_SystemNative_Send -u_SystemNative_SendMessage -u_SystemNative_SetSockOpt -u_SystemNative_Shutdown -u_SystemNative_CreateSocketEventPort -u_SystemNative_CloseSocketEventPort -u_SystemNative_CreateSocketEventBuffer -u_SystemNative_FreeSocketEventBuffer -u_SystemNative_TryChangeSocketEventRegistration -u_SystemNative_WaitForSocketEvents -u_SystemNative_Write -u_SystemNative_GetUnixVersion -u_SystemNative_GetOSArchitecture -u_SystemNative_GetProcessArchitecture -u_AppleCryptoNative_DigestFree -u_AppleCryptoNative_DigestCreate -u_AppleCryptoNative_DigestUpdate -u_AppleCryptoNative_DigestFinal -u_AppleCryptoNative_DigestOneShot -u_AppleCryptoNative_DigestReset -u_AppleCryptoNative_EccGenerateKey -u_AppleCryptoNative_EccGetKeySizeInBits -u_AppleCryptoNative_HmacFree -u_AppleCryptoNative_HmacCreate -u_AppleCryptoNative_HmacInit -u_AppleCryptoNative_HmacUpdate -u_AppleCryptoNative_HmacFinal -u_AppleCryptoNative_HmacOneShot -u_AppleCryptoNative_GetRandomBytes -u_AppleCryptoNative_RsaGenerateKey -u_AppleCryptoNative_RsaSignaturePrimitive -u_AppleCryptoNative_RsaVerificationPrimitive -u_AppleCryptoNative_RsaEncryptionPrimitive -u_AppleCryptoNative_RsaEncryptOaep -u_AppleCryptoNative_RsaEncryptPkcs -u_AppleCryptoNative_RsaDecryptOaep -u_AppleCryptoNative_RsaDecryptPkcs -u_AppleCryptoNative_SecKeyGetSimpleKeySizeInBytes -u_AppleCryptoNative_SecKeyCreateWithData -u_AppleCryptoNative_SecKeyCopyExternalRepresentation -u_AppleCryptoNative_SecKeyCopyPublicKey -u_AppleCryptoNative_SecKeyVerifySignature -u_AppleCryptoNative_SecKeyCreateSignature -u_AppleCryptoNative_CryptorFree -u_AppleCryptoNative_CryptorCreate -u_AppleCryptoNative_CryptorUpdate -u_AppleCryptoNative_CryptorFinal -u_AppleCryptoNative_CryptorReset -u_AppleCryptoNative_X509GetRawData -u_AppleCryptoNative_X509GetSubjectSummary -u_AppleCryptoNative_X509GetPublicKey -u_AppleCryptoNative_X509GetContentType -u_AppleCryptoNative_X509CopyCertFromIdentity -u_AppleCryptoNative_X509CopyPrivateKeyFromIdentity -u_AppleCryptoNative_X509DemuxAndRetainHandle -u_AppleCryptoNative_X509ChainCreateDefaultPolicy -u_AppleCryptoNative_X509ChainCreateRevocationPolicy -u_AppleCryptoNative_X509ChainCreate -u_AppleCryptoNative_X509ChainEvaluate -u_AppleCryptoNative_X509ChainGetTrustResults -u_AppleCryptoNative_X509ChainGetStatusAtIndex -u_AppleCryptoNative_GetOSStatusForChainStatus -u_AppleCryptoNative_X509ChainSetTrustAnchorCertificates -u_AppleCryptoNative_SecKeychainEnumerateCerts -u_AppleCryptoNative_SecKeychainEnumerateIdentities -u_AppleCryptoNative_X509ImportCertificate -u_SystemNative_GetEnv -u_SystemNative_GetFileSystemType -u_SystemNative_FLock -u_SystemNative_FSync -u_SystemNative_FTruncate -u_SystemNative_GetCpuUtilization -u_SystemNative_GetCwd -u_SystemNative_GetNonCryptographicallySecureRandomBytes -u_SystemNative_GetCryptographicallySecureRandomBytes -u_SystemNative_GetSystemTimeAsTicks -u_SystemNative_GetTimestamp -u_SystemNative_LowLevelMonitor_Create -u_SystemNative_LowLevelMonitor_Destroy -u_SystemNative_LowLevelMonitor_Acquire -u_SystemNative_LowLevelMonitor_Release -u_SystemNative_LowLevelMonitor_Wait -u_SystemNative_LowLevelMonitor_TimedWait -u_SystemNative_LowLevelMonitor_Signal_Release -u_SystemNative_LSeek -u_SystemNative_Free -u_SystemNative_Malloc -u_SystemNative_Open -u_SystemNative_PosixFAdvise -u_SystemNative_FAllocate -u_SystemNative_PRead -u_SystemNative_PReadV -u_SystemNative_PWrite -u_SystemNative_PWriteV -u_SystemNative_OpenDir -u_SystemNative_GetReadDirRBufferSize -u_SystemNative_ReadDirR -u_SystemNative_CloseDir -u_SystemNative_ReadLink -u_SystemNative_Stat -u_SystemNative_LStat -u_SystemNative_SysLog -u_SystemNative_Unlink -u_SystemNative_GetPid -u_SystemNative_CreateAutoreleasePool -u_SystemNative_DrainAutoreleasePool -u_xamarin_release_managed_ref -u_xamarin_set_gchandle_with_flags_safe -u_UIApplicationMain -u_xamarin_find_protocol_wrapper_type -u_xamarin_log -u_xamarin_release_block_on_main_thread -u_xamarin_get_block_descriptor -lz -liconv -lcompression
                 
         Tool xcrun execution finished (exit code = 1).
                 
         ld: warning: '/Users/jona1993/Desktop/net6-mobiles-samples-fresh/HelloiOS/obj/Debug/net6.0-ios/ios-arm64/nativelibraries/main.arm64.o' was not built with class_ro_t pointer signing enabled, but previous .o files were
         Undefined symbols for architecture arm64:
           "_kSecImportExportPassphrase", referenced from:
               _AppleCryptoNative_X509ImportCertificate in libSystem.Security.Cryptography.Native.Apple.a(pal_x509_ios.c.o)
           "_kSecImportItemIdentity", referenced from:
               _AppleCryptoNative_X509ImportCertificate in libSystem.Security.Cryptography.Native.Apple.a(pal_x509_ios.c.o)
           "_SecCertificateCopySubjectSummary", referenced from:
               _AppleCryptoNative_X509GetSubjectSummary in libSystem.Security.Cryptography.Native.Apple.a(pal_x509.c.o)
           "_SecCertificateCopyData", referenced from:
               _AppleCryptoNative_X509GetRawData in libSystem.Security.Cryptography.Native.Apple.a(pal_x509.c.o)
           "_SecCertificateCreateWithData", referenced from:
               _AppleCryptoNative_X509GetContentType in libSystem.Security.Cryptography.Native.Apple.a(pal_x509.c.o)
               _AppleCryptoNative_X509ImportCertificate in libSystem.Security.Cryptography.Native.Apple.a(pal_x509_ios.c.o)
           "_SecIdentityGetTypeID", referenced from:
               _AppleCryptoNative_X509DemuxAndRetainHandle in libSystem.Security.Cryptography.Native.Apple.a(pal_x509.c.o)
           "_SecCertificateGetTypeID", referenced from:
               _AppleCryptoNative_X509DemuxAndRetainHandle in libSystem.Security.Cryptography.Native.Apple.a(pal_x509.c.o)
           "_kSecClassIdentity", referenced from:
               _AppleCryptoNative_SecKeychainEnumerateIdentities in libSystem.Security.Cryptography.Native.Apple.a(pal_keychain_ios.c.o)
           "_kSecReturnRef", referenced from:
               _EnumerateKeychain in libSystem.Security.Cryptography.Native.Apple.a(pal_keychain_ios.c.o)
           "_kSecClass", referenced from:
               _EnumerateKeychain in libSystem.Security.Cryptography.Native.Apple.a(pal_keychain_ios.c.o)
           "_kSecMatchLimitAll", referenced from:
               _EnumerateKeychain in libSystem.Security.Cryptography.Native.Apple.a(pal_keychain_ios.c.o)
           "_kSecKeyAlgorithmRSASignatureDigestPKCS1v15SHA256", referenced from:
               _AppleCryptoNative_SecKeyCreateSignature in libSystem.Security.Cryptography.Native.Apple.a(pal_signverify.c.o)
               _AppleCryptoNative_SecKeyVerifySignature in libSystem.Security.Cryptography.Native.Apple.a(pal_signverify.c.o)
           "_kSecKeyAlgorithmRSASignatureDigestPKCS1v15SHA384", referenced from:
               _AppleCryptoNative_SecKeyCreateSignature in libSystem.Security.Cryptography.Native.Apple.a(pal_signverify.c.o)
               _AppleCryptoNative_SecKeyVerifySignature in libSystem.Security.Cryptography.Native.Apple.a(pal_signverify.c.o)
           "_kSecKeyAlgorithmRSASignatureDigestPKCS1v15SHA512", referenced from:
               _AppleCryptoNative_SecKeyCreateSignature in libSystem.Security.Cryptography.Native.Apple.a(pal_signverify.c.o)
               _AppleCryptoNative_SecKeyVerifySignature in libSystem.Security.Cryptography.Native.Apple.a(pal_signverify.c.o)
           "_kSecAttrKeyClassPublic", referenced from:
               _AppleCryptoNative_SecKeyCreateWithData in libSystem.Security.Cryptography.Native.Apple.a(pal_seckey.c.o)
           "_SecIdentityCopyPrivateKey", referenced from:
               _AppleCryptoNative_X509CopyPrivateKeyFromIdentity in libSystem.Security.Cryptography.Native.Apple.a(pal_x509.c.o)
           "_kSecAttrKeyClass", referenced from:
               _AppleCryptoNative_SecKeyCreateWithData in libSystem.Security.Cryptography.Native.Apple.a(pal_seckey.c.o)
           "_SecCopyErrorMessageString", referenced from:
               _AppleCryptoNative_SecCopyErrorMessageString in libSystem.Security.Cryptography.Native.Apple.a(pal_sec.c.o)
              (maybe you meant: _AppleCryptoNative_SecCopyErrorMessageString)
           "_kSecMatchLimit", referenced from:
               _EnumerateKeychain in libSystem.Security.Cryptography.Native.Apple.a(pal_keychain_ios.c.o)
           "_SecPolicyCreateSSL", referenced from:
               _AppleCryptoNative_SslIsHostnameMatch in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
           "_SSLSetCertificate", referenced from:
               _AppleCryptoNative_SslSetCertificate in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
           "_SecTrustSetAnchorCertificates", referenced from:
               _AppleCryptoNative_X509ChainSetTrustAnchorCertificates in libSystem.Security.Cryptography.Native.Apple.a(pal_x509chain.c.o)
               _AppleCryptoNative_SslIsHostnameMatch in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
           "_SSLHandshake", referenced from:
               _AppleCryptoNative_SslHandshake in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
           "_kSecUseDataProtectionKeychain", referenced from:
               _AppleCryptoNative_EccGenerateKey in libSystem.Security.Cryptography.Native.Apple.a(pal_ecc.c.o)
               _AppleCryptoNative_RsaGenerateKey in libSystem.Security.Cryptography.Native.Apple.a(pal_rsa.c.o)
           "_SSLCopyPeerTrust", referenced from:
               _AppleCryptoNative_SslCopyCertChain in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
               _AppleCryptoNative_SslIsHostnameMatch in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
           "_SecTrustCreateWithCertificates", referenced from:
               _AppleCryptoNative_X509ChainCreate in libSystem.Security.Cryptography.Native.Apple.a(pal_x509chain.c.o)
               _AppleCryptoNative_SslIsHostnameMatch in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
           "_SecTrustEvaluate", referenced from:
               _AppleCryptoNative_X509ChainEvaluate in libSystem.Security.Cryptography.Native.Apple.a(pal_x509chain.c.o)
               _AppleCryptoNative_SslIsHostnameMatch in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
           "_SSLSetProtocolVersionMax", referenced from:
               _AppleCryptoNative_SslSetMaxProtocolVersion in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
           "_SSLGetSessionState", referenced from:
               _AppleCryptoNative_SslRead in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
           "_SecKeyCreateRandomKey", referenced from:
               _AppleCryptoNative_EccGenerateKey in libSystem.Security.Cryptography.Native.Apple.a(pal_ecc.c.o)
               _AppleCryptoNative_RsaGenerateKey in libSystem.Security.Cryptography.Native.Apple.a(pal_rsa.c.o)
           "_SSLSetProtocolVersionMin", referenced from:
               _AppleCryptoNative_SslSetMinProtocolVersion in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
           "_SSLCreateContext", referenced from:
               _AppleCryptoNative_SslCreateContext in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
           "_SSLSetClientSideAuthenticate", referenced from:
               _AppleCryptoNative_SslSetAcceptClientCert in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
           "_SSLSetConnection", referenced from:
               _AppleCryptoNative_SslSetConnection in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
           "_kSecAttrKeyClassPrivate", referenced from:
               _AppleCryptoNative_SecKeyCreateWithData in libSystem.Security.Cryptography.Native.Apple.a(pal_seckey.c.o)
           "_kSecKeyAlgorithmRSAEncryptionOAEPSHA256", referenced from:
               l_switch.table.AppleCryptoNative_RsaEncryptOaep in libSystem.Security.Cryptography.Native.Apple.a(pal_rsa.c.o)
           "_kSecKeyAlgorithmRSASignatureDigestPKCS1v15SHA1", referenced from:
               _AppleCryptoNative_SecKeyCreateSignature in libSystem.Security.Cryptography.Native.Apple.a(pal_signverify.c.o)
               _AppleCryptoNative_SecKeyVerifySignature in libSystem.Security.Cryptography.Native.Apple.a(pal_signverify.c.o)
           "_kSecAttrKeySizeInBits", referenced from:
               _AppleCryptoNative_EccGenerateKey in libSystem.Security.Cryptography.Native.Apple.a(pal_ecc.c.o)
               _AppleCryptoNative_RsaGenerateKey in libSystem.Security.Cryptography.Native.Apple.a(pal_rsa.c.o)
           "_kSecKeyAlgorithmRSAEncryptionOAEPSHA512", referenced from:
               l_switch.table.AppleCryptoNative_RsaEncryptOaep in libSystem.Security.Cryptography.Native.Apple.a(pal_rsa.c.o)
           "_SecKeyCopyExternalRepresentation", referenced from:
               _AppleCryptoNative_SecKeyCopyExternalRepresentation in libSystem.Security.Cryptography.Native.Apple.a(pal_seckey.c.o)
              (maybe you meant: _AppleCryptoNative_SecKeyCopyExternalRepresentation)
           "_SecKeyCreateEncryptedData", referenced from:
               _AppleCryptoNative_RsaEncryptOaep in libSystem.Security.Cryptography.Native.Apple.a(pal_rsa.c.o)
               _AppleCryptoNative_RsaEncryptPkcs in libSystem.Security.Cryptography.Native.Apple.a(pal_rsa.c.o)
               _AppleCryptoNative_RsaEncryptionPrimitive in libSystem.Security.Cryptography.Native.Apple.a(pal_rsa.c.o)
               _AppleCryptoNative_RsaVerificationPrimitive in libSystem.Security.Cryptography.Native.Apple.a(pal_rsa.c.o)
           "_SecKeyCreateDecryptedData", referenced from:
               _AppleCryptoNative_RsaDecryptOaep in libSystem.Security.Cryptography.Native.Apple.a(pal_rsa.c.o)
               _AppleCryptoNative_RsaDecryptPkcs in libSystem.Security.Cryptography.Native.Apple.a(pal_rsa.c.o)
           "_kSecKeyAlgorithmRSAEncryptionPKCS1", referenced from:
               _AppleCryptoNative_RsaDecryptPkcs in libSystem.Security.Cryptography.Native.Apple.a(pal_rsa.c.o)
               _AppleCryptoNative_RsaEncryptPkcs in libSystem.Security.Cryptography.Native.Apple.a(pal_rsa.c.o)
           "_SSLCopyDistinguishedNames", referenced from:
               _AppleCryptoNative_SslCopyCADistinguishedNames in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
           "_kSecClassCertificate", referenced from:
               _AppleCryptoNative_SecKeychainEnumerateCerts in libSystem.Security.Cryptography.Native.Apple.a(pal_keychain_ios.c.o)
           "_SSLSetSessionOption", referenced from:
               _AppleCryptoNative_SslSetBreakOnServerAuth in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
               _AppleCryptoNative_SslSetBreakOnClientAuth in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
           "_SecPKCS12Import", referenced from:
               _AppleCryptoNative_X509ImportCertificate in libSystem.Security.Cryptography.Native.Apple.a(pal_x509_ios.c.o)
           "_SSLSetEnabledCiphers", referenced from:
               _AppleCryptoNative_SslSetEnabledCipherSuites in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
           "_kSecKeyAlgorithmRSAEncryptionRaw", referenced from:
               _AppleCryptoNative_RsaEncryptionPrimitive in libSystem.Security.Cryptography.Native.Apple.a(pal_rsa.c.o)
               _AppleCryptoNative_RsaVerificationPrimitive in libSystem.Security.Cryptography.Native.Apple.a(pal_rsa.c.o)
           "_SecKeyCreateSignature", referenced from:
               _AppleCryptoNative_RsaSignaturePrimitive in libSystem.Security.Cryptography.Native.Apple.a(pal_rsa.c.o)
               _AppleCryptoNative_SecKeyCreateSignature in libSystem.Security.Cryptography.Native.Apple.a(pal_signverify.c.o)
              (maybe you meant: _AppleCryptoNative_SecKeyCreateSignature)
           "_SecTrustGetCertificateAtIndex", referenced from:
               _AppleCryptoNative_X509ChainGetCertificateAtIndex in libSystem.Security.Cryptography.Native.Apple.a(pal_x509chain.c.o)
               _AppleCryptoNative_SslIsHostnameMatch in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
           "_SecItemCopyMatching", referenced from:
               _EnumerateKeychain in libSystem.Security.Cryptography.Native.Apple.a(pal_keychain_ios.c.o)
           "_kSecKeyAlgorithmRSAEncryptionOAEPSHA384", referenced from:
               l_switch.table.AppleCryptoNative_RsaEncryptOaep in libSystem.Security.Cryptography.Native.Apple.a(pal_rsa.c.o)
           "_kSecKeyAlgorithmECDSASignatureDigestX962", referenced from:
               _AppleCryptoNative_SecKeyCreateSignature in libSystem.Security.Cryptography.Native.Apple.a(pal_signverify.c.o)
               _AppleCryptoNative_SecKeyVerifySignature in libSystem.Security.Cryptography.Native.Apple.a(pal_signverify.c.o)
           "_SecTrustGetCertificateCount", referenced from:
               _AppleCryptoNative_X509ChainGetChainSize in libSystem.Security.Cryptography.Native.Apple.a(pal_x509chain.c.o)
               _AppleCryptoNative_SslIsHostnameMatch in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
           "_SecTrustSetNetworkFetchAllowed", referenced from:
               _AppleCryptoNative_X509ChainEvaluate in libSystem.Security.Cryptography.Native.Apple.a(pal_x509chain.c.o)
           "_SSLWrite", referenced from:
               _AppleCryptoNative_SslWrite in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
           "_SSLRead", referenced from:
               _AppleCryptoNative_SslRead in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
           "_SecIdentityCopyCertificate", referenced from:
               _AppleCryptoNative_X509CopyCertFromIdentity in libSystem.Security.Cryptography.Native.Apple.a(pal_x509.c.o)
           "_SSLSetIOFuncs", referenced from:
               _AppleCryptoNative_SslSetIoCallbacks in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
           "_kSecAttrKeyTypeRSA", referenced from:
               _AppleCryptoNative_RsaGenerateKey in libSystem.Security.Cryptography.Native.Apple.a(pal_rsa.c.o)
               _AppleCryptoNative_SecKeyCreateWithData in libSystem.Security.Cryptography.Native.Apple.a(pal_seckey.c.o)
           "_SecKeyGetBlockSize", referenced from:
               _AppleCryptoNative_EccGetKeySizeInBits in libSystem.Security.Cryptography.Native.Apple.a(pal_ecc.c.o)
               _AppleCryptoNative_SecKeyGetSimpleKeySizeInBytes in libSystem.Security.Cryptography.Native.Apple.a(pal_seckey.c.o)
           "_SecPolicyCreateRevocation", referenced from:
               _AppleCryptoNative_X509ChainCreateRevocationPolicy in libSystem.Security.Cryptography.Native.Apple.a(pal_x509chain.c.o)
           "_SSLGetNegotiatedProtocolVersion", referenced from:
               _AppleCryptoNative_SslGetProtocolVersion in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
           "_SecKeyCopyPublicKey", referenced from:
               _AppleCryptoNative_EccGenerateKey in libSystem.Security.Cryptography.Native.Apple.a(pal_ecc.c.o)
               _AppleCryptoNative_RsaGenerateKey in libSystem.Security.Cryptography.Native.Apple.a(pal_rsa.c.o)
               _AppleCryptoNative_SecKeyCopyPublicKey in libSystem.Security.Cryptography.Native.Apple.a(pal_seckey.c.o)
              (maybe you meant: _AppleCryptoNative_SecKeyCopyPublicKey)
           "_kSecAttrKeyTypeEC", referenced from:
               _AppleCryptoNative_EccGenerateKey in libSystem.Security.Cryptography.Native.Apple.a(pal_ecc.c.o)
           "_kSecKeyAlgorithmRSASignatureRaw", referenced from:
               _AppleCryptoNative_RsaSignaturePrimitive in libSystem.Security.Cryptography.Native.Apple.a(pal_rsa.c.o)
               _AppleCryptoNative_SecKeyCreateSignature in libSystem.Security.Cryptography.Native.Apple.a(pal_signverify.c.o)
               _AppleCryptoNative_SecKeyVerifySignature in libSystem.Security.Cryptography.Native.Apple.a(pal_signverify.c.o)
           "_SecPolicyCreateBasicX509", referenced from:
               _AppleCryptoNative_X509ChainCreateDefaultPolicy in libSystem.Security.Cryptography.Native.Apple.a(pal_x509chain.c.o)
           "_SSLGetNegotiatedCipher", referenced from:
               _AppleCryptoNative_SslGetCipherSuite in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
           "_SSLSetPeerDomainName", referenced from:
               _AppleCryptoNative_SslSetTargetName in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
           "_SecTrustSetVerifyDate", referenced from:
               _AppleCryptoNative_X509ChainEvaluate in libSystem.Security.Cryptography.Native.Apple.a(pal_x509chain.c.o)
               _AppleCryptoNative_SslIsHostnameMatch in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
           "_kSecKeyAlgorithmRSAEncryptionOAEPSHA1", referenced from:
               l_switch.table.AppleCryptoNative_RsaEncryptOaep in libSystem.Security.Cryptography.Native.Apple.a(pal_rsa.c.o)
           "_SecKeyCreateWithData", referenced from:
               _AppleCryptoNative_SecKeyCreateWithData in libSystem.Security.Cryptography.Native.Apple.a(pal_seckey.c.o)
              (maybe you meant: _AppleCryptoNative_SecKeyCreateWithData)
           "_SecTrustCopyResult", referenced from:
               _AppleCryptoNative_X509ChainGetTrustResults in libSystem.Security.Cryptography.Native.Apple.a(pal_x509chain.c.o)
               _AppleCryptoNative_SslIsHostnameMatch in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
           "_kSecAttrKeyTypeECSECPrimeRandom", referenced from:
               _AppleCryptoNative_SecKeyCreateWithData in libSystem.Security.Cryptography.Native.Apple.a(pal_seckey.c.o)
           "_SSLGetPeerDomainNameLength", referenced from:
               _AppleCryptoNative_SslSetTargetName in libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
           "_SecKeyVerifySignature", referenced from:
               _AppleCryptoNative_SecKeyVerifySignature in libSystem.Security.Cryptography.Native.Apple.a(pal_signverify.c.o)
              (maybe you meant: _AppleCryptoNative_SecKeyVerifySignature)
           "_kSecAttrKeyType", referenced from:
               _AppleCryptoNative_EccGenerateKey in libSystem.Security.Cryptography.Native.Apple.a(pal_ecc.c.o)
               _AppleCryptoNative_RsaGenerateKey in libSystem.Security.Cryptography.Native.Apple.a(pal_rsa.c.o)
               _AppleCryptoNative_SecKeyCreateWithData in libSystem.Security.Cryptography.Native.Apple.a(pal_seckey.c.o)
         ld: symbol(s) not found for architecture arm64

jona-1993 avatar Jun 17 '22 12:06 jona-1993

@jona-1993 you need to link with the Security framework, you can do that by adding this to the project file:

<PropertyGroup>
    <MtouchExtraArgs>-gcc_flags "-framework Security"</MtouchExtraArgs>
</PropertyGroup>

That should have happened automatically though :/

rolfbjarne avatar Jun 17 '22 19:06 rolfbjarne

Same error..

EDIT: It deploy now. I updated Xamarin Mac.

But I can't run my web service (like simulator).

Log (It's not the same error..): https://gist.github.com/jona-1993/83c5f806eeed3e2c25a3ca46775398a4

jona-1993 avatar Jun 21 '22 08:06 jona-1993

Is this the same project as uploaded here: https://github.com/xamarin/xamarin-macios/issues/14709#issuecomment-1102629982, or did you make any modifications to the project? If so, could you upload it again?

rolfbjarne avatar Jun 22 '22 09:06 rolfbjarne

Yes, it's the same project. I just added CodesignKey and CodesignProvision and this line <MtouchExtraArgs>-gcc_flags "-framework Security"</MtouchExtraArgs> and used <RuntimeIdentifier>ios-arm64</RuntimeIdentifier> in my cproj.

I downloaded again the project and I have the same error.

jona-1993 avatar Jun 22 '22 10:06 jona-1993

I'm sorry for the late reply, I looked at the test app again.

I had to make the following changes:

  1. Remove HelloiOS.csproj.user.
  2. Change RuntimeIdentifier to ios-arm64 in HelloiOS.csproj.

And then it built fine when I built using the command line (dotnet build).

However, this happened at runtime:

Attempting to JIT compile method 'void generatedProxy_1:.ctor (System.Reflection.MethodInfo[])' while running in aot-only mode. See https://docs.microsoft.com/xamarin/ios/internals/limitations for more information.
 (System.ExecutionEngineException)
   at System.Reflection.RuntimeConstructorInfo.InternalInvoke(Object , Object[] , Boolean )
2021-04-01 17:50:50.283 HelloiOS[350:30178] Microsoft.iOS: Received unhandled ObjectiveC exception: System.Reflection.TargetInvocationException Exception has been thrown by the target of an invocation. (System.Reflection.TargetInvocationException)
   at System.Reflection.RuntimeConstructorInfo.InternalInvoke(Object , Object[] , Boolean )
   at System.Reflection.RuntimeConstructorInfo.DoInvoke(Object , BindingFlags , Binder , Object[] , CultureInfo )
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags , Binder , Object[] , CultureInfo )
   at System.RuntimeType.CreateInstanceImpl(BindingFlags , Binder , Object[] , CultureInfo )
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, Object[] args)
   at System.Reflection.DispatchProxyGenerator.CreateProxyInstance(Type , Type )
   at System.Reflection.DispatchProxy.Create[ServiceSoap,ServiceChannelProxy]()
   at System.ServiceModel.Channels.ServiceChannelProxy.CreateProxy[ServiceSoap](MessageDirection direction, ServiceChannel serviceChannel)
   at System.ServiceModel.Channels.ServiceChannelFactory.CreateProxy[ServiceSoap](MessageDirection direction, ServiceChannel serviceChannel)
   at System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel[ServiceSoap](EndpointAddress address, Uri via)
   at System.ServiceModel.ChannelFactory`1[[EHealthConnectionWebService.ServiceSoap, HelloiOS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].CreateChannel(EndpointAddress address, Uri via)
   at System.ServiceModel.ChannelFactory`1[[EHealthConnectionWebService.ServiceSoap, HelloiOS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].CreateChannel()
   at System.ServiceModel.ClientBase`1[[EHealthConnectionWebService.ServiceSoap, HelloiOS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].CreateChannel()
   at System.ServiceModel.ClientBase`1[[EHealthConnectionWebService.ServiceSoap, HelloiOS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].CreateChannelInternal()
   at System.ServiceModel.ClientBase`1[[EHealthConnectionWebService.ServiceSoap, HelloiOS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].get_Channel()
   at EHealthConnectionWebService.ServiceSoapClient.TestAccess() in /Users/rolf/Downloads/HelloiOS/Connected Services/EHealthConnectionWebService/Reference.cs:line 75226
   at HelloiOS.AppDelegate.FinishedLaunching(UIApplication application, NSDictionary launchOptions) in /Users/rolf/Downloads/HelloiOS/AppDelegate.cs:line 32

I fixed this by enabling the interpreter in the csproj like this:

<PropertyGroup>
    <UseInterpreter>true</UseInterpreter>
</PropertyGroup>

With the interpreter enabled, I get this:

System.ServiceModel.EndpointNotFoundException There was no endpoint listening at http://www.medinectdev.be/EHealthConnectionWebService_v2_33_ARO/Service.asmx that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. (System.ServiceModel.EndpointNotFoundException)
   at System.ServiceModel.Channels.HttpResponseMessageHelper.ValidateResponseStatusCode()
   at System.ServiceModel.Channels.HttpResponseMessageHelper.ParseIncomingResponse(TimeoutHelper timeoutHelper)
   at System.ServiceModel.Channels.HttpChannelFactory`1.HttpClientRequestChannel.HttpClientChannelAsyncRequest.<ReceiveReplyAsync>d__17[[System.ServiceModel.Channels.IRequestChannel, System.Private.ServiceModel, Version=4.10.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]].MoveNext()
   at System.ServiceModel.Channels.RequestChannel.RequestAsync(Message message, TimeSpan timeout)
   at System.ServiceModel.Channels.RequestChannel.RequestAsyncInternal(Message message, TimeSpan timeout)
   at System.Runtime.TaskHelpers.WaitForCompletionNoSpin[Message](Task`1 task)
   at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
   at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(MethodCall methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(MethodInfo targetMethod, Object[] args)
   at generatedProxy_1.TestAccess()
   at EHealthConnectionWebService.ServiceSoapClient.TestAccess() in /Users/rolf/Downloads/HelloiOS/Connected Services/EHealthConnectionWebService/Reference.cs:line 75226
   at HelloiOS.AppDelegate.FinishedLaunching(UIApplication application, NSDictionary launchOptions) in /Users/rolf/Downloads/HelloiOS/AppDelegate.cs:line 32

which seems to be as expected (when I try the endpoint url (http://www.medinectdev.be/EHealthConnectionWebService_v2_33_ARO/Service.asmx) in a browser, I get a 404 page.

For this error:

error: Failed to load AOT module 'System.Private.ServiceModel' while running in aot-only mode: doesn't match assembly.

try removing the app from the device, and then cleaning your project directory (in particular the bin and obj directories), and then try again.

rolfbjarne avatar Sep 23 '22 12:09 rolfbjarne

It fixed with the last version.

Thank you.

jona-1993 avatar Dec 15 '22 09:12 jona-1993