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 #3342

Closed
CheungBH opened this issue May 12, 2022 · 15 comments
Closed

Failed building IOS demo #3342

CheungBH opened this issue May 12, 2022 · 15 comments
Assignees
Labels
platform:ios MediaPipe IOS issues task::all All tasks of MediaPipe type:bug Bug in the Source Code of MediaPipe Solution

Comments

@CheungBH
Copy link

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:bug Bug in the Source Code of MediaPipe Solution label May 12, 2022
@CheungBH
Copy link
Author

Actually I have issued this problem before. But I forgot to reply it and it closed... I also read the issue #2084, but it doesn't have answers to this problem..

@sureshdagooglecom sureshdagooglecom added platform:ios MediaPipe IOS issues task::all All tasks of MediaPipe labels May 13, 2022
@sureshdagooglecom
Copy link

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

@sureshdagooglecom sureshdagooglecom added the stat:awaiting response Waiting for user response label May 13, 2022
@CheungBH
Copy link
Author

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.

@sureshdagooglecom sureshdagooglecom removed the stat:awaiting response Waiting for user response label May 19, 2022
@sureshdagooglecom
Copy link

Hi @CheungBH ,
Please follow this steps to setup Ios demo on MediaPipe.

@sureshdagooglecom sureshdagooglecom added the stat:awaiting response Waiting for user response label May 19, 2022
@CheungBH
Copy link
Author

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.
Screenshot 2022-05-20 at 16 03 28
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.

@CheungBH
Copy link
Author

@sureshdagooglecom Do you have any ideas about it?

@CheungBH
Copy link
Author

OK. I think nobody will respond

@google-ml-butler
Copy link

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

@sureshdagooglecom sureshdagooglecom added stat:awaiting googler Waiting for Google Engineer's Response and removed stat:awaiting response Waiting for user response labels May 31, 2022
@CheungBH
Copy link
Author

Any progresses?

@CheungBH
Copy link
Author

Hello. Any progress about it? This problem has been raised for more than a month

@andy380743909
Copy link

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?

@kuaashish kuaashish assigned kuaashish and unassigned NikolayChirkov Jan 6, 2023
@kuaashish kuaashish removed the stat:awaiting googler Waiting for Google Engineer's Response label Jan 6, 2023
@kuaashish
Copy link
Collaborator

@CheungBH,
Are you still looking resolution on this issue or the issue has been resolved?

@kuaashish kuaashish added the stat:awaiting response Waiting for user response label Jan 6, 2023
@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:ios MediaPipe IOS issues task::all All tasks of MediaPipe type:bug Bug in the Source Code of MediaPipe Solution
Projects
None yet
Development

No branches or pull requests

5 participants