bazel-xcode / PodToBUILD

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

In copts attribute of objc_library rule $(BUILD_DIR) not defined #110

Closed mapleyuan closed 4 years ago

mapleyuan commented 4 years ago

Hi guys, I have transfer pod to build, but i got this error. I think it is cause by the "$(BUILD_DIR)" from Pod inner, but I do not have any idea to fix it.

Analyzing: target //mediapipe/examples/ios/facedetectioncpu:FaceDetectionCpuApp (1 packages loaded, 0 targets configured) ERROR: /private/var/tmp/_bazel_ali/18ba3966ddbbfd8096433355d3c643f4/external/xxx/BUILD:790:11: in copts attribute of objc_library rule @xxx//:aarch64_cxx: $(BUILD_DIR) not defined

rahul-malik commented 4 years ago

Can you post the pod spec and generated build file?

mapleyuan commented 4 years ago

hi @rahul-malik ,thanks for your reply. The problem was solved(the third-party framework wasn't 64-bit)