Severity Code Description Project File Line Suppression State Error error MT1045: Failed to execute 'devicectl': 'devicectl -j /var/folders/rl/ptx9jbl54m78d99cmrr1c1tw0000gp/T/tmpLC5jC6.tmp device install app --device iPhone /Library/Caches/Xamarin/mtbs/

Pamela Rios 0 Reputation points
2024-08-02T01:29:03.0466667+00:00

Cant get to deploy to my physical IOS device , I have a mac locally and visual studio is on a virtual machine setup , While , Iam able to deploy to the ios emulators , I get the same error when I tried to deploy to my device.

using visual studio 2022

Latest XCODE

My provisional profiles work normal if I use xcode directly.

and this issue is from a brand new template

1.Download a .net maui template

2.add your signing identities

3.debug- iphone

Severity	Code	Description	Project	File	Line	Suppression State
Error		error MT1045: Failed to execute 'devicectl': 'devicectl -j /var/folders/rl/ptx9jbl54m78d99cmrr1c1tw0000gp/T/tmpLC5jC6.tmp device install app --device iPhone /Library/Caches/Xamarin/mtbs/builds/MauiApp7/bde3b872435a7cba427d106eca382e7055ff62ee9020eff9554993e5953a5bf7/bin/Debug/net8.0-ios/ios-arm64/device-builds/iphone14.4-17.5.1/MauiApp7.app' returned the exit code 1.		 	0	


.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,449 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
996 questions
Microsoft Intune iOS
Microsoft Intune iOS
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.iOS: An Apple mobile operating system.
219 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.