错误1:
ld: framework not found QBImagePickerController
clang: error: linker command failed with exit code 1(use -v to see invocation)
解决:找到下图将对应文件删除
错误2:
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
解决方案:
主工程的taget中BuildPhase中第二条中重新添加对应的文件即可
错误3:
’init(rawNumber:region:)' is unavailable: use PhoneNumberKit instead to produce PhoneNumbers
解决:
phoneNumber = try PhoneNumberKit().parse("\(pNumber)",withRegion: "CN",ignoreType: true)
错误3:
解决:
关于Expression of type 'UIViewController?' is unused
解决办法:
_=navigationController?.popViewController(animated:true)
因为这个方法有返回值,不处理就警告