mediapipe
mediapipe copied to clipboard
Failed building IOS demo
Please make sure that this is a build/installation issue and also refer to the troubleshooting documentation before raising any issues.
System information (Please provide as much relevant information as possible)
OS Platform and Distribution (e.g. Linux Ubuntu 16.04, Android 11, iOS 14.4): MacOS 11.0.1 Bazel version: 5.1.1 XCode and Tulsi versions (if iOS): Xcode 12.5.1.12E507, Tulsi Describe the problem:
I am trying to build the IOS demo of mediapipe using tulsi. But when I pressed the "generate" button, it failed.
Failed to retrieve information about the Bazel workspace. This usually means that the contents of a BUILD file are incorrect or flags are missing. Read the message log carefully for details. Project generation failed. Generate[FAIL]: 0.1275s Failed to create Xcode project.
A fatal error occurred. Please check the message window and file a bug if appropriate.
ERROR: /Users/cheungbh/Documents/mediapipe/mediapipe/examples/ios/helloworld/BUILD:34:16: in entitlements rule //mediapipe/examples/ios/helloworld:HelloWorldApp_entitlements: Traceback (most recent call last): File "/private/var/tmp/_bazel_cheungbh/9c36f3b1980dc004d7818f2036a5cae3/external/build_bazel_rules_apple/apple/internal/entitlement_rules.bzl", line 270, column 40, in _entitlements_impl bundling_support.validate_bundle_id(bundle_id) File "/private/var/tmp/_bazel_cheungbh/9c36f3b1980dc004d7818f2036a5cae3/external/build_bazel_rules_apple/apple/internal/bundling_support.bzl", line 100, column 25, in _validate_bundle_id fail("Invalid character(s) in bundle_id: "%s"" % bundle_id) Error in fail: Invalid character(s) in bundle_id: "SEE_IOS_INSTRUCTIONS.mediapipe.examples.HelloWorld" ERROR: /Users/cheungbh/Documents/mediapipe/mediapipe/examples/ios/helloworld/BUILD:34:16: Analysis of target '//mediapipe/examples/ios/helloworld:HelloWorldApp_entitlements' failed ERROR: Analysis of target '//mediapipe/examples/ios/helloworld:HelloWorldApp' failed; build aborted: General failure: Bazel aspects could not be built.
Actually I have issued this problem before. But I forgot to reply it and it closed... I also read the issue https://github.com/google/mediapipe/issues/2084, but it doesn't have answers to this problem..
Hi @CheungBH , Did you get a chance to check this closed issue https://github.com/google/mediapipe/issues/50.
Hello. Thanks for your kind reply. Actually, I don't think such an issue is not related to my problem... I met an error of Invalid character(s) in bundle_id, but I cannot see any related information.
Hi @CheungBH , Please follow this steps to setup Ios demo on MediaPipe.
Hi @CheungBH , Please follow this steps to setup Ios demo on MediaPipe.
Thank you for your reply.
Actually, I am exactly following it, but such an error occurs to me when I am building.
In this step, when I am pressing generate, this error occurs.
ERROR: /Users/cheungbh/Documents/mediapipe/mediapipe/examples/ios/helloworld/BUILD:34:16: in entitlements rule //mediapipe/examples/ios/helloworld:HelloWorldApp_entitlements: Traceback (most recent call last): File "/private/var/tmp/_bazel_cheungbh/9c36f3b1980dc004d7818f2036a5cae3/external/build_bazel_rules_apple/apple/internal/entitlement_rules.bzl", line 270, column 40, in _entitlements_impl bundling_support.validate_bundle_id(bundle_id) File "/private/var/tmp/_bazel_cheungbh/9c36f3b1980dc004d7818f2036a5cae3/external/build_bazel_rules_apple/apple/internal/bundling_support.bzl", line 100, column 25, in _validate_bundle_id fail("Invalid character(s) in bundle_id: "%s"" % bundle_id) Error in fail: Invalid character(s) in bundle_id: "SEE_IOS_INSTRUCTIONS.mediapipe.examples.HelloWorld" ERROR: /Users/cheungbh/Documents/mediapipe/mediapipe/examples/ios/helloworld/BUILD:34:16: Analysis of target '//mediapipe/examples/ios/helloworld:HelloWorldApp_entitlements' failed ERROR: Analysis of target '//mediapipe/examples/ios/helloworld:HelloWorldApp' failed; build aborted: General failure: Bazel aspects could not be built.
@sureshdagooglecom Do you have any ideas about it?
OK. I think nobody will respond
Any progresses?
Hello. Any progress about it? This problem has been raised for more than a month
Hello. Any progress about it? This problem has been raised for more than a month
did you change the bundle id in file bundle_id.bzl?
@CheungBH, Are you still looking resolution on this issue or the issue has been resolved?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you.
Closing as stale. Please reopen if you'd like to work on this further.