删除项目的派生数据:/Users/{Username}/Library/Developer/Xcode/DerivedData/{AppName}
If you have installed any cocoapods, please deintegrate using- $ pod deintegrate, and uninstall all the cocoapods versions and then delete all of the pod files (pod.lock, pod, xcworkspace) from your project. Now, go to your Xcode project and remove the pod file and framework file from there. Then reinstall your cocoapods version that you need and use your library. It worked for me.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.