Undefined symbols for architecture arm64

0 Answers 43 Views
General Discussions
Rafael
Top achievements
Rank 1
Rafael asked on 08 Nov 2023, 11:28 PM

I'm trying to build a donet maui app but when it try to compile the project for ios i get this error, i don't now what this means.

/ usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/16.4.7124/targets/Xamarin.Shared.Sdk.targets(3,3): Error: clang++ exited with code 1:
Undefined symbols for architecture arm64:
  “_objc_msgSend$weekOfMonth”, referenced from:
      -[TKChartDateTimeCategoryAxis getDateComponentValue:] in TelerikUI.a(TKChartDateTimeCategoryAxis.o)
  “_objc_msgSend$weekOfYear”, referenced from:
      -[TKChartDateTimeCategoryAxis getDateComponentValue:] in TelerikUI.a(TKChartDateTimeCategoryAxis.o)
  “_objc_msgSend$weekdayOrdinal”, referenced from:
      -[TKChartDateTimeCategoryAxis getDateComponentValue:] in TelerikUI.a(TKChartDateTimeCategoryAxis.o)
  “_objc_msgSend$getDateComponentValue:“, referenced from:
      -[TKChartDateTimeCategoryAxis numericValue:] in TelerikUI.a(TKChartDateTimeCategoryAxis.o)
      -[TKChartDateTimeCategoryAxis updateRangeWithSeries:forKey:] in TelerikUI.a(TKChartDateTimeCategoryAxis.o)
  “_objc_msgSend$initWithLow:high:“, referenced from:
      -[TKChartRangeDataPoint initWithX:low:high:] in TelerikUI.a(TKChartRangeDataPoint.o)
      -[TKChartRangeDataPoint initWithY:low:high:] in TelerikUI.a(TKChartRangeDataPoint.o)
  “_objc_msgS (AppPedidosMobile)

Rafael
Top achievements
Rank 1
commented on 08 Nov 2023, 11:57 PM | edited

I already tried adding this in my .csproj:

<PropertyGroup Condition="$(TargetFramework.Contains('-ios'))"> <RuntimeIdentifier>ios-arm64</RuntimeIdentifier> </PropertyGroup>

but i got new errors

Didi
Telerik team
commented on 09 Nov 2023, 10:42 AM

Hi, 

This issue is logged here https://feedback.telerik.com/maui/1622695-clang-exited-with-code-1-error-in-telerikui-a-when-building-for-ios-arm64-simulator and a fix is expected in the middle of November 2023. The suggested workarounds are added to the public item.

For runtime identifier, you need an iossimulator, not ios:

        <RuntimeIdentifier>iossimulator-arm64</RuntimeIdentifier>

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Rafael
Top achievements
Rank 1
Share this question
or