美文网首页iOS
/Applications/Xcode.app/Contents

/Applications/Xcode.app/Contents

作者: HF_K | 来源:发表于2022-05-09 17:18 被阅读0次

问题

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.

解决办法

相关文章

网友评论

    本文标题:/Applications/Xcode.app/Contents

    本文链接:https://www.haomeiwen.com/subject/lmwhurtx.html