maui: Crash caused by DVTExtendedPlatformInfo error - Unable to debug or deploy iOS app

Description

I updated VS for Mac and the maui workloads and am unable to debug iOS apps since. It worked before - but I don’t know the exact version numbers that were installed before.

installed Xcode version: 14.3.1 (14E300c)

.net workloads:

Installierte Workload-ID      Manifestversion        Installationsquelle
------------------------------------------------------------------------
wasm-tools                    7.0.5/7.0.100          SDK 7.0.300        
maui-tizen                    7.0.86/7.0.100         SDK 7.0.300        
maui-ios                      7.0.86/7.0.100         SDK 7.0.300        
maccatalyst                   16.4.7060/7.0.100      SDK 7.0.300        
android                       33.0.46/7.0.100        SDK 7.0.300        

Visual Studio info: Visual Studio Professional 2022 for Mac Version 17.5.6 (build 3)

Runtime .NET 7.0.1 (64-bit) Architecture: X64 Microsoft.macOS.Sdk 12.3.2372; git-rev-head:754abbf6a3563f6267e5717ae832b4ac25b1f2fb; git-branch:release/7.0.1xx-xcode13.3

Roslyn (Language Service) 4.5.0-3.23056.2+97881342e427ff5cdcba8f12b12ff8e6f3564431

NuGet Version: 6.4.0.117

.NET SDK (x64) SDK: /usr/local/share/dotnet/sdk/7.0.302/Sdks SDK Versions: 7.0.302 7.0.101 6.0.408 6.0.404 5.0.408 5.0.401 5.0.102 5.0.101 5.0.100 3.1.426 3.1.420 3.1.413 3.1.405 3.1.404 3.1.403 3.1.402 3.1.302 MSBuild SDKs: /Applications/Visual Studio.app/Contents/MonoBundle/MSBuild/Current/bin/Sdks

.NET Runtime (x64) Runtime: /usr/local/share/dotnet/dotnet Runtime Versions: 7.0.5 7.0.1 6.0.16 6.0.12 5.0.17 5.0.10 5.0.2 5.0.1 5.0.0 3.1.32 3.1.26 3.1.19 3.1.11 3.1.10 3.1.9 3.1.8 3.1.6 2.1.23 2.1.22 2.1.20

Xamarin.Profiler Version: 1.8.0.49 Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

Updater Version: 11

Apple Developer Tools Xcode: 14.3.1 21815 Build: 14E300c

Xamarin.Mac Not Installed

Xamarin.iOS Version: 16.4.0.6 Visual Studio Professional Hash: 97731c92c Branch: xcode14.3 Build date: 2023-04-11 22:38:36-0400

Xamarin Designer Version: 17.5.3.47 Hash: e8b5d371c3 Branch: remotes/origin/d17-5 Build date: 2023-05-18 17:54:50 UTC

Xamarin.Android Version: 13.2.0.0 (Visual Studio Professional) Commit: xamarin-android/d17-5/797e2e1 Android SDK: /Users/arnelehmann/Library/Developer/Xamarin/android-sdk-macosx Supported Android versions: 12.0 (API level 31) 8.1 (API level 27) 11.0 (API level 30) 10.0 (API level 29) 9.0 (API level 28) 13.0 (API level 33)

SDK Command-line Tools Version: 7.0 SDK Platform Tools Version: 33.0.2 SDK Build Tools Version: 32.0.0

Build Information: Mono: 6dd9def Java.Interop: xamarin/java.interop/main@149d70fe SQLite: xamarin/sqlite/3.40.0@fdc1e34 Xamarin.Android Tools: xamarin/xamarin-android-tools/main@9f02d77

Microsoft Build of OpenJDK Java SDK: /Library/Java/JavaVirtualMachines/microsoft-11.jdk 11.0.16.1 Android Designer EPL code available here: https://github.com/xamarin/AndroidDesigner.EPL

Eclipse Temurin JDK Java SDK: /Library/Java/JavaVirtualMachines/temurin-8.jdk 1.8.0.302 Android Designer EPL code available here: https://github.com/xamarin/AndroidDesigner.EPL

Android SDK Manager Version: 17.5.0.33 Hash: f0c0c52 Branch: remotes/origin/d17-5~2 Build date: 2023-05-18 17:54:54 UTC

Android Device Manager Version: 0.0.0.1245 Hash: 7f8a990 Branch: 7f8a990 Build date: 2023-05-18 17:54:54 UTC

Build Information Release ID: 1705060003 Git revision: 6472fea49fa01feff06feefde4e358c02df42934 Build date: 2023-05-18 17:53:12+00 Build branch: release-17.5 Build lane: release-17.5

