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)
I already tried adding this in my .csproj:
but i got new errors
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>