Git Product home page Git Product logo

Comments (3)

Ray005 avatar Ray005 commented on July 22, 2024

My fault. I found the trick to run properly when I'm watching your tutorial video on youtube. The .xcworkspace should be open rather than the .xcodeproj as usual when cocopods is imported to a project.

When running in a real ios device rather than in a simulator, the exact problem of the project is the LibTorch version(1.6.0 installed by cocopods) the project using is only complied for simulator.

To simplyfy the problem, I simple switch the version of LibTorch from 1.6.0 to 1.9.0. And it woks immediately in my iPhone 12 running ios 15.6.1.

Hallelujah

from workshops.

Ray005 avatar Ray005 commented on July 22, 2024

As you see, the exact problem is the version of LibTorch, if you want to run the project in a real ios decive. So I'm closing the issue.

from workshops.

Ray005 avatar Ray005 commented on July 22, 2024

This is my Podfile.lock: (And I recommand you to change the version in Podfile and Podfile.lock before you run pod install)

PODS:

  • LibTorch (1.9.0):
    • LibTorch/Core (= 1.9.0)
  • LibTorch/Core (1.9.0):
    • LibTorch/Torch
  • LibTorch/Torch (1.9.0)

DEPENDENCIES:

  • LibTorch (~> 1.9.0)

SPEC REPOS:
trunk:
- LibTorch

SPEC CHECKSUMS:
LibTorch: d89f452b8b932002bd98884b3921850a95c35e14

PODFILE CHECKSUM: 7e16013538a7cf355266fa3b4fff6e16b8b93fea

COCOAPODS: 1.11.3

from workshops.

Related Issues (5)

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.