• Register
0 votes
56 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

Please log in or register to answer this question.

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 57 views
57 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, 2020 Martin K 6.6k points
0 votes
1 answer 38 views
38 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 51 views
51 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, 2020 morrisBson 3.2k points
0 votes
2 answers 97 views
97 views
Problem : While trying to compile my C program I encountered following error agreeing to the xcode/ios license requires admin privileges, please re-run as root via sudo.
asked Nov 16, 2019 peterlaw 6.9k points
1 vote
1 answer 270 views
270 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, 2020 morrisBson 3.2k points
0 votes
1 answer 572 views
572 views
Problem : Recently I installed the python3 and also jupyter notebook using the pip3 on MacOs 10.9. But when I want to run my widget it gives me error that there is no javascript widget. I have the python3 and R kernels installed in my Jupyter-notebook. ... that in my mac I have the jupyter-nbextension command but the command: jupyter-nbextension enable --py widgetsnbextension Does not work for me.
asked Jan 27, 2020 jwilliam 3.9k points
0 votes
1 answer 21 views
21 views
Problem: I am currently working on developing the add in for the outlook 2010 with a Visual Studio Ultimate 2013. To create a setup package I am trying to use the InstallShield limited Edition. The setup has generated works on the 64 bit pc. It is not working ... 2010 Runtime The Visual studio 2010 Tools for the Office runtime I manually tried to remove any of the register on the 64 bit position.
asked Jul 6, 2020 Raphael Pacheco 4.9k points
0 votes
1 answer 84 views
84 views
Problem : I am facing this Kind of Error like:: Specified argument was out of the range of valid values.Parameter name: site While Debugging any of the Project. I have also tried after Reinstalling the Visual ... +9873912 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254
asked Jan 20, 2020 jwilliam 3.9k points
0 votes
1 answer 554 views
554 views
Problem : I am using the Visual Studio 2010 in a debug mode and I have "optimize code" unchecked. I am unable to quick watch (or hover on) any variable in my debugger. I encountered following error "Cannot evaluate expression because the code of the current method ... ' as it is not available at this instruction pointer, possibly because it has been optimized away." Am I missing any setting here ?
asked Jan 18, 2020 jwilliam 3.9k points