Hi,
I'm driving crazy. Currently I'm developing an app with Xamarin.Forms and try to deploy my app to my targets and testers targets for development.
First, I created a certificate on developer.apple site, created an app id (let's call it "com.abc.def"), registered my devices and created a provisioning file. Of course, the certificate and provisioning file use developement too, not distribution. Then, I logged in in visual studio (Extras -> Options -> Xamarin -> Apple Accounts) where all my certificates and provisioning files are listed (show details).
I don't want to use automatic signing as we distribute the app with appcenter and therefore I need to know the provisioning file that's used (to keep in sync with appcenter). Even if I choose automatic signing, it fails, saying "An App ID with Identifier '' is not available. Please enter a different string" when trying to create a new wildcard app id..
Creating a new wildcard App ID...
Creating new App ID named VS Wildcard...
There was an error while trying to automatically provision the project: 'An App ID with Identifier '*' is not available. Please enter a different string.'
However, I choose manual provisioning and I can select my certificate, but only my wildcard provisioning file is shown, not the one I want to use (com.abc.def). I tried adding com.abc.def in my Info.plist, but that didn't work. I also tried the prefix+bundle id combination like ABCDEFGHIKL.com.abc.def, but still, only the wildcard provisioning file is shown. Using the wildcard provisioning file, I can deploy my app, but well, that's not the provisioning file I want to use.
What have I tried?
- Download manual profiles with XCode
- Checked in ~Library/MobileProvisions/ProfileProvisioning that the provisioning profile is here
- Re-created app id and provisioning file multiple times
- Removed certificate from Keychain and added it again (downloaded from developer.apple)
- Checked that XCode shows no errors for my certificate
- Tried different Bundle IDs
- Unchecked/Checked Game-Center and In-App Purchase in Entitlement.plist
- Restarted Visual Studio, iPhones, Reconnected to Mac
I'm running out of ideas. Does someone has some more ideas?