fstephany / bazel-blog-post

Companion repo of Bazel Blog posts: https://tulipemoutarde.be/posts/bazel-for-mobile-apps-part-1/
14 stars 2 forks source link

RxCocoa swift_library won't include Objective-C files #1

Open rgnns opened 5 years ago

rgnns commented 5 years ago

swift_library including srcs with the {h,m,swift} won't import everything as expected. Once split per extension, bazel will call out for h and m not being swift files.

I've been trying to link RxCocoa to my project with no success. Mostly because I'm not able to split the swift and Objective-C files into different targets and make it compatible. Probably with some more time I can get it working since there's a know workaround (https://docs.google.com/document/d/1v9DeNdPbQoGdemvH2hC3l2YSgk57uDkSzA7pwHNCbEM/edit#heading=h.2cnpmoqlhzwt).

I was wondering however if you had already figured it out?

LeeWong commented 5 years ago

I encountered the same problem. Any update on this issue?