Open PureWeen opened 6 days ago
Just to be clear, these issues only happen when you connect a physical device and debug. No issues debugging on the simulator. Unfortunately things like In App Billing don't work from a simulator, and for proper testing we need to connect a physical device.
This looks like the problem:
Microsoft.iOS: Socket error while connecting to IDE on 127.0.0.1:54383: Connection refused
The app is failing to connect to the debugger.
Which IDE are you using?
This looks like the problem:
Microsoft.iOS: Socket error while connecting to IDE on 127.0.0.1:54383: Connection refused
The app is failing to connect to the debugger.
Which IDE are you using?
I am using Jetbrains Rider 2024.2.5 on Mac OS Sequoia 15.0.1
This looks like the problem:
Microsoft.iOS: Socket error while connecting to IDE on 127.0.0.1:54383: Connection refused
The app is failing to connect to the debugger. Which IDE are you using?
I am using Jetbrains Rider 2024.2.5 on Mac OS Sequoia 15.0.1
Do you get the same behavior if you try with VSCode?
This looks like the problem:
Microsoft.iOS: Socket error while connecting to IDE on 127.0.0.1:54383: Connection refused
The app is failing to connect to the debugger. Which IDE are you using?
I am using Jetbrains Rider 2024.2.5 on Mac OS Sequoia 15.0.1
Do you get the same behavior if you try with VSCode?
I have not set up VSCode, I primarily only use Rider. However, others using VSCode seem to have similar experience https://youtrack.jetbrains.com/issue/RIDER-104973/Rider-2023.3.3-Maui-3-warnings#focus=Comments-27-10778043.0-0
Does it work if you create a new project from a template?
I'm also experiencing the same symptom (I've not confirmed if the cause is the same). I'm able to click on the icon and manually open the app. Debugging works most of the time though sometimes it requires a second build and deployment cycle.
Does it work if you create a new project from a template?
it does not work, I am always starting with a empty Maui template
Please try creating a new project from a template in VSCode and see if you can debug that on device. This way we can rule out any bugs in the Rider that may cause this.
If it doesn't work in VSCode, please attach any output you're getting.
A New Maui Project in VS Code can debug, but the same project in Rider cannot. The following is the output from Rider, which is similar to what is above.
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk.net8.0_18.0/18.0.8303/tools/bin/mlaunch --devname "XXX’s iPhone" --killdev com.mycompany.vscodemaui --launchdev /Users/myusername/Development/Projects/VsCodeMaui/VsCodeMaui/bin/Debug/net8.0-ios/ios-arm64/VsCodeMaui.app --wait-for-unlock --argument=-connection-mode --argument=wifi -sdk 11.0 --argument=-monodevelop-port --argument=10001 --setenv=__XAMARIN_DEBUG_PORT__=10001 --sdkroot /Applications/Xcode.app/Contents/Developer
2024-10-25 21:11:22.131 mlaunch[42157:10330958] Requested but did not find extension point with identifier Xcode.IDEDebugger.VariablesViewQuickLookProvider for extension Xcode.SpriteKit.GKStateMachineQuickLookProvider of plug-in com.apple.IDESpriteKitParticleEditor
2024-10-25 21:11:22.132 mlaunch[42157:10330958] Requested but did not find extension point with identifier Xcode.IDEDebugger.VariablesViewQuickLookProvider for extension Xcode.IDEDebugger.SpriteKitQuickLookProvider of plug-in com.apple.IDESpriteKitParticleEditor
2024-10-25 21:11:22.137 mlaunch[42157:10330958] Requested but did not find extension point with identifier Xcode.IDEPlaygroundsKit.PlaygroundBottomBarExecutionAdaptor for extension Xcode.IDEPlaygroundEditor.IDEPlaygroundBottomBarExecutionAdaptor of plug-in com.apple.dt.IDEPlaygroundEditorPlugin
2024-10-25 21:11:22.138 mlaunch[42157:10330958] 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
2024-10-25 21:11:22.138 mlaunch[42157:10330958] 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
2024-10-25 21:11:22.138 mlaunch[42157:10330958] 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
2024-10-25 21:11:22.138 mlaunch[42157:10330958] Requested but did not find extension point with identifier Xcode.Xcode3UI.Xcode3SupportedDestinations for extension IDEWatchSupportUI:IDEWatchSupportUI.plugindata/plug-in[1]/extension[11] of plug-in com.apple.dt.IDEWatchSupportUI
2024-10-25 21:11:22.138 mlaunch[42157:10330958] 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
2024-10-25 21:11:22.138 mlaunch[42157:10330958] 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
2024-10-25 21:11:22.138 mlaunch[42157:10330958] 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
2024-10-25 21:11:22.138 mlaunch[42157:10330958] Requested but did not find extension point with identifier Xcode.IDEiOSSupportCore.iOSDeviceLocatorMapping for extension Xcode.IDEiOSSupportCore.iOSDeviceLocatorMapping.driverkit of plug-in com.apple.dt.IDEDriverKitSupportCore
2024-10-25 21:11:22.138 mlaunch[42157:10330958] Requested but did not find extension point with identifier Xcode.Xcode3UI.Xcode3SupportedDestinations for extension IDEDriverKitSupportUI:IDEDriverKitSupportUI.plugindata/plug-in[1]/extension[2] of plug-in com.apple.dt.IDEDriverKitSupportUI
2024-10-25 21:11:22.138 mlaunch[42157:10330958] Requested but did not find extension point with identifier Xcode.Xcode3UI.Xcode3SupportedDestinations for extension IDEOSXSupportUI:IDEOSXSupportUI.plugindata/plug-in[1]/extension[5] of plug-in com.apple.dt.IDEOSXSupportUI
2024-10-25 21:11:22.138 mlaunch[42157:10330958] Requested but did not find extension point with identifier Xcode.Xcode3UI.Xcode3SupportedDestinations for extension IDEVisionSupportUI:IDEVisionSupportUI.plugindata/plug-in[1]/extension[5] of plug-in com.apple.dt.IDEVisionSupportUI
2024-10-25 21:11:22.138 mlaunch[42157:10330958] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorType for extension Xcode.Xcode3ProjectSupport.InfoEditorType.Reality.Framework of plug-in com.apple.dt.IDEVisionSupportUI
2024-10-25 21:11:22.138 mlaunch[42157:10330958] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorType for extension Xcode.Xcode3ProjectSupport.InfoEditorType.Reality.Application of plug-in com.apple.dt.IDEVisionSupportUI
2024-10-25 21:11:22.138 mlaunch[42157:10330958] Requested but did not find extension point with identifier Xcode.Xcode3ProjectSupport.InfoEditorType for extension Xcode.Xcode3ProjectSupport.InfoEditorType.Reality.Bundle of plug-in com.apple.dt.IDEVisionSupportUI
2024-10-25 21:11:22.139 mlaunch[42157:10330958] 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
2024-10-25 21:11:22.139 mlaunch[42157:10330958] 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
2024-10-25 21:11:22.139 mlaunch[42157:10330958] Requested but did not find extension point with identifier Xcode.Xcode3UI.Xcode3SupportedDestinations for extension IDEAppleTVSupportUI:IDEAppleTVSupportUI.plugindata/plug-in[1]/extension[11] of plug-in com.apple.dt.IDEAppleTVSupportUI
2024-10-25 21:11:22.139 mlaunch[42157:10330958] 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
2024-10-25 21:11:22.139 mlaunch[42157:10330958] 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
2024-10-25 21:11:22.139 mlaunch[42157:10330958] 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
2024-10-25 21:11:22.139 mlaunch[42157:10330958] 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
2024-10-25 21:11:22.139 mlaunch[42157:10330958] 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
Just in case, I posted a bug report to Rider as well. https://youtrack.jetbrains.com/issue/RIDER-119144/Unable-to-hit-a-breakpoint-or-debug-a-.NET-Maui-app-on-a-connected-iOS-device
Moved From:
https://github.com/dotnet/maui/issues/25228
Description
When starting a debug session the provided errors are spewed out and breakpoints etc. do not work. I am uncertain as to the support story for XCode 16 and iOS 18. Is this a problem we are waiting for a fix on or should this work?
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
8.0.91 SR9.1
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
8.0.91 SR9.1
Affected platforms
iOS
Affected platform versions
iOS 18, XCode 16
Did you find any workaround?
No
Relevant log output