"No matching profiles found" with SiriKit in Visual Studio for Mac - xamarin

I haven't found if anybody had similar problem. My Visual Studio for Mac project stopped seeing application provisioning profile after I added SiriKit support there. Just can't find it, nor automatically, neither when trying to set manually.
I have checked bundle id and all my Entitlements several times, as well as removing cache, relaunch Visual Studio and even restarting Mac, but nothing helped.
First point:
Xcode can see this provision profile perfectly. I've created test project with Extensions for Siri. It can see the provision profile, and even launch the test app on the real device. But not in Visual Studio for Mac.
Second point:
Visual Studio can see other provision profiles, which doesn't have SiriKit enabled. As well as the newly created provision profiles (without SiriKit).
Any ideas would be helpful.
My system set:
macOS Mojave, Version 10.14.2
Xcode, Version 10.1 (10B61)
Visual Studio for Mac (Community), Version 7.7.1 (build 15)
Mono Framework, Version 5.16.0.221
Xamarin.iOS, Version 12.2.1.12
Update
Looks like apple fixed it (see last comments in this thread). I was able to create new provision (with new bundle id) and VS for Mac saw it successfully. However I guess you need to regenerate old provisions at apple developer portal, as they still have duplicate keys.
Also, looks like an update for VS for Mac will come in the nearest few days, that will fix this issue with duplicate key (see this pull request), so you can just wait)
Question is closed

There is a bug which is causing such issues. Already reported here..
https://forums.developer.apple.com/message/343811#343811

Related

AzureDevOps Credentials Visual Studio MAC

I just updated to MacOS Catalina because a Xamarin project needed the latest XCode. Everything was working before this update.
I am now unable to push to or pull from AzureDevops ({domain}.visualstuido.com), though I can clone a project from it without any problems.
When attempting to push or pull (even a project just cloned) I get the Microsoft sign-in dialog but it's blank (see image below).
I have tried rebooting (several times), restarting Visual Studio, applied all updates, (VS, MacOS, Java etc) but nothing is making any difference. Despite Googling this for several hours I can't any cause/resolution.
I'm looking for help on how to diagnose the cause and of course fix the problem.

Xamarin.Ios App terminates while starting (in Simulator and iPhone) only stating "The App has been terminated"

I am developing a Xamarin App for Android and iOS on windows. For iOS compiling, I pair with a Mac Mini.
I was forced to update MacOS, XCode, VisualStudio for Mac and therefore Xamarin. On Windows I also updated from Visual Studio 2015 to 2017.
After the updates, Android version works still fine.
The iOS App pairs, compiles and provisions successfully, but whe the App starts (either on simulator or real device), it shows the launch screen and after a few seconds quits back to home screen. It even says "successfully launched" but then terminates
The only logs I get are:
"The app has been terminated" -> on windows, in Debug Window
"Service exited due to SIGABRT" -> on mac, in simulator log file
I searched the web and tried lots of stuff:
Delete obj and bin folders
Clean, Rebuild, Restart VS, Restart Mac, Restart PC, Restart....
Deleted all Provisioning Files and Certificates, recreated them
Used Automatic provisioning, used Manual provisioning
Debug and Release Configuration
iPhone Simulator and Real Device
Sadly nothing worked and I cannot get more info why this happens.
Does somebody have or had the same issue and found a solution? Do you have suggestion what more I can try?
I would really appreciate any help.
Thanks
Edit:
As requested, a Screeshot of my build properties:
I am having the same issue. Restarting the device seems to be the only thing that works, but it's unreasonable to have to restart the device every time I want to run the debugger.
So I finally solved the problem...
I created a new iOS-Project from scratch, added the existing Xamarin.Forms project and copied the files from the original iOS project one by one. I also downgraded all firebase plugins from 5.x versions to the highest 4.x versions and xamarin forms from 3.x to 2.5.x and now the app runs in the simulator and bundle signing works also.
Thanks for your help, I hope my answer will help anyone with similar issues

iPhone Simulators not showing up in debug mode in Visual Studio for Mac. Xamarin.IOS

