• Register
0 votes
51 views

Problem :

Below are the steps I went through:

Generate the certificate request:

Upload to the Apple Dev Portal, download the certificate.

Select it in the Xamarin Project options:

Tried to build, when getting to a codesigning it asks permission (is a name being "" correct?)

However same frustrating error:

"Error: No installed provisioning profiles match the installed iOS code signing keys"
 

I see in a csproj I can also specify code signing attributes - should I try to set these manually? Where can I find all the keys of a signing profile / certificate to do so?

7 5 2
3,870 points

2 Answers

0 votes

Solution :

So you created the new certificate, but did you add a certificate to a Provisioning Profile on Apple's Developer Portal and then did you re-download/installed a Provisioning Profile? You must do that.

A Provisioning Profile you have installed on the machine was created before you created the certificate, so there's no way it can try to have your certificate embedded inside of it.

If you try to open up ~/Library/MobileDevice/Provisioning Profiles/<guid>.mobileprovision, you will surely see that it has a <key>DeveloperCertificates</key> which has the array of certificates as a value. Only certificates in that list can be codesign the app using that Provisioning Profile.

Once you edit it on the Apple's Developer Portal to add to your certificate to that Provisioning Profile, then you will need to just re-download it and install a new copy and then select that in a Project Options.

9 7 4
38,600 points
0 votes

Solution:

  1.  First of all, double-click the iOS Project (or put right-click on the iOS Project and then select “Options”)

  2.  Afetr that go to section “Build” -> “iOS Bundle Signing”.

  3. Remove entry from “Custom Entitlements”.

Now the application builds fine.

Update: Here is a second option.

First, you'll require an AppleId. In caseyou don't have one already, sign up for one here: appleid.apple.com.

Next, open Xcode. Open Spotlight (Command + Space), Xcode.

Before everything, you'll require to include your AppleID first. Hence at the bar of the top-left of the monitor, click XCode and  then click preferences. After that click the accounts tab. Click the + button at the bottom left and include your AppleID account.

Once you have included your AppleID, click on your AppleID and click on Manage Certificates at the bottom right. Following this click the + button and select iOS Development.

Now once it's finished, close the preference window.

Most likely the project had been erroneously saved with a “Custom Entitlements” value for the iPhoneSimulator platform. (One of the older versions of Xamarin.VisualStudio used to do this.) Open up the “Build / iOS Bundle Signing” page for the iOS project settings and blank out any “Custom Entitlements” value for “Platform: iPhoneSimulator” — it probably contains the value “Entitlements.plist”. Rebuild the project; all should now be well.

10 6 4
31,120 points

Related questions

1 vote
1 answer 26 views
26 views
Problem : I am very new to Xamarin. From past few days I am trying to learn the Xamarin.Forms. If I try to deploy my Xamarin.Forms app to my physical iOS device which is currently running on the iOS 12.1.4, I often face the below error: Resource fork, Finder ... not allowed . Because of above issue I am unable to deploy my app on my device. Please help me in fixing above issue related to Xamarin.
asked May 12 Martin K 6.6k points
0 votes
1 answer 35 views
35 views
Problem : I want to run the NVCC to compile my CUDA program on my Mac. But when I try to run the NVCC, I am facing below error message: "nvcc fatal : The version ('70300') of the host compiler ('Apple clang') is not supported". I tried updating the XCode version to 7.3, and the Mac version to 10.11.4. But I am facing the same error. How can I revert my Apple Clang Version?
asked Nov 30, 2019 alecxe 7.5k points
1 vote
1 answer 34 views
34 views
Problem : I am unable to build my projects as I am facing below message: &ldquo;Unable to find manifest signing certificate in the certificate store&rdquo;. I have tried to run my Visual Studio as the Administrator and also I have tried to manually add my keys to ... Project Properties but above error is still appearing. I am unable to fix above error. Can someone guide me in fixing above error?
asked Apr 4 morrisBson 3.2k points
1 vote
1 answer 99 views
99 views
Problem : I have recently developed one page which I guess takes more time to load in the asp.net website. My page currently works with all the Android OS, all of the MAC OS and all iOS but it fails with iOS with version 10.0.0.2 with only safari browser. If I ... the DNS server Tried the Airplane mode on-off Also did my iPhone restart But still unable to fix it. Can someone help me in fixing it?
asked Apr 1 morrisBson 3.2k points