我正在使用 ZXingObjC 库在可能的应用程序中创建和读取 QRCode,并且工作正常。
最近我将 Xcode 更新到 7.3(7D175) 并创建了一个新项目并导入了相同的文件以生成 QRCode。但是现在我无法编译该项目并且遇到了很多错误。
一些错误描述如下:
1.ZXingObjC/core/ZXResultPoint.h:21:37: No type or protocol named 'NSCopying'
2.ZXingObjC/core/ZXResultPoint.h:21:28: Cannot find interface declaration for 'NSObject', superclass of 'ZXResultPoint'
3. Expected a type -> + (void)orderBestPatterns:(NSMutableArray *)patterns;
4. ZXingObjC/common/ZXBitArray.h:28:41: Unknown type name 'int32_t' for @property (nonatomic, assign, readonly) int32_t *bits;
5. ZXingObjC/common/ZXBitMatrix.h:31:26: Cannot find interface declaration for 'NSObject', superclass of 'ZXBitMatrix' @interface ZXBitMatrix : NSObject <NSCopying>
有人可以帮我解决这些错误吗?任何的想法 ???
谢谢,
AKC