Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
SignalR: Real-time Application Development - Second Edition

You're reading from   SignalR: Real-time Application Development - Second Edition A fast-paced guide to develop, test, and deliver real-time communication in your .NET applications using SignalR

Arrow left icon
Product type Paperback
Published in Sep 2015
Publisher Packt
ISBN-13 9781785285455
Length 222 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Einar Ingerbrigsten Einar Ingerbrigsten
Author Profile Icon Einar Ingerbrigsten
Einar Ingerbrigsten
Arrow right icon
View More author details
Toc

Code signing


If you are not a registered Apple developer, but are just using Xamarin and eventually Xcode without yet thinking about going to the store, you won't have the necessary certificates on the OS X side to actually sign the binaries. You will quickly run into compiler errors telling you that your application can't be signed.

This is fairly simple to fix; all we need to do is manually edit the project file:

  1. Unload the iOS project from Solution Explorer:

  2. Right-click on the unloaded project and choose to edit it:

  3. For instance, in the Debug configuration, we want to remove the file reference in something called CodesignEntitlements:

  4. Now, we can reload the project by right-clicking on it and selecting the Reload Project action:

With the build host running on the OS X side of things and Visual Studio that is paired with it, as described in the Xamarin documentation, you should now be able to run the project using Ctrl + F5 (Debug | Run without debugger). It should yield the following result...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image