1

I have an application which is using a library installing via Cocoapods.

In that library project, now I have embedded a framework and it build successfully.

Back to my application when I do pod install then build. The library pod show me error:

No such module 'embedded framework'

in the swift file which I used that framework.

I have research and try many solutions but still not work. How can I bring the embedded framework along with my library project?

Add link binaries:

enter image description here

Add copy files:

enter image description here

Still error in the main application when compile:

enter image description here

Clifford
  • 88,407
  • 13
  • 85
  • 165
  • Have you checked this : https://stackoverflow.com/questions/29500227/getting-error-no-such-module-using-xcode-but-the-framework-is-there ? – Amit Sep 16 '19 at 07:36
  • @Amit yes I did but it's another story, my story is that I want to embed a framework in my library project not my application project –  Sep 16 '19 at 07:51

1 Answers1

0

Go to your Xcode project General Tab. Check for Embedded Binaries. Now, Add your missing lib. or framework here. Check in screenshot below. enter image description here

Clean and run the project.

Daljeet
  • 1,573
  • 2
  • 20
  • 40