Swift Compiler Error: No such module 'TigaseSwift' (#140)
Unknown opened 5 years ago

Although the Tigase Swift framework is embedded as binary, Compiler returns with error: No such module 'TigaseSwift'

Tigase Swift project was added to the workspace of an existing project and TigaseSwift framework was embedded as a binary. But when the project is compiled, it returns the error: No such module 'TigaseSwift' in places where the library is imported.

To Reproduce Steps to reproduce the behavior:

  1. Go to Xcode and open an existing workspace.
  2. Add Tigase Swift project to that workspace.
  3. Add TigaseSwift framework to the existing project as an embedded binary.
  4. Import TigaseSwift within the existing project and use it.
  5. Build the project.
  6. Swift Compiler Error: No such module 'TigaseSwift' will be returned by the compiler.

Expected behavior Existing project must build without error (It had no previous issue) and TigaseSwift must be usable in the existing project

Environment

  • OS: macOS Mojave v10.14.6
  • X - Code v10.2

Deployment Target

  • iOS 10.0
Unknown commented 5 years ago

Is TigaseSwift also added to Link binary with libraries section?

Which exact branch of TigaseSwift are you using?

In the mix branch which contains the newest development version, we have introduced support for Swift packages, so that TigaseSwift may be easily added as a dependency.

Unknown commented 5 years ago

Link binary with libraries was not added earlier. I added it and tested. But it still gives the same error. I was in the main branch.

In the mix branch which contains the newest development version, we have introduced support for Swift packages, so that TigaseSwift may be easily added as a dependency.

Could you please elaborate how to use above feature ?

When I checkout to mix branch I am unable to embed the binary!

Unknown commented 3 years ago

Closing due to mix branch being merged to master.

issue 1 of 1
Issue Votes (0)
Watchers (0)
Reference
tigase/_libraries/Martin#140
Please wait...
Page is in error, reload to recover