-
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
error loading package '': Every .bzl file must have a corresponding package, but '@rules_pods//BazelExtensions:workspace.bzl' #182
Comments
It seems you have to use a release version of PodToBUILD. You could clone this repo and make it on you own, or use the one I just created |
I tried to use this version the dependencies have been installed bazel run @rules_pods//:update_pods -- --src_root $PWD
But when i tried to build the target app, using RxCocoa dependency bazel build //ios-app:ios-app-swift I got this error
I guess that, BUILD file isn't generated correct in this version of PodToBUILD, in some libraries that use swift with objc RxCoca, Moya, Realm.... |
Yeah, I met this problem too. Swift library in generated BUILD file missed some include path, so we got this error in swift-objc mixed pod because swift compiler can't find the objc headers. I am trying to solve this, but not too soon |
inside BUILD file generated RxCocoa I replaced the line 124 by 125, and it works fine. looks like the problem is relative to |
I trying to use PodToBUILD master latest version, but i got an error
WORKSPACE FILE
Pods.WORKSPACE
BUILD file
when run command
bazel run @rules_pods//:update_pods -- --src_root $PWD
i got
This version works fine (install) update_pods command
https://github.com/pinterest/PodToBUILD/releases/download/3.4.1-ea20598f/PodToBUILD.zip
but is outdated, i got error when build the app, the BUILD.bazel file generated inside each pod is outdated generation
The text was updated successfully, but these errors were encountered: