-
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
Mediapipe on Xcode and ios #995
Comments
Hi, This is the article I made. If you would like to, please take a look. |
Thank you so much for the reply! I got started and got to step 3 of build in the terminal, where I got this error when I built: INFO: Options provided by the client: Do you know how to fix that? I also am a bit confused by Step 1 of build in terminal. I had to translate the article which I think might have left some things out. For example, was I supposed to move the Mediapipe files to a new folder? |
imm too testing… for me works fine |
Sorry, this error is a new one for me. Let me check it out. |
@killer-boc @ponte1010 Thank you for your responses, I look forward to hearing your responses! Another error I get is regarding the provisioning profile, I am using a free Apple developer program, so for my provisioning profile it says that it is "managed by xcode". Do you know if I can still fix this error: ERROR: missing input file 'mediapipe/provisioning_profile.mobileprovision', owner: '//mediapipe:provisioning_profile.mobileprovision' with a free profile? If so, how do I add that file? Thanks again! |
Update: I was able to figure out how to create my own provisioning profile with a free developer account. I went to Xcode --> preferences --> Download manual profiles Then I found the specific provisioning profile file and renamed it to the provisioning_profile file name and moved it to mediapipe/mediapipe. I'm no longer getting that error, but now I'm having this issue: ERROR: In target "//mediapipe/examples/ios/EdgeDetectionGpu:EdgeDetectionGpuApp_entitlements"; the bundle_id ("com.google.mediapipe.EdgeDetectionGpu") did not match the id in the entitlements ("com.Sarvnaz.EdgeDetectionGpu").Note: The failure of target @build_bazel_rules_apple//tools/plisttool:plisttool (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. I'm really confused because I have changed my bundle_id in the code, so it shouldn't be giving me this error. Any suggestions? (Also it says EdgeDetectionGpu and not HandTrackingGpu because I am trying it with edge detection at the moment, I wasn't able to solve the error the error about config in .rc file above) |
Did you change the Bundle id as stated here: https://google.github.io/mediapipe/getting_started/building_examples.html#custom-provisioning ? |
@eknight7 I changed the Bundle id in the BUILD file, but I'm not sure which file "mediapipe/examples/ios/bundle_id.bzl" is referring to as I don't have this. This instruction wasn't in the other example or the article, so I wasn't aware I should be putting in my Bundle id twice. |
Update: I deleted mediapipe and tulsi on my laptop and tried everything again and it worked, not sure what the issue was initially (perhaps the Bundle id?) but it's now fixed, thank you for the help everyone! |
Hi everyone,
I was wondering if anyone has any advice on how to get started with putting Mediapipe on Xcode? I've read through issue 394 and other issues posted on the Issues page, but I don't really understand them. I specifically want to use the hand tracking features on an ios application. I also read through this article: https://medium.com/@powderapp/mediapipe-tutorial-find-memes-that-match-your-facial-expression-9bf598da98c0
Does anyone have any advice on how to get started or has come across a step-by-step comprehensive guide?
Thanks!
The text was updated successfully, but these errors were encountered: