Search code examples
iosxcodecocoapodsios-charts

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.

See the pod project in the workspace

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


Solution

  • 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!