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.
https://github.com/xamarin/xamarin-macios/issues/7276
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 5.16.1.24 (d16-3 / 08809f5b) Package version: 604000208 === Mono Framework MDK === Runtime: Mono 6.4.0.208 (2019-06/07c23f2ca43) (64-bit) Package version: 604000208 === NuGet === Version: 5.3.0.6192 === .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: 3.0.0 2.1.13 === Xamarin.Profiler === Version: 1.6.12.29 Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler === Updater === Version: 11 === Apple Developer Tools === Xcode 11.2 (15526) Build 11B52 === Xamarin.Android === Version: 10.0.6.2 (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 1.8.0-25 Android Designer EPL code available here: https://github.com/xamarin/AndroidDesigner.EPL === Android SDK Manager === Version: 1.4.0.65 Hash: c33b107 Branch: remotes/origin/d16-3 Build date: 2019-10-10 12:15:44 UTC === Android Device Manager === Version: 1.2.0.116 Hash: d2b2af0 Branch: remotes/origin/d16-3 Build date: 2019-10-10 12:16:06 UTC === Xamarin Designer === Version: 16.3.0.256 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: 13.6.0.12 (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
Posts
@RolfBjarneKvinge We are still having this problem. No debugging support for physical watch devices
using the latest versions of VSMac and Xcode.