c# – NET8 MAUI and deploy for testing to a real device


I’m creating an application with NET8 MAUI and now I want to test the application on my real iPhone. My iMac is connected to the Visual Studio on the Windows machine and I can test the application on an iPhone simulator.

When I try to deploy the same app to my iPhone, I get this error:

clang++ exited with code 1: Undefined symbols for architecture arm64:
OBJC_CLASS$_UMPConsentForm”, referenced from:
objc-class-ref in registrar.o “OBJC_CLASS$_UMPConsentInformation”, referenced from:
objc-class-ref in registrar.o “OBJC_CLASS$_UMPDebugSettings”, referenced from:
objc-class-ref in registrar.o “OBJC_CLASS$_UMPRequestParameters”, referenced from:
objc-class-ref in registrar.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code
1 (use -v to see invocation) LanguageInUse C:\Program
Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8004\targets\Xamarin.Shared.Sdk.targets 1559

https://prnt.sc/LVaDm7nIVBc9 (This is a link to the image because the upload images here doesn’t work today).

The phone is connected to the iMac but I tried also to deploy with WiFi with the same result. I tried to deploy as Debug or Release.

Latest articles

spot_imgspot_img

Related articles

Leave a reply

Please enter your comment!
Please enter your name here

spot_imgspot_img