본문 바로가기
개발

[iOS] Xcode 10 to 11 업데이트시 오류 photos framework error

by 테크냥이 2020. 6. 16.
반응형

xcode 10에서 11로 변경하고 나는 오류 중

Photos requires C++11 or later 오류가 발생하는 경우가 있습니다 

 

#inport <Photos/PhotosTypes.h> 부분에서 나는데요

Build Settings 에서 c++ Language Dialect 를 GNU++11 [-std=gnu++11]로 변경해주면 됩니다

 

 

참조 : https://stackoverflow.com/questions/58296595/photos-framework-error-when-compiled-in-xcode-11-1

 

Photos framework error when compiled in Xcode 11.1

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 c...

stackoverflow.com

 

반응형

댓글