Forum Visual Studio


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Debugging is not working on a watch project - ios13.2 watchos 6.1

OnurHazarOnurHazar USUniversity ✭✭✭

I am not able to debug my watch project(series 5 watchos 6) on neither device nor simulator. It was working before iOS13 update. Watch app crashes immediately at launch when I try to debug. I think it crashes when WCSession is about to start. Unfortunately, it doesn't give any crash log even from device console. I already set proper profiles and entitlements for ios and watch apps. I also set different debugger ports for ios app(10001), watch app(10002), watch extension app(10003). Without debugging, I am able to deploy to my phone and watch without a problem so I think something is broken in debugger.

We can't resolve problems without debugging efficiently. We are developing a professional product for a professional customer with a professional tool (Visual Studio for Mac). Please help us for at least finding a workaround or something if this is not going to be fixed for a long time.

I found this link which is related to my issue.

Note: I set i386 as supported architecture in watchOS Build project settings because 64bit is still not supported which is another problem.

=== Visual Studio Community 2019 for Mac ===

Version 8.3.7 (build 1)
Installation UUID: ea4c0e75-349d-4bd7-81f7-3cbac09ef2e0
    GTK+ 2.24.23 (Raleigh theme)
    Xamarin.Mac (d16-3 / 08809f5b)

    Package version: 604000208

=== Mono Framework MDK ===

    Mono (2019-06/07c23f2ca43) (64-bit)
    Package version: 604000208

=== NuGet ===


=== .NET Core SDK ===

SDK: /usr/local/share/dotnet/sdk/3.0.100/Sdks
SDK Version: 3.0.100
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/6.4.0/lib/mono/msbuild/Current/bin/Sdks

=== .NET Core Runtime ===

Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:

=== Xamarin.Profiler ===

Location: /Applications/Xamarin Profiler

=== Updater ===

Version: 11

=== Apple Developer Tools ===

Xcode 11.2 (15526)
Build 11B52

=== Xamarin.Android ===

Version: (Visual Studio Community)
Commit: xamarin-android/d16-3/c407838
Android SDK: /Users/onur.hazar/Library/Developer/Xamarin/android-sdk-macosx
    Supported Android versions:
        8.1 (API level 27)

SDK Tools Version: 26.1.1
SDK Platform Tools Version: 29.0.1
SDK Build Tools Version: 28.0.3

Build Information: 
Mono: mono/mono/[email protected]
Java.Interop: xamarin/java.interop/[email protected]
LibZipSharp: grendello/LibZipSharp/[email protected]
LibZip: nih-at/libzip/[email protected]
ProGuard: xamarin/proguard/[email protected]
SQLite: xamarin/sqlite/[email protected]
Xamarin.Android Tools: xamarin/xamarin-android-tools/[email protected]

=== Microsoft Mobile OpenJDK ===

Java SDK: /Users/onur.hazar/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_1.8.0.25
Android Designer EPL code available here:

=== Android SDK Manager ===

Hash: c33b107
Branch: remotes/origin/d16-3
Build date: 2019-10-10 12:15:44 UTC

=== Android Device Manager ===

Hash: d2b2af0
Branch: remotes/origin/d16-3
Build date: 2019-10-10 12:16:06 UTC

=== Xamarin Designer ===

Hash: 8a223bfd7
Branch: remotes/origin/d16-3
Build date: 2019-11-01 21:02:02 UTC

=== Xamarin.Mac ===

Xamarin.Mac not installed. Can't find /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/Version.

=== Xamarin.iOS ===

Version: (Visual Studio Community)
Hash: e3c2b406d
Branch: xcode11.2
Build date: 2019-11-01 00:12:08-0400

=== Xamarin Inspector ===

Version: 1.4.3
Hash: db27525
Branch: 1.4-release
Build date: Mon, 09 Jul 2018 21:20:18 GMT
Client compatibility: 1

=== Build Information ===

Release ID: 803070001
Git revision: 9245c93bbca71766f0150b84e30dd42c394bd259
Build date: 2019-11-04 21:08:08+00
Build branch: release-8.3
Xamarin extensions: ea50d7eae9677fbbd7ff7578a7d1429b9946a728

=== Operating System ===

Mac OS X 10.14.6
Darwin 18.7.0 Darwin Kernel Version 18.7.0
    Tue Aug 20 16:57:14 PDT 2019
    root:xnu-4903.271.2~2/RELEASE_X86_64 x86_64


  • OnurHazarOnurHazar USUniversity ✭✭✭

    @RolfBjarneKvinge We are still having this problem. No debugging support for physical watch devices :( using the latest versions of VSMac and Xcode.

Sign In or Register to comment.