-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3rd Party Swift framework imported in Tweak.xm, but not in Swift source files #58
Comments
I haven't used Swift frameworks with Theos before, but it should work if you do |
It fails - it looks like those flags are getting ignored for some reason - (?) I added this line in
This makes it compile - just tested on the device, it also does the right thing when invoking code from the library. |
Could you remove that line from instance/rules.mk and tell me the output of |
@kabiroberai
And the output of the requested command:
|
This appears to be a different issue. You might need to specify an include path to resolve it. Try |
depend on swift runtime, and add a swift file will fix your problem. |
For what it's worth, |
Hello there,
I'm experiencing issues with 3rd party Swift frameworks.
The framework under test is a 3rd party Swift framework called:
QuickTableViewController
.This is my directory layout:
And this is my
Makefile
:The Swift framework can correctly be imported in
Tweak.xm
...#import <QuickTableViewController/QuickTableViewController-Swift.h>
... but I cannot use it from any of the Swift files inside
lib
.It looks like the framework flags are ignored when compiling Swift files (?)
Any idea on how to fix this?
Thanks, keep up the great work!
The text was updated successfully, but these errors were encountered: