ChenYilong / iOS13AdaptationTips

iOS13 AdaptationTips
MIT License
175 stars 6 forks source link

xcode11 beta4系统头文件报错Photos/PhImageManager.h #22

Open zhongwen42 opened 5 years ago

zhongwen42 commented 5 years ago

line 17 新增了一个枚举:typedef NS_ENUM(NSInteger, UIImageOrientation);这种写法的枚举 编译如果引入了/PhImageManager.h头文件,在xxx.mm文件中。就会报错: expected identifier or '{'

build setting 关于C++ Language 的设置为 Compiler Default 有人碰到吗

loxi1234567 commented 5 years ago

碰到了,同.mm文件引入了PhImageManager.h 报错:expected identifier or '{' 原因未知

onlyiry commented 4 years ago

怎么解决的?

zhongwen42 commented 4 years ago

更改xcode c++编译器到新版本

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: onlyiry <notifications@github.com> 发送时间: 2019年10月22日 11:01 收件人: ChenYilong/iOS13AdaptationTips <iOS13AdaptationTips@noreply.github.com> 抄送: Shady2012 <573157457@qq.com>, Author <author@noreply.github.com> 主题: 回复:[ChenYilong/iOS13AdaptationTips] xcode11 beta4系统头文件报错Photos/PhImageManager.h (#22)

怎么解决的?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.