Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 274
Danf Avatar asked Mar 24 '26 13:03

Danf


1 Answers

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!

like image 187
Danf Avatar answered Mar 26 '26 02:03

Danf



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!