bazel-xcode / PodToBUILD

An easy way to integrate CocoaPods into Bazel
Apache License 2.0
323 stars 69 forks source link

in objc_library rule //Vendor/Masonry:Masonry: cycle in dependency graph: #210

Closed Jacky-LinPeng closed 2 years ago

Jacky-LinPeng commented 2 years ago

The directory structure

image

WORKSPACE

image

Vendor

image

BUILD

image

Error

 bazel build //other:mm 
ERROR: /Users/mac/Documents/bazel/examples/tutorial/Vendor/Masonry/BUILD.bazel:96:13: in objc_library rule //Vendor/Masonry:Masonry: cycle in dependency graph:
    //other:mm (6ed5ef6544576ec06f28ad2c39b4bfab1ae1b707235d39f22731ebd3697edca9)
.-> //Vendor/Masonry:Masonry (6ed5ef6544576ec06f28ad2c39b4bfab1ae1b707235d39f22731ebd3697edca9)
|   //Vendor/Masonry:Masonry_hmap (6ed5ef6544576ec06f28ad2c39b4bfab1ae1b707235d39f22731ebd3697edca9)
`-- //Vendor/Masonry:Masonry (6ed5ef6544576ec06f28ad2c39b4bfab1ae1b707235d39f22731ebd3697edca9)
ERROR: Analysis of target '//other:mm' failed; build aborted
INFO: Elapsed time: 0.116s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded, 0 targets conf\
igured)

I need your help. Why did I report this error