maui: IOS Compiling Error

Description

Severity Code Description Project File Line Suppression State Error clang++ exited with code 1: Undefined symbols for architecture x86_64: “_gprsharp_convert_clock_type”, referenced from: -u command line option “_gprsharp_free”, referenced from: -u command line option “_gprsharp_inf_future”, referenced from: -u command line option “_gprsharp_inf_past”, referenced from: -u command line option “_gprsharp_now”, referenced from: -u command line option “_gprsharp_sizeof_timespec”, referenced from: -u command line option “_grpcsharp_auth_context_peer_identity_property_name”, referenced from: -u command line option “_grpcsharp_auth_context_property_iterator”, referenced from: -u command line option “_grpcsharp_auth_context_release”, referenced from: -u command line option “_grpcsharp_auth_property_iterator_next”, referenced from: -u command line option “_grpcsharp_batch_context_create”, referenced from: -u command line option “_grpcsharp_batch_context_destroy”, referenced from: -u command line option "_grpcsharp_batch_context XXX.xxx (Apps\XXX.xxx) C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\16.0.1271-rc.2-xcode14\targets\Xamarin.Shared.Sdk.targets 1230

Steps to Reproduce

  1. Select IOS Simulator or Device
  2. Rebuild

Link to public reproduction project repository

N/A

Version with bug

7.0 Release Candidate 2

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

IOS 14

Did you find any workaround?

No

Relevant log output

Severity	Code	Description	Project	File	Line	Suppression State
Error		clang++ exited with code 1:
Undefined symbols for architecture x86_64:
  "_gprsharp_convert_clock_type", referenced from:
     -u command line option
  "_gprsharp_free", referenced from:
     -u command line option
  "_gprsharp_inf_future", referenced from:
     -u command line option
  "_gprsharp_inf_past", referenced from:
     -u command line option
  "_gprsharp_now", referenced from:
     -u command line option
  "_gprsharp_sizeof_timespec", referenced from:
     -u command line option
  "_grpcsharp_auth_context_peer_identity_property_name", referenced from:
     -u command line option
  "_grpcsharp_auth_context_property_iterator", referenced from:
     -u command line option
  "_grpcsharp_auth_context_release", referenced from:
     -u command line option
  "_grpcsharp_auth_property_iterator_next", referenced from:
     -u command line option
  "_grpcsharp_batch_context_create", referenced from:
     -u command line option
  "_grpcsharp_batch_context_destroy", referenced from:
     -u command line option
  "_grpcsharp_batch_context	XXX.xxx (Apps\XXX.xxx)	C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\16.0.1271-rc.2-xcode14\targets\Xamarin.Shared.Sdk.targets	1230

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 2
  • Comments: 16 (3 by maintainers)

Most upvoted comments

Is there any known workaround for this? I understand the implementation of the GRPC library causes this, but it is very problematic not to have any known way to support GRPC in MAUI on macos.