jjzjj

ios - Xcode 错误 : Auto property synthesis is synthesizing property not explicitly synthesized

coder 2023-09-24 原文

在 .h 文件中添加了两个属性:

@property (assign, nonatomic, readonly) float weightInLbs;
@property (strong, nonatomic, readonly) NSDate *date;

他们生成此 Xcode 错误:自动属性合成正在合成未显式合成的属性

我正在运行 Xcode 5.1,目标是 iOS 7.1。

这是什么意思,我需要做什么?

最佳答案

尝试更改项目build设置中的“隐式合成属性”标志

关于ios - Xcode 错误 : Auto property synthesis is synthesizing property not explicitly synthesized,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23742124/

有关ios - Xcode 错误 : Auto property synthesis is synthesizing property not explicitly synthesized的更多相关文章

随机推荐