I am using VS2022 on windows pairing with Mac remote device. In debug mode, it takes quite long and I have diagnosed what might cause this error. I see that VS is executing chmod +x upload-symbols.sh This causing build to hang. If I cancel the build and re-presss "Debug" button immediately it deploys to the device. It doesn't occur on simulator only debugging with device. What might cause this error? What is VS trying to upload? Is there anyway to skip this command execution? Project uses also Firebase nuget package, could this be related to Firebase crashyltics that it tries to push DsmPackages. but why in Debug if that is the case.
EDIT: I have just figured out that it was caused by Firebase as expected. Full disagnostic is as below.
chmod +x upload-symbols.sh
2> './upload-symbols.sh' -gsp './GoogleService-Info.plist' -p ios './bin/iPhone/Debug/device-builds/ipad11.6-15.6.1/myApp.iOS.app.dSYM'
2> Successfully submitted symbols for architecture arm64 with UUID 39f0a6d1e9593089abc3ce7f9784da03 in dSYM: /Users/User/Library/Caches/Xamarin/mtbs/builds/myApp.iOS/xxx/bin/iPhone/Debug/device-builds/ipad11.6-15.6.1/myApp.iOS.app.dSYM
2> [32mSuccessfully uploaded Crashlytics symbols[0m
now question can we prevent this happening every time on debug build?