Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vsfeedback opened this issue Jun 22, 2023 · 1 comment
Labels
bug If an issue is a bug or a pull request a bug fix regression The issue or pull request is a regression windows-only The issue only occur on Windows
Milestone

Comments

@vsfeedback
Copy link

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

  • Start a new Xamarin Forms project with an iOS target
  • Attach an iOS device
  • Configure hot reload
  • Make sure debugging on the iOS device works
  • Add a Settings.bundle with a Root.plist
  • Start debugging
  • Open the app on the phone
  • Notice that VS keeps waiting for the debugger to connect

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 rolfbjarne added bug If an issue is a bug or a pull request a bug fix windows-only The issue only occur on Windows regression The issue or pull request is a regression labels Jun 22, 2023
@rolfbjarne
Copy link
Member

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.

@rolfbjarne rolfbjarne added this to the .NET 8 milestone Jun 22, 2023
@rolfbjarne rolfbjarne modified the milestones: .NET 8, .NET 9 Sep 12, 2023
@rolfbjarne rolfbjarne modified the milestones: .NET 9, .NET 10 Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug If an issue is a bug or a pull request a bug fix regression The issue or pull request is a regression windows-only The issue only occur on Windows
Projects
None yet
Development

No branches or pull requests

2 participants