xamarin / xamarin-macios

.NET for iOS, Mac Catalyst, macOS, and tvOS provide open-source bindings of the Apple SDKs for use with .NET managed languages such as C#
Other
2.48k stars 514 forks source link

Debugger won't connect to a Xamarin iOS project when a Settings.bundle is included #18490

Open vsfeedback opened 1 year ago

vsfeedback commented 1 year ago

This issue has been moved from a ticket on Developer Community.


[severity:I'm unable to use this version] VS 2022 latest version on Windows 11 stable channel, latest updates iPhone 8 on iOS 16

Expected: debugger connects, even when a Settings.bundle is present


Original Comments

Feedback Bot on 6/21/2023, 10:33 AM:

(private comment, text removed)

Rolf Kvinge [MSFT] on 6/21/2023, 06:16 PM:

(private comment, text removed)

Nico Vermeir on 6/22/2023, 08:11 AM:

(private comment, text removed)

Rolf Kvinge on 6/22/2023, 03:59 PM:

I think I see where the problem is, but one more question: did any settings you configured in the Settings bundle work previously?


Original Solutions

(no solutions)

rolfbjarne commented 1 year ago

Looks like we copy the project's Settings.bundle/Root.plist and overwrite the Settings.bundle/Root.plist file provided by the prebuilt app bundle (for Hot Reload), without injecting any debug settings into the Root.plist.