UPDATE September 25, 2019
Xamarin recently launched a "stable" version compatible with iOS 13 and Xcode 11. Make sure you download updates from the "Stable" channel and not "Xcode 11 Preview channel".
-----------------
In September 2019 APPLE launched iOS 13 with a whole bunch of new features and improvements to the operating system. That's great for the end-user, but if you are an APP developer who is using Xamarin it could be you have encountered the same problem I did...
While I was working on the latest version of Delivia (food delivery APP), I got an upgrade of Xcode (version 11) that had built-in support for iOS 13. My problem occurred when I tried to compile the new version of the Delivia APP - several inexplicable error messages showed up. The day before everything had compiled just fine and ran without a hitch :(
I wondered if the problem was not in my code, but in the Xamarin update. However, you can never be too sure. After a fair bit of time spent troubleshooting and searching error logs I found the following error:
xamarin, /Applications/Xcode.app/.../Photos.framework/Headers/PHImageManager.h(17,47):
error GEA45E82A: expected identifier or '{'
"What the heck is this?", I thought ... expected identifier or '{' - fairly cryptic!
After a ton of Googling and a few days of frustration, I finally found this Xamarin web page on issues and fixes: https://github.com/xamarin/xamarin-macios/issues/7011
I found out you have to use a preview version of Xamarin.iOS that supports iOS 13 and Xcode 11. You'll find the preview version in "Xcode 11 Preview channel" in Visual Studio for Mac.
Go to the "Visual Studio Community" menu and click on the sub-menu "Check for updates". A pop-up window will give you a dropdown menu for "Update channel". Select "Xcode 11 Preview channel". Downloading and installation start after you click on the "Switch channel" button.
Happy programming! 😀
Here's a short little BLOGGER BIO to tell you a little bit about my background - and why I chose to get into programming and SEO.
I grew up in Norway, but went to school in the U.S. I have a degreen in computer science from Arizona State University. After graduating I moved back to Norway where I got a job working at Norwegian Data and later IBM. I went on to do a Masters of Management at BI in Oslo. After several years as a senior executive at IBM I decided to start my own company, Apropos Internet. In 2004 I started Virosafe Norway, a company that imports and distributes data security products, and now I am CEO of Lumino as well.
It's always been essential for me to stay up to date on the latest trends and developments in technology - not only to stay current as a programmer, but also to ensure my success as an entrpreneur. Lumino blog articles contain a variety of topics that have been useful for my own businesses - perhaps you will find them useful as well.