0

I have a tvOS project developed in Swift 3.2 + Xcode 8.3.3, and Objective-C.

When I started developing the project, I started with SingleViewApplication and later added PODS which generated ABC.xcworkspace for me.

Now I open ABC.xcworkspace with Xcode for any development.

The project hierarchy is:

-ABC --ABC folder -Pods --Podfile

After I create a framework in Swift and add it to the project by Files -> Add Files to ABC and then add it to Embedded binaries And Linked Frameworks and Libraries

Then, I tried to import and use UIViewController created in Framework.

I see the error no such module.

I referred to other posts for resolving this error such as setting path recursive in framework search path, but nothing is working for me.

If you need more information, please let me know.

Know that, if I follow the standard way ie 1. creating new project 2. create new framework 3. create new xcworkspace then drag 1 & 2 in 3, it works fine.

CodeChanger
  • 7,163
  • 4
  • 41
  • 74
Naren
  • 1,244
  • 14
  • 18
  • Please explain what is not working for you. – koen Feb 16 '19 at 19:44
  • After adding framework, project builds successfully. but if i import framework in existing swift file, i see error, no such module present and project doesn't get compiled. I hope this helps. – Naren Feb 16 '19 at 19:46
  • Possible duplicate of [Getting error "No such module" using Xcode, but the framework is there](https://stackoverflow.com/questions/29500227/getting-error-no-such-module-using-xcode-but-the-framework-is-there) – koen Feb 16 '19 at 19:57
  • I almost tried every solution mentioned but it's not working for me. – Naren Feb 18 '19 at 17:08

0 Answers0