Closed possen closed 4 years ago
@possen Hi, I tried to create XCFramework for SwiftCoroutine and I succeeded (I tried doing it for macOS):
make sure that you have a MyFramework.framework file within the same directory as MyApp
(https://stackoverflow.com/questions/60078417/embedding-xcframework-in-application-with-project-framework-dependencies)I'm adding XCFramework for SwiftCoroutine, you can try adding it. Please let me know if this worked for you.
Also add an example of a working project - Example.zip
Great, thanks so much! Will try it out!
This library looks great. I have been trying to integrate it in an XCFramework I have. There is an issue, I am having, because it defines a C module, it turns on "Defines Module" if you turn on "Defines Module" and BUILD_LIBRARIES_FOR_DISTRIBUTION then the SwiftInterface files are not generated for that module. Not sure if this is correct behavior but it is the behavior, none the less.
See this project for an example of the issue (turning off Defines Module lets it generate the swiftinterface files). https://github.com/possen/HostApp. Turning it off, means it won't import in Application because the swiftintface files are missing.
The question becomes is there a way to either not enable "defines module" for the whole project, just that one C module, or do a pure Swift implementation?