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

0 votes
1 answer 14 views
14 views
Problem : xcode couldn't find any ios app development provisioning profiles matching
asked Feb 28 Shovo210 14k points
0 votes
1 answer 2 views
2 views
Problem: I cannot understand, how to debug on iphone? In android it in "Settings - Developer options - USB debugging". but in iphone with ios 7 I cant find it. Maybe the developer options menu is hidden, but how to show it?
asked 2 days ago sumaiya simi 16.2k points
1 vote
1 answer 89 views
89 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 2 views
2 views
Problem: Does anyone know about ios distribution?
asked 2 days ago zayed1 35.6k points
0 votes
1 answer 4 views
4 views
Problem: Anyone know why linux is better for coding? If anyone of you know then please answer.
asked 5 days ago niyatiry 3.2k points
1 vote
1 answer 2 views
2 views
Problem: Any remedy to this? Action cannot be completed because the file is open in system.
asked Mar 27 PkGuy 13.1k points
0 votes
1 answer 2 views
2 views
Problem: My application is crashing with the following error. What does this mean? How can I fix it? *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x6e36ae0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key XXX.'
asked Mar 24 ummesalma 25.2k points
0 votes
1 answer 12 views
12 views
Problem: when creating my Certificate Signing Request I get this error from Keychain Access: "A default keychain could not be found" I found no help on Google concerning this issue - can anybody help? Thanks!
asked Mar 20 ummesalma 25.2k points
0 votes
1 answer 55 views
55 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
0 votes
1 answer 2 views
2 views
Problem: Please let me know any solution regarding this .. no resource found that matches the given name
asked Apr 6 Ifra 24.4k points