-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Bazel doesn't build ios mediapipe examples #4714
Comments
From the description, We can see that you are using the Bazel Version 5.2.0, Supported Version of Bazel is 6.1.1 as noted here in .bazelversion. Please use the recommended version And revert back if encounter any error. Thank you |
when using the Bazel Version 6.1.1 , |
Please change bundle_id to the same one which you set at Provisioning Profile in file mediapipe/mediapipe/examples/ios/handtrackinggp/BUILD As below OR you can follow this example section build-from-terminal to set up the bundle_id:
And revert back if you encounter further issue. Thank you |
ERROR: /private/var/tmp/_bazel_sisichen/1f8802ff93599cb6b7c44b8093081bf5/external/bazel_tools/platforms/BUILD:19:6: in alias rule @bazel_tools//platforms:x86_64: Constraints from @bazel_tools//platforms have been removed. Please use constraints from @platforms repository embedded in Bazel, or preferably declare dependency on https://github.com/bazelbuild/platforms. See bazelbuild/bazel#8622 for details. |
@chensisi0730 Can you confirm that you are still seeing this issue with the latest |
ERROR: /private/var/tmp/_bazel_sisichen/a7fca234246f4255617eb5320eaa20b9/external/org_tensorflow/tensorflow/lite/delegates/gpu/common/transformations/BUILD:59:11: Compiling tensorflow/lite/delegates/gpu/common/transformations/fuse_add_to_conv.cc failed: (Aborted): wrapped_clang_pp failed: error executing command external/local_config_cc/wrapped_clang_pp '-D_FORTIFY_SOURCE=1' -fstack-protector -fcolor-diagnostics -Wall -Wthread-safety -Wself-assign -fno-omit-frame-pointer -g0 -O2 -DNDEBUG ... (remaining 36 arguments skipped) Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging |
i have the same problem, |
Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
None
OS Platform and Distribution
iOS
Mobile device if the issue happens on mobile device
No response
Browser and version if the issue happens on browser
No response
Programming Language and version
oc
MediaPipe version
lastest
Bazel version
5.2
Solution
handtrackinggpu
Android Studio, NDK, SDK versions (if issue is related to building in Android environment)
No response
Xcode & Tulsi version (if issue is related to building for iOS)
No response
Describe the actual behavior
Python 3.9.12 bazel 5.2.0 xcode 13.3.1 macOS 12.3.1 (21E258) bazel build -c opt --config=ios_arm64 mediapipe/examples/ios/handtrackinggpu:HandTrackingGpuApp ERROR: /Users/sisichen/work/mediapipe_work/mediapipe/mediapipe/examples/ios/handtrackinggpu/BUILD:34:16: ProcessEntitlementsFiles mediapipe/examples/ios/handtrackinggpu/HandTrackingGpuApp_entitlements.entitlements failed: (Exit 1): plisttool failed: error executing command bazel-out/host/bin/external/build_bazel_rules_apple/tools/plisttool/plisttool ... (remaining 1 argument skipped)
Describe the expected behaviour
Standalone code/steps you may have used to try to get what you need
Other info / Complete Logs
No response
The text was updated successfully, but these errors were encountered: