iOS

/Applications/Xcode.app/Contents

2022-05-09  本文已影响0人  HF_K

问题

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 '{'

解决办法

Go to the Build Settings-Apple Clang - Language - C++, then change

C++ Language Dialect
to
GNU++11 [-std=gnu++11]
worked for me.

解决办法

上一篇 下一篇

猜你喜欢

热点阅读