Last active
November 26, 2019 08:52
-
-
Save christianhelle/9267d7d686016710e90714eba238b92a to your computer and use it in GitHub Desktop.
Workaround for building Xamarin.iOS after updating to XCode 11 for the error: PHImageManager.h(17,47): error GEA45E82A: expected identifier or '{'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo sed -i -e 's/typedef NS_ENUM(NSInteger, UIImageOrientation);/typedef NS_ENUM(NSInteger, UIImageOrientation) {};/g' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Photos.framework/Headers/PHImageManager.h |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment