-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Apple bundle for framework fails to import #1237
Comments
Framework doesn't work currently, because exported headers from We are discussing about continue our effort on supporting framework after module support, we also heard that Facebook is working on it @Coneko? Maybe we should have a meeting around this thing to make sure we are not duplicating our work. |
Thanks dude, thought i was losing my mind. So as i see it, it's either let them link as static libraries or wait for #983 to be merged |
Yes, I'm breaking up #983 into smaller PRs, the first one is recently merged #1238, and working on following up PRs. Please read up about modules http://clang.llvm.org/docs/Modules.html, it is a similar concept to framework, and if it fits your case, you should wait for that PR to be merged. |
Is it now possible to generate a We try to do it like:
the frameworks gets build, but I can't be imported from Xcode code |
Is this issue still happening? I'm able to generate a framework ( I'm guessing the issue remains? I'm trying to generate |
Cheers,
I'm trying to use the examples i've found online to generate an ObjC framework which i can later include in an ObjC project and i keep getting this error:
fatal error: 'ObjcFramework/SampleObjcClass.h' file not found #import <ObjcFramework/SampleObjcClass.h>
where ObjcFramework is the framework i'm generating with a BUCK file and SampleObjcClass is one of the exported headers
this is the buck file for the main app:
and this one's for the framework:
To be noted that if i don't wrap the library in a bundle and just leave it to buck to compile it as a static library, it works. however, i need to able to generate a framework for future use
Also, here's a repo for the whole example project if anyone wants to take a look over it:
https://github.com/timofticiuc/BuckSample
The text was updated successfully, but these errors were encountered: