报错信息: No known instance method for selector ‘userAgent’ 解决方案: 插件开发人员已经把修改后的代码上传到master分支,不过还未上传到npm,所以还需要我们自己把修改后的代码复制过来,参考 https://github.com/apache/cordova-plugin-file-transfer/pull/268
2、undefined symbols for architecture i386
解决方案: 修改 Build Settings->Build Active Architectures Only-> 都改为Yes
4、Clang warning:no such sysroot directory,未找到iPhoneOS13.5.sdk
报错信息: .pch文件报错,‘Foundation/Foundation.h’ file not found 解决方案: xcode的SDK库中没有对应版本SDK,复制一份重命名即可或者下载对应SDK
5、.pch文件报错,‘Foundation/Foundation.h’ file not found
解决方案: 是由上面的问题造成的,解决上面的问题即可
**6、QRScanner 编译报错 **
报错信息: ‘openSettingsURLString’ has been renamed to ‘UIApplicationOpenSettingsURLString’ 解决方案: UIApplication.openSettingsURLString替换为UIApplicationOpenSettingsURLString,Github上已经有人提出这个问题,参考https://github.com/bitpay/cordova-plugin-qrscanner/issues/301