简体   繁体   中英

Xcode not finding frameworks installed with pod install

I have a project that was working well until I manually installed ios-charts library. Now, Xcode can't find any of the frameworks I had running before.

查看工作区中的pod项目

In the picture you can see the pod project in the workspace.

In the identity inspector the Pods_QM_Cons.framework is pointing to an empty folder in derived data. Sometime before, trying to work around an issue with the charts framework, I cleaned the derived data folder (deleted the contents), don't know it may have caused this.

I tried pod install a couple of times, even deleting the pod folder, pod.lock and workspace, but nothing works...

The actual error is no such module 'SVProgressHUD', one of the libraries...

I'd appreciate some help on this! it's driving me crazy...

Thanks

Ok, I think I solved the issue, by going to the build settings of the pod project, and setting "Build Active Architecture Only" to no for both debug and release. Debug was set to yes.

The question now would be how did it work until now, and why it failed... But the thing works...

Thanks!

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM