Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我是我lint的一个豆荚
lint
$ pod spec lint
我收到了一些这种类型的笔记
- 注意 | [iOS] [xcodebuild] MyPod/MyClass.m:68:40:警告:隐式转换失去整数精度:'NSInteger'(又名'long')到'int' [-Wshorten-64-to-32] ...
有没有办法从 xcode 中获取它们(我找不到那些)?
您应该在 Xcode 中启用GCC_WARN_64_TO_32_BIT_CONVERSION警告。您应该能够搜索其中的一些字符串来找到它。
GCC_WARN_64_TO_32_BIT_CONVERSION