Select the Certificates section from the iOS Apps column. Then, hit the + to create a new certificate.
Now, ON YOUR MAC, Go to Finder=>Keychain Access.
Then, Go to Certificate Assistant=> Request a Certificate from Signing Authority.
Fill in your information, and select the option to Save to disk:
Save the CSR where you can find it:
Transfer the file to the Windows Machine, where Xamarin is installed.
Start on the Apple Provisioning Portal, where we left off in slide 5.
Transfer the downloaded certificate to the MAC where you want to debug.
On your MAC, double click the Certificate and Open it Using KeyChain Access.
It would show the Key-Pairs related to your certificate.
Please save the Certificate to a safe place before proceeding further.
Adding an iOS Device
Attach a device to your MAC using uSB cable.
On your, MAC, Open XCode.
Go to Window=>Devices=>YourDeviceName=>Copy identifier string.
In a browser, go to Apple Developer center.
log in and Click the Certificates, Identifiers & Profiles link.
Click + button, provide a name for device, identifier of the device and click Register.
Creating a Development Prov. Profile
In the developer, portal browses the Certificate, Identifiers, and Profiles section in the Apple Developer Center. Select App IDs under Identifiers.
Click the + button and provide a Name.
IUse Safari to browse to the Apple Developers Member Center, and under the section Certificates, Identifiers & Profiles select Provisioning Profiles.
Click the + button, in the top right corner to create a new profile.
From the Development section, select the radio button next to iOS App Development, and press Continue.
From the drop-down menu, select the App ID that you wish to use.
Next, select the Certificate of the developer that you wish to include in the provisioning profile, and press Continue.
Select all the devices on which you want to install your app.
Give your Provisioning Profile a name that will make it identifiable, and press Generate to create the profile.
On the following screen, press Download to download the provisioning profile onto the Mac you are using.
Double-click on the file to install your provisioning profile in Xcode.
Go to Visual Studio 2015
Open your Xamarin.iOS project
Make sure that your Visual Studio is Paired with MAC xCode
Right click on Name Solution Explorer and click Properties
Navigate to iOS Bundle Signing in Properties
Check that Identity and Provisioning Profile has the values of your AppleID and your Provisioning profile name. If you can not set this, then restart visual studio and check again
AppID generated in above slide 16 (wildcard app id) should be placed in
info.plist file as well as ”Identifier” property in iOS Application Properties
Check next slides for images of above
This technical post was written by Mit Bhatt, a Xamarin developer at Space-O Technologies.
Do you have any cross platform app development idea that you want to make it a reality? Hire dedicated developer if you’re serious about your idea. When you contact us, we’re not going to charge you for an initial consultation. There is nothing you gonna pay. Then why not validate your idea now?
This page was last edited on May 3rd, 2018, at 3:33.