Issue while creating iOS build- Xamarin - ios

I am not able to generate the iOS build. I am using an apple developer account to generate a provisioning profile.
I have tried to create new provisioning profiles and certificates various times. Even I am trying to create an iOS build of a demo project with the same provisioning profile as well but getting the same error in every project.
"Warning: unable to build chain to self-signed root for signer "Apple Development: AppleUserName"

Related

Issue with Provisioning profiles for IOS when using Archive for Publishing on VS for Mac

I am trying to Publish my first App for IOS Distribution, on my Macbook Air using VS Studio for Mac V17.4.2 and XCode V14.2.
I have created and downloaded the certificates and provisioning profiles.
When I try the Archive for Publish on VS I get an error:
Could not find any provisioning profiles for project on IOS
When I look at the project Bundle Signing settings I get following screen:
The bundle identfier eg com.companyname.project is the same in project properties and provisioning profile.
The signing certificates for IOS Distribution are loaded into Xcode.
Can anyone please indicate to me as how to resolve the above error.
One thing I am not sure is where VS is looking for the provisioning profile file as it is currently in my downloads folder and I have clicked on.
Thanks
Have tried looking online but could not find any solution.

No installed provisioning profiles match the installed iOS signing identities

I am attempting to launch my test app to a real iOS device through iOS xamarin. However, upon building or deploying, the error notes:
No installed provisioning profiles match the installed iOS signing identities
I have followed every step concerning creating certificates for the app, partitioning devices, creating an apple developer account and linking to Xcode, yet this error persists...
update:
I revoked the certificate an recreated the provisioning file, now downloaded through Xcode. However, Xamarin can now build, but not deploy out to my iPhone as there is no Run option:
How can this be alleviated?

Building Error on the IOS distribution using ionic in Windows

I am very new in ionic iOS building. I got struck while not able to build the ios production .ipa file in ionic.io.
By referring the site
My Working Platforms:
Windows 8.1,
ionic.io,
Commands using CLI for running the app in browser and building.
For IOS Development,
I can able to create the p12 and mobile provisioning certificates in apple developer portal.
I can able to upload those files in the settings tab in the profile tag in ionic.io
I got my success build .ipa and ran into my iOS devices that working fine.
For IOS Production,
I can able to create the p12 and mobile provisioning certificates in apple developer portal.
I can able to upload those files in the settings tab in the profile tag in ionic.io
The build was failed in ionic.io. When i click the output link displaying the following error,
=== BUILD TARGET XXXX OF PROJECT XXXX WITH CONFIGURATION Debug ===
Check dependencies Code Sign error: No code signing identities found:
No valid signing identities (i.e. certificate and private key pair) were found.
** BUILD FAILED **
Can anyone help to resolve it

"ionic run ios" How to add provisioning profiles

I wish to use Ionic to run my app on my iOs device with livereload enabled. According to the docs this should be easy:
ionic run ios --device -l
Of course I have to add provisioning profiles, but how am I supposed to do it?
I have the .mobileprovision and the .p12 of the certificate, but no matter what I do I still get this error when running the command:
No matching provisioning profiles found: No provisioning profiles with a valid signing identity (i.e. certificate and private key pair) matching the bundle identifier “<MyBundleID>” were found
How am I supposed to add my provisioning profiles? I'm not able to find any info about this in the framework docs.
Note: I can reploy the project using Xcode, but then I don't get the livereload. Plus I'd prefer doing everything from the CLI.
You need to go into XCode and add those provisioning profiles to your device.
Set those provisioning profiles into the build process and add the profile to the device as well.
Though you may not be using Visual Studio, their explanation on the setup works for all methods of building Ionic apps.
The documentation is here, but to tell you what's going on:
Make sure you have a developer account to make provisioning profiles.
You would sign into Itunes Connect to add your device as a testing device
Create an App ID
Create a provisioning profile associated to that App ID
Download the provisioning file into Xcode
Add the provisioning file to your device via Xcode
Run ionic run ios --device -l
That should do the trick.
Follow the setup guide by Microsoft starting at create your provisioning profile.

iOS Enterprise provisioning profile distribution

I am signing a dylib in my application with an Enterprise certificate and noticed that on some devices I get the following error:
0xe8008015: A valid provisioning profile for this executable was not found.
The strange thing is on the devices where this works I never manually installed a provisioning profile. I think when I used XCode it got automated installed somehow.
Manually installing the 'Distribution in house' profile associated with the cert on these devices fixed the problem, but I'm trying to understand how to deploy my software without requiring this extra step.
What is the standard way of pushing out the enterprise provisioning profile?
Does the mentioned Enterprise certificate appear under Settings ➞ Profiles on the iOS devices that experience the problem?
Is said Enterprise certificate available as a valid (signable) certificate on the Xcode installation where you package the final .ipa?
Do you use the same certificate for signing the dylibs and the app?
The standard way of pushing an Enterprise certificate to devices is to include it when packaging/archiving an app. Xcode should do this automatically - at least for the certificate used to sign the app itself.
You can extract an .ipa (rename to .zip) and look for a file called "embedded.mobileprovision" in the .app package.

Resources