title: Photos framework error when compiled in Xcode 11.1
body: <p>I have updated my xcode 10.3 to latest version xcode11.1 and i have added the photos framework in my project.When i run my project i get "Photos requires C++11 or later" error in PHImageManager.h class.Below i have mentioned the error.</p>
  
  <p>Error:
  1./Applications/xcode11/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.1.sdk/System/Library/Frameworks/Photos.framework/Headers/PHImageManager.h:18:2: "Photos requires C++11 or later"
  2./Applications/xcode11/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.1.sdk/System/Library/Frameworks/Photos.framework/Headers/PHImageManager.h:21:47: Expected identifier or '{'</p>
  
  <p>Please help me on this issue.</p>