iOS Simulator Issue

1 Answer 693 Views
RichTextEditor
Angelica
Top achievements
Rank 1
Iron
Angelica asked on 17 Oct 2023, 10:37 PM

Good afternoon,

I am using Telerik.UI.For.MAUI Version 6.3.0 (the issue also happens with 6.0.0) my .NET MAUI version is 7.0.52.

The Telerik controls that I'm using are the following:

  • RadDateTimePicker
  • Button
  • RichTextEditor

Through Visual Studio I am paired to a mac and whenever I try to launch the iOS simulator I keep getting the following error:

Severity  Code  Description  Project  File  Line  Suppression State
Error    clang++ exited with code 1:
ld: in /Users/devtester/Library/Caches/Xamarin/mtbs/builds/Ethel/734efe11f7dfae48b86ca62a722964f63815352b60a5fb7b241a48182b855194/obj/Debug/net7.0-ios/ios-arm64/linker-cache/TelerikUI.a(TKChartAnnotation.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/devtester/Library/Caches/Xamarin/mtbs/builds/Ethel/734efe11f7dfae48b86ca62a722964f63815352b60a5fb7b241a48182b855194/obj/Debug/net7.0-ios/ios-arm64/linker-cache/TelerikUI.a'
clang: error: linker command failed with exit code 1 (use -v to see invocation)  Ethel  C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\16.4.7107\targets\Xamarin.Shared.Sdk.targets  1272  

Any suggestions?

1 Answer, 1 is accepted

Sort by
0
Didi
Telerik team
answered on 18 Oct 2023, 06:11 AM

Hello Angelica,

We have this logged here: https://feedback.telerik.com/maui/1622695-clang-exited-with-code-1-error-in-telerikui-a-when-building-for-ios-arm64-simulator 

As a workaround add the following in the csproj file:

<PropertyGroup Condition="'$(TargetFramework)'=='net7.0-ios'">
   <ForceSimulatorX64ArchitectureInIDE>true</ForceSimulatorX64ArchitectureInIDE>
</PropertyGroup>

Regards,
Didi
Progress Telerik

A brand new .NET MAUI course was just added to the Virtual Classroom. The training course is developed to help you get started with the Telerik UI for .NET MAUI components and features. It aims to put you in the shoes of an engineer who adds new features to an existing application. You can check it out at https://learn.telerik.com
Tags
RichTextEditor
Asked by
Angelica
Top achievements
Rank 1
Iron
Answers by
Didi
Telerik team
Share this question
or