2 years ago

#33252

test-img

Matt

Xamarin iOS Free Provisioning - No Matching Profiles Found

I have been following this guide on setting up free device provisioning for iOS apps in Xamarin, however Visual Studio never seems to locate a provisioning profile.

I get through all the XCode steps without issue, even deploy the blank XCode project to my iPhone without issue.

When I get to step 8 of the "Deploy your Xamarin.iOS app" section however (the Visual Studio tab), the signing identity doesn't exist, nor does the provisioning profile (see the below image).

enter image description here

enter image description here

If I attempt to run my application the output window does show it found the correct profile and certificate:

1> Code Signing Key: "Apple Development: [Redacted personal email] (A248A6WF6F)" (B30BFAAA304EE99F25656BDA0095A97BA3104EDF)
1> Provisioning Profile: "iOS Team Provisioning Profile: com.companyname.mytestapp1" (c38b8ce4-f892-440f-991e-17287768105b)
1> Bundle Id: com.companyname.mytestapp1
1> App Id: BG3U7QRUKM.com.companyname.mytestapp1

But then the deploy fails with the following output:

ApplicationVerificationFailed: Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.aEefsk/extracted/mytestapp1.iOS.app : 0xe8008015 (A valid provisioning profile for this executable was not found.)

And my error window shows:

Error error MT1006: Could not install the application '/Users/matt/Library/Caches/Xamarin/mtbs/builds/mytestapp1.iOS/e472585bbe370a429acd1bb065d6b3f2ebe6b76f1907d868be01a91463b888f9/bin/iPhone/Debug/device-builds/iphone12.1-15.2/mytestapp1.iOS.app' on the device 'Matt???s iPhone': AMDeviceSecureInstallApplicationBundle returned: 0xe8008015.

I've hit a wall on getting this working and hope you lot can give me something to work with. I can export the certificate as a .p12 file from XCode, but I haven't found any way to import that into Visual Studio. It's also worth noting that Visual Studio is on a Windows PC, then I have a MacBook as my build host, and the iOS device is connected to the MacBook via USB.

ios

xamarin

provisioning-profile

ios-provisioning

0 Answers

Your Answer

Accepted video resources