Book Image

SignalR: Real-time Application Development - Second Edition

By : Einar Ingerbrigsten
Book Image

SignalR: Real-time Application Development - Second Edition

By: Einar Ingerbrigsten

Overview of this book

Table of Contents (19 chapters)
SignalR – Real-time Application Development Second Edition
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
11
Hosting a Server Using Self-hosted OWIN
Index

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...