

Without deleting the AppData\Local\Xamarin\iOS\Provisioning folder certs and provisioning profiles would come back from the dead. To finally get rid of the "VS: WildCard Development' profile (should always have been Distribution, not Development), I ended up revoking permissions on all certs, deleting the provisioning profiles, and most importantly Deleting the AppData\Local\Xamarin\iOS\Provisioning folder. Warning: unable to build chain to self-signed root for signer "Apple Development: Created via API (XXXXXX)" no matter what. I'd originally tried the Automatic provisioning and I couldn't even get it to. I set the cert up for for distribution (not development) and the app store but use no Entitlements. I'm attempting to Deploy to an iPhone SE 2020 (developer mode on) with 16.4.1. The process of deploying a Maui app to my local iPhone using VS 2022 17.5.4 on Win10 and then hopefully to TestFlight for beta testing has been a. Will auto provisioning work if I select the 'team' that has the NAME of the Apple Key instead of the one with my name?

How can I start from scratch and get rid of this VS:WildCard Development profile in VS2022? If I Now try to Auto provision, using the Wrong Team with my name, I get an error that the Certificate: Apple Development Created via API (KEY ID) already exists but can't be found in the local Keychain? Only that VS:WildCard profile shows up that I can't get rid of? I can't even Manually provision as if I choose the Signing Identity of 'Distribution (Automatic) [the other choices were 'Apple Development: Create via API (KEY ID) and 'Developer Automatic).Īnd then when I look in the provisioning profile. Two seem identical "Apple Distribution: My Name" of type 'Apple Distribution'Īnd one 'Apple Development Created in API' of type Apple Development.Īnd the ghosted 'Provisioning Profile' of 'VS:WildCard Development' is back, even though I did Not yet try to Auto Provision? However, when I add back in my apple account and select my name in the 'Team Name' and click 'View Details' it now shows THREE Certificates (none in keychain) Warning: unable to build chain to self-signed root for signer "Apple Development: Created via API (KEY ID)"Īfter shutting down VS 2022, I tried deleting my Apple Account in VS 2022 and the obj & bin folders and AppData\Local\Xamarin\iOS\Provisioning folder.
#Xcode for mac development code#
When I tried to deploy to my iPhone connected to my Mac I got an error of: >Detected signing identity:ġ> Code Signing Key: "Apple Development: Created via API (KEY ID)" (numbers from unknown)ġ> Provisioning Profile: "VS: WildCard Development" (hex digits from unknown)ġ>Warning: unable to build chain to self-signed root for signer "Apple Development: Created via API (KEY ID)"ġ>/Users/me/Library/Caches/Xamarin/mtbs/builds/Mauixx/hex digits/bin/Debug/net7.0-ios/ios-arm64/device-builds/iphone8.4-15.7.5/Mauixx.app: errSecInternalComponentġ>C:\Program Files\dotnet\packs\\\tools\msbuild\iOS\(2150,3): error : /usr/bin/codesign exited with code 1:ġ>C:\Program Files\dotnet\packs\\\tools\msbuild\iOS\(2150,3): error : Warning: unable to build chain to self-signed root for signer "Apple Development: Created via API (KEY ID)" I think I Should have selected he one with the 'NAME' I gave the key?

I selected the one with 'My Name' and thought I could see what that was, but it immediately created a profile from this. The Other had 'My Name' followed by the KEY ID. One had the 'NAME' I entered for the Apple key from Apple's 'Users and Access' Keys tab followed by KEY ID. After I added correctly entered my Individual Apple Developer account to Xamarin/Apple Accounts, I went to Auto Provision.
