-
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
handtrackinggpu build failure with provisioning profile #1596
Comments
I've re-installed MACOS and re-built, then build successful, but this way is not optimal. |
the issue re-coming, I do not want re-installed MACOS, could someone give good advice? |
hi @sgowroji, the issue still exists, but when i got the issue, i 'll re-installed MACOS, but the way is not good solution, now i can close the issue. |
I got the same issue after upgrading Xcode 14.0. To fix the issue, I update http_archive(
name = "build_bazel_rules_apple",
sha256 = "90e3b5e8ff942be134e64a83499974203ea64797fd620eddeb71b3a8e1bff681",
url = "https://github.com/bazelbuild/rules_apple/releases/download/1.1.2/rules_apple.1.1.2.tar.gz",
patches = [
# Bypass checking ios unit test runner when building MP ios applications.
"@//third_party:build_bazel_rules_apple_bypass_test_runner_check.diff"
],
patch_args = [
"-p1",
],
) |
@dangkhoasdc I checked it on macOS13 and Xcode14.1, it works. Thx. |
handtrackinggpu build failure with provisioning profile,
before few days I build it success and run it ok, but when I upgrade mediapipe version 0.7 to 0.8, then rebuild handtrackinggpu failed,
build error log as below:
mediapipe/mediapipe/examples/ios/handtrackinggpu/BUILD:34:16: Processing and signing HandTrackingGpuApp failed (Exit 1): process-and-sign.sh failed: error executing command bazel-out/ios_arm64-opt/bin/mediapipe/examples/ios/handtrackinggpu/HandTrackingGpuApp-intermediates/process-and-sign.sh
ERROR: Unable to find an identity on the system matching the ones in mediapipe/examples/ios/handtrackinggpu/provisioning_profile.mobileprovision
Note: The failure of target @build_bazel_rules_apple//tools/codesigningtool:codesigningtool (with exit code 1) may have been caused by the fact that it is running under Python 3 instead of Python 2. Examine the error to determine if that appears to be the problem. Since this target is built in the host configuration, the only way to change its version is to set --host_force_python=PY2, which affects the entire build.
If this error started occurring in Bazel 0.27 and later, it may be because the Python toolchain now enforces that targets analyzed as PY2 and PY3 run under a Python 2 and Python 3 interpreter, respectively. See bazelbuild/bazel#7899 for more information.
Target //mediapipe/examples/ios/handtrackinggpu:HandTrackingGpuApp failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 1.326s, Critical Path: 0.98s
INFO: 9 processes: 4 internal, 3 darwin-sandbox, 2 local.
FAILED: Build did NOT complete successfully
so I did not know why do it, could someone help me, thanks a lot.
The text was updated successfully, but these errors were encountered: