2

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

Danf
  • 1,409
  • 2
  • 21
  • 39
  • Thanks, I edited the question... The actual error is it can't find one of the modules... This has happened before and a simple build would fix it, but not this time... – Danf Jun 21 '18 at 16:17
  • SVProgressHUD is an ObjC lib, have you added it to your bridging header - or imported the framework at the top of your class? – Wez Jun 21 '18 at 16:17
  • I haven't, at least not manually, but it was working perfectly before, I have almost a month working with this, and it stoped working just now. But I'll read about the bridging header anyway... – Danf Jun 21 '18 at 16:21

1 Answers1

5

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!

Danf
  • 1,409
  • 2
  • 21
  • 39