question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

IOS Compiling Error

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:16 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
eskaufelcommented, Dec 12, 2022

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.

0reactions
rolfbjarnecommented, May 30, 2023

thanks for your reply, i am using Grpc.Net.Client, unfortunately the same issue for that one also

In that case, please file a new issue and provide a test project we can use to reproduce the problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

xcode doesn't show compiler errors in code
When working in Xcode and deliberatly making errors in my code (using Swift 2) (e.g. using undefined variables, wrong type casts, ...), Xcode...
Read more >
Xcode 14 & iOS 16 compile errors · Issue #189 · apple/swift ...
The libray doesn't compile under Xcode 14 and iOS 16 beta 4. Swift Algorithms version: 1.0.0. Checklist. [x ] If possible, I've reproduced ......
Read more >
Swift Compiler Error when build ios app on Xcode
Swift Compiler Error when build ios app on Xcode ... I never use if let function, so I don't know how to solve...
Read more >
Compiling for iOS 8.0 error
Hello, I very new to Swift. I'm currently developing an App that will use the Yelp API. I found a package on Github...
Read more >
Why Won't My Xcode Project Build?
The first step to figuring out why your project won't build is to find the compiler errors in your project. Open Xcode's issue...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found