Giter Site home page Giter Site logo

Comments (12)

DokRaphael avatar DokRaphael commented on April 27, 2024 1

I've also created a provisioning profile with my identifier name and put it in the handtrackinggpu folder

from mediapipe.

jiuqiant avatar jiuqiant commented on April 27, 2024 1

yearofthewhopper@, may I know your current issue? Is it still a cert-fail with DokRaphael @'s solution?
It would be helpful if you can provide the detailed error info. Thanks.

from mediapipe.

jiuqiant avatar jiuqiant commented on April 27, 2024 1

Once Bazel builds the IPA, you use Xcode to upload it to the device. In our instruction, there are two steps you need to do with Xcode after the IPA is successfully built by Bazel:
Step 3 In Xcode, open the Devices and Simulators window (command-shift-2).
Step 4 Make sure your device is connected. You will see a list of installed apps. Press the “+” button under the list, and select the .ipa file built by Bazel.
I don't think step 3 will crash anything. Do you see the crash in step 4?

from mediapipe.

mgyong avatar mgyong commented on April 27, 2024

@camillol @jiuqiant
Camillol - Can you kindly take a look at this?

from mediapipe.

DokRaphael avatar DokRaphael commented on April 27, 2024

It worked for me by changing "com.google.mediapipe.handtrackinggpu" with my identifier in BUILD file in /mediapipe/examples/ios/handtrackinggpu/BUILD

from mediapipe.

yearofthewhopper avatar yearofthewhopper commented on April 27, 2024

It worked for me by changing "com.google.mediapipe.handtrackinggpu" with my identifier in BUILD file in /mediapipe/examples/ios/handtrackinggpu/BUILD

this was the first thing i tried and it didn't work for me for python 3 / xcode 10.3

from mediapipe.

yearofthewhopper avatar yearofthewhopper commented on April 27, 2024

Yep I did this also and it didn’t work. :) but thank you for the suggestion!

from mediapipe.

yearofthewhopper avatar yearofthewhopper commented on April 27, 2024

yearofthewhopper@, may I know your current issue? Is it still a cert-fail with DokRaphael @'s solution?
It would be helpful if you can provide the detailed error info. Thanks.

Any combination of changing the preferences and trying to build the HandTracking example file fails. Using force python3 also fails.

if I build from bazel bazel build -c opt --config=android_arm64 mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu
and then try to open and run the file it crashes xcode 10.3 even with the "checkout" fix provided on the website.

The behavior that happens is that the file will not open and if it does open then xcode crashes.

There's no way to successfully build this example or any of the others.

Is that enough detail?

from mediapipe.

jiuqiant avatar jiuqiant commented on April 27, 2024

yearofthewhopper@, thanks for providing the information.
If I understand your comment correctly, you are able to build HandDetectionGpuApp.ipa by running bazel build -c opt --config=ios_arm64 mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu. If that's the case, the mobileprovision file issue is no longer a problem.

Then, your problem is that xcode crashes when you run the .ipa in the simulator? I guess that's expected because the .ipa is for arm64, not for x86_64. Have you tried installing the app to a real device?

from mediapipe.

yearofthewhopper avatar yearofthewhopper commented on April 27, 2024

I don't understand the expected workflow once you get the IPA. How can you get the app onto your phone if XCode crashes? seems kinda like a chicken and the egg situation here. So, yes I am trying to send it to my device but without it loading in Xcode I don't understand how that's possible. I am not trying to run it on simulator that would be pointless I don't know why you'd assume I was trying to do this?

from mediapipe.

yearofthewhopper avatar yearofthewhopper commented on April 27, 2024

yes this is the point. The IPA causes a crash of Xcode on load. I have read the instructions multiple times, though I appreciate you walking through the steps!

from mediapipe.

mgyong avatar mgyong commented on April 27, 2024

@yearofthewhopper We are unable to replicate the crash on Xcode when loading IPA. It has worked for us on Xcode 10.2.1. Closed this issue for now until more info is provided

from mediapipe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.