Operating System Mac OS X 13.4.0 Darwin 22.5.0 Darwin Kernel Version 22.5.0 Mon Apr 24 20:51:50 PDT 2023 root:xnu-8796.121.2~5/RELEASE_X86_64 x86_64

Steps to Reproduce

Created a new .Net MAUI App

Set to Debug on local iPad

Expected: Sample app should appear on device.

Observed: See log output. App does not start on the device. A placeholder icon is created on the device screen.

Link to public reproduction project repository

Version with bug

7.0.86

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 16

Did you find any workaround?

No response

Relevant log output

2023-06-09 11:18:58.389 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.IDEDebugger.VariablesViewQuickLookProvider for extension Xcode.IDEDebugger.SpriteKitQuickLookProvider of plug-in com.apple.IDESpriteKitParticleEditor
2023-06-09 11:18:58.390 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.IDEDebugger.VariablesViewQuickLookProvider for extension Xcode.SpriteKit.GKStateMachineQuickLookProvider of plug-in com.apple.IDESpriteKitParticleEditor
2023-06-09 11:18:58.405 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.WatchApplication of plug-in com.apple.dt.IDEWatchSupportUI
2023-06-09 11:18:58.405 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DataSourceConnection for extension Xcode.DebuggerFoundation.watchOSSimulator.DataSourceConnectionTargetHub of plug-in com.apple.dt.IDEWatchSupportUI
2023-06-09 11:18:58.405 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.Application of plug-in com.apple.dt.IDEWatchSupportUI
2023-06-09 11:18:58.405 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.Tool of plug-in com.apple.dt.IDEWatchSupportUI
2023-06-09 11:18:58.405 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.ViewDescriber for extension Xcode.DebuggerFoundation.watchOSSimulator.ViewDescriber of plug-in com.apple.dt.IDEWatchSupportUI
2023-06-09 11:18:58.405 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.IntentsService-AppExtension of plug-in com.apple.dt.IDEWatchSupportUI
2023-06-09 11:18:58.405 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorType for extension Xcode.Xcode3ProjectSupport.InfoEditorType.WatchOS.Bundle of plug-in com.apple.dt.IDEWatchSupportUI
2023-06-09 11:18:58.405 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.WatchKit2-AppExtension of plug-in com.apple.dt.IDEWatchSupportUI
2023-06-09 11:18:58.405 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorSlice for extension Xcode.Xcode3ProjectSupport.InfoEditorSlice.WatchOS.BundleInfo of plug-in com.apple.dt.IDEWatchSupportUI
2023-06-09 11:18:58.405 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.ViewDescriber for extension Xcode.DebuggerFoundation.watchOS.ViewDescriber of plug-in com.apple.dt.IDEWatchSupportUI
2023-06-09 11:18:58.405 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.Framework of plug-in com.apple.dt.IDEWatchSupportUI
2023-06-09 11:18:58.405 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.ExtensionKitAppExtension of plug-in com.apple.dt.IDEWatchSupportUI
2023-06-09 11:18:58.406 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.WatchOS.AppExtension of plug-in com.apple.dt.IDEWatchSupportUI
2023-06-09 11:18:58.406 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DataSourceConnection for extension Xcode.DebuggerFoundation.watchOS.DataSourceConnectionTargetHub of plug-in com.apple.dt.IDEWatchSupportUI
2023-06-09 11:18:58.406 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.IDEiPhoneSupport.TargetEditor for extension Xcode.IDEiPhoneSupport.TargetEditor.WatchOS.Application of plug-in com.apple.dt.IDEWatchSupportUI
2023-06-09 11:18:58.407 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.IDEAppleTVSupportUIFramework of plug-in com.apple.dt.IDEAppleTVSupportUI
2023-06-09 11:18:58.407 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.IDEAppleTVSupportUI.Application of plug-in com.apple.dt.IDEAppleTVSupportUI
2023-06-09 11:18:58.407 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.IDEAppleTVSupportUI.AppExtension of plug-in com.apple.dt.IDEAppleTVSupportUI
2023-06-09 11:18:58.407 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DataSourceConnection for extension Xcode.DebuggerFoundation.tvOSSimulator.DataSourceConnectionTargetHub of plug-in com.apple.dt.IDEAppleTVSupportUI
2023-06-09 11:18:58.408 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.IDEAppleTVSupportUI.ExtensionKitAppExtension of plug-in com.apple.dt.IDEAppleTVSupportUI
2023-06-09 11:18:58.408 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorType for extension Xcode.Xcode3ProjectSupport.InfoEditorType.appletvos.Bundle of plug-in com.apple.dt.IDEAppleTVSupportUI
2023-06-09 11:18:58.408 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.ViewDescriber for extension Xcode.DebuggerFoundation.ATVSimulator.ViewDescriber of plug-in com.apple.dt.IDEAppleTVSupportUI
2023-06-09 11:18:58.408 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DeviceIconProvider for extension Xcode.DebuggerFoundation.DeviceIconProvider.AppleTV of plug-in com.apple.dt.IDEAppleTVSupportUI
2023-06-09 11:18:58.408 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.ViewDescriber for extension Xcode.DebuggerFoundation.ATV.ViewDescriber of plug-in com.apple.dt.IDEAppleTVSupportUI
2023-06-09 11:18:58.408 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.DebuggerFoundation.DataSourceConnection for extension Xcode.DebuggerFoundation.tvOS.DataSourceConnectionTargetHub of plug-in com.apple.dt.IDEAppleTVSupportUI
2023-06-09 11:18:58.408 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.TargetSummaryEditor for extension Xcode.Xcode3ProjectSupport.TargetSummaryEditor.IDEAppleTVSupportUI.XPC of plug-in com.apple.dt.IDEAppleTVSupportUI
2023-06-09 11:18:58.408 mlaunch[2442:38610] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorSlice for extension Xcode.Xcode3ProjectSupport.InfoEditorSlice.appletvos.BundleTargetInfo of plug-in com.apple.dt.IDEAppleTVSupportUI
2023-06-09 11:18:58.666 mlaunch[2442:38655] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=(null))
2023-06-09 11:18:58.829 mlaunch[2442:38681] Thread Pool Worker DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot7/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-21780/DVTFoundation/DeveloperStructure/DVTExtendedPlatformInfo.m:79
Details:  DVTExtendedPlatformInfo: Synthesized watchos Extended Platform Info because no plugin existed to provide it or that plugin was not loaded
Object:   <DVTExtendedPlatformInfo>
Method:   +extendedPlatformInfoForPlatformIdentifier:error:
Thread:   <NSThread: 0x600002a1f180>{number = 35, name = (null)}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
2023-06-09 11:18:58.829 mlaunch[2442:38681] Thread Pool Worker DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot7/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-21780/DVTFoundation/DeveloperStructure/DVTExtendedPlatformInfo.m:79
Details:  DVTExtendedPlatformInfo: Synthesized iphonesimulator Extended Platform Info because no plugin existed to provide it or that plugin was not loaded
Object:   <DVTExtendedPlatformInfo>
Method:   +extendedPlatformInfoForPlatformIdentifier:error:
Thread:   <NSThread: 0x600002a1f180>{number = 35, name = (null)}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
2023-06-09 11:18:58.829 mlaunch[2442:38681] Thread Pool Worker DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot7/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-21780/DVTFoundation/DeveloperStructure/DVTExtendedPlatformInfo.m:79
Details:  DVTExtendedPlatformInfo: Synthesized watchsimulator Extended Platform Info because no plugin existed to provide it or that plugin was not loaded
Object:   <DVTExtendedPlatformInfo>
Method:   +extendedPlatformInfoForPlatformIdentifier:error:
Thread:   <NSThread: 0x600002a1f180>{number = 35, name = (null)}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
2023-06-09 11:18:58.829 mlaunch[2442:38681] Thread Pool Worker DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot7/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-21780/DVTFoundation/DeveloperStructure/DVTExtendedPlatformInfo.m:79
Details:  DVTExtendedPlatformInfo: Synthesized iphoneos Extended Platform Info because no plugin existed to provide it or that plugin was not loaded
Object:   <DVTExtendedPlatformInfo>
Method:   +extendedPlatformInfoForPlatformIdentifier:error:
Thread:   <NSThread: 0x600002a1f180>{number = 35, name = (null)}
Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.
warning MT1043: Failed to launch the application using the instruments service. Will try launching the app using gdb service.
        
Launching 'com.companyname.test123' on the device 'iPad'
Could not find the application 'com.companyname.test123' on the device 'iPad'.

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Reactions: 1
  • Comments: 40 (10 by maintainers)

Most upvoted comments

I’ve just had the very same error as @JTOne123 and @grimmi resolved by adding <MtouchNoSymbolStrip>true</MtouchNoSymbolStrip> which stands for “Strip native debugging symbols”. Absence of debugging symbols may break runtime?.. That’s something new 🤓

I updated to Visual Studio 17.6 (build 1575) and XCode Version 14.3.1 (14E300c). Just for kicks, I updated all workloads once I updated XCode:

# in my case it will target maui-ios, maui-android, maui, and maccatalyst
sudo dotnet workload update 

I then removed the local cache for Visual Studio:

rm -rf ~/Library/Caches/VisualStudio

This last step probably got things going again. Hope this might be able to help others.