I developed an application in Xamarin.IOS on a windows machine, but the build time is getting ridiculous. So I decided to try to load and develop the solution on my Mac using VS. I have updated everything on my Mac (such as: Mac OSX, visual studio, and Xcode). I load the solution and everything builds, but no simulators show up in the target devices for debug mode. If I switch to release, the simulators show up, but not in debug. All provisioning files are downloaded and I have it set to Developer Automatic and Automatic.
Debug and Release are the only two build options. Debug|IPhoneSimulator is not one of them.
I also managed to get in this screwed up state with a new iOS project in VS4M. I tried changing various config settings to get it working, to no avail.
I added a new single-page iOS project to the same solution to see if the problem would persist. This fixed the problem in the new product and the existing project. I then deleted the extra project and called it good.
A stupid solution, to a stupid problem.
You will have to choose Build Configuration Debug|iPhoneSimulator, check the configurations and the target platform
Ended up creating a new project and edited the sln file to mimic what the defaults were for a new project then it started working.

Can't connect PC to Mac (Xamarin.iOS versions mismatch)

I'm trying to connect my Windows 10 to my Mac to build a Xamarin.Forms app as I've done in the past. However, I'm getting the following error:
Xamarin.iOS versions mismatch The Xamarin.iOS SDK version installed on
Mac is not compatible with this version of Visual Studio. Would you
like us to install Xamarin.iOS '11.14' for you? This will overwrite
any existing Xamarin.iOS installation on your Mac.
Indeed, the version on the Mac is 11.12.0.4. I'm on the stable channel, and it's telling me there are no updates. and I'm on the latest VS on my PC - 15.8.1.
I tried clicking 'Install' but it fails telling me that
There were problems installing...
Is there a way to solve this without uninstalling and reinstalling Visual Studio (which might not even help)?
After further searching the only solution at the moment seems to be to use the beta channel in order to install Xamarin.iOS 11.14 on the Mac.
However, the better solution seems to be to wait. It's supposed to be updated
really soon [Yes. That's a quote.]
Sources for all of that (and how to upgrade using the beta channel):
https://github.com/xamarin/xamarin-macios/issues/4623
https://developercommunity.visualstudio.com/content/problem/311561/installing-xamarinios-1114-from-the-vs4win-connect.html
EDIT
Visual Studio for Mac has been updated. We're supposed to be able to update it and it's supposed to work now.

How can I upgrade my Xamarin.iOS version from 9.6.1.8 to 9.6.1.9 in windows machine?

How can I upgrade my Xamarin.iOS version from 9.6.1.8 to 9.6.1.9 in windows machine?
I have already checked for updates in Xamarin Studio and also checked for updates in Visual Studio 2015>Tools>Options>Xamarin>Other>Check Now and all is looking up to date but as the error log says, Xamarin.iOS version is supposed to be 9.6.1.9.
Thanks in advance.
Xamarin.VisualStudio.IOS.LogHandler Warning: 0 : [2016-04-05
16:13:04.2398] There is a mismatch between the installed Xamarin.iOS
(version 9.6.1.9) on the Mac MacMiniBuildServer.local (192.168.101.15)
and the local Xamarin.iOS 9.6.1.8. While this may not be an issue, it
might cause unexpected behaviors. When applying updates, make sure to
keep both the Mac and Windows in sync.
When updating Xamarin
ensure that the same release channel (stable, beta, alpha) is used on both machines (visible on the update dialog of each tool).
On Mac
Open Xamarin Studio Open Xamarin Studio > Check for Updates
Download updates
Press Restart & Install Updates
On Windows
Open Xamarin Studio Help > Check for Updates
Download updates
Press Restart & Install Updates
Open Visual Studio Tools > Options > Xamarin > Other > Check now
To be damn sure, close and restart everything :P
If it still appears: see the answer from BytesGuy
There is often a discrepancy in the minor version for Xamarin.iOS between the PC and Mac.
This message can be safely ignored as long as you are on the latest stable version on both you PC and Mac (which you seem to be).
The only time this can become an actual issue is when your major versions are different (e.g., 9.6 on PC and 9.8 on Mac).
It turned out to be a problem with Apple Store Distribution Certificate.
I followed this steps and after recreating the Distribution Certificate, all problem was sorted out, so didn't need to upgrade my Xamarin.iOS version to 9.6.1.9.
Hope this might be helpful for other people.

Resources