Skip to content
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

Failed building IOS demo #3283

Closed
CheungBH opened this issue Apr 24, 2022 · 5 comments
Closed

Failed building IOS demo #3283

CheungBH opened this issue Apr 24, 2022 · 5 comments
Assignees
Labels
platform:ios MediaPipe IOS issues type:build/install For Build and Installation issues

Comments

@CheungBH
Copy link

CheungBH commented Apr 24, 2022

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.

@CheungBH CheungBH added the type:build/install For Build and Installation issues label Apr 24, 2022
@sureshdagooglecom sureshdagooglecom added the platform:ios MediaPipe IOS issues label Apr 25, 2022
@sureshdagooglecom
Copy link

Hi @CheungBH ,
Did you get a chance to check this closed issue #2084

@sureshdagooglecom sureshdagooglecom added the stat:awaiting response Waiting for user response label Apr 25, 2022
@google-ml-butler
Copy link

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.

@google-ml-butler
Copy link

Closing as stale. Please reopen if you'd like to work on this further.

@google-ml-butler
Copy link

Are you satisfied with the resolution of your issue?
Yes
No

@sureshdagooglecom sureshdagooglecom removed stat:awaiting response Waiting for user response stale labels May 9, 2022
@CheungBH
Copy link
Author

@sureshdagooglecom Sorry that I am busy doing another projects. Actually there are not any solutions for this problem in that closed issue, since the author solved it himself and he didn't provide his solutions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:ios MediaPipe IOS issues type:build/install For Build and Installation issues
Projects
None yet
Development

No branches or pull requests

2 participants