Having problem publishing Maui App for iOS (Undefined symbols for architecture arm64: "_SSLCopyALPNProtocols...)

69 Views Asked by At

I'm trying to publish an iOS App from Visual Studio on Windows. I can build in the Simulator, but cannot publish. I have followed these instructions: https://learn.microsoft.com/en-us/dotnet/maui/ios/deployment/publish-app-store?view=net-maui-8.0&tabs=vs

When I come to publishing (right click project -> publish) I get the following error:

Undefined symbols for architecture arm64: "_SSLCopyALPNProtocols",
referenced from _AppleCryptoNative_SslGetAlpnSelected in
libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
"_SSLCopyDistinguishedNames", references from:
_AppleCryptoNative_SslCopyCADistiguishedNames in
libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
"_SSLCopyPeerTrust", referenced from
_AppleCryptoNative_SslCopyCertChain in
libSystem.Security.Cryptography.Native.Apple.a(pal_ssl.c.o)
_AppleCryptoNative_SsllsHostnameMatch in
libSystem.Security.Cryptography.Native.Apple.a (pal_ssl.c.o)
"_SSLCreateContext", referenced from
_AppleCryptoNative_SslGetCipherSuite in
libSystem.Security.Cryptography.Native.Apple.a (pal_ssl.c.o)
"_SSLGetNegotiatedProtocolVersion", referenced from
_AppleCryptoNative_SslGetProtocolVersion in libSystem.Se

I've tried setting a new minimum sdk and redoing the steps from Microsoft.

0

There are 0 best solutions below