我正在使用AWSS3吊舱将文件上传到S3服务器,但是当我使用Cocoapods安装吊舱时。我的代码运行良好,但是调试器根本无法运行。当我尝试打印某些内容时,它在日志中给出以下错误。
警告:模块市场中的Swift错误:/Users/samarth/Downloads/Marketplace/build/Debug-iphoneos/AWSS3/AWSS3.framework/Headers/AWSS3Model.h:17:2:注意:已导入模块“ AWSCore”从/Users/samarth/Downloads/Marketplace/build/Debug-iphoneos/AWSS3/AWSS3.framework/Headers/AWSS3Model.h:17:
导入AWSCore / AWSNetworking.h
警告:/Users/samarth/Downloads/Marketplace/build/Debug-iphoneos/AWSCore/AWSCore.framework/Headers/AWSFMDatabasePool.h:177:12:警告:接口“ NSObject”上类别“ AWSFMDatabasePoolDelegate”的重复定义 @interface NSObject(AWSFMDatabasePoolDelegate) ^ /Users/samarth/Downloads/Marketplace/Pods/AWSCore/AWSCore/FMDB/AWSFMDatabasePool.h:177:12:注意:此处的先前定义 @interface NSObject(AWSFMDatabasePoolDelegate) /Users/samarth/Downloads/Marketplace/build/Debug-iphoneos/AWSS3/AWSS3.framework/Headers/AWSS3Model.h:17:2:注意:在从/ Users / samarth / Downloads / Downloads / Marketplace / build导入的模块“ AWSCore”中/Debug-iphoneos/AWSS3/AWSS3.framework/Headers/AWSS3Model.h:17: