Comments (3)
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.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from workshops.