Comments (10)
Hi @leocavalcante , ahhh, I reproduced the issue. The issue is we don't support the software simulator. Where it says iphone 7 plus above, you'll need to change the target to an actual physical device. Plug an iphone into your mac via a lightening connector, then you'll need to select the iphone in the top left next to the play button. When you select the iphone target the top left of your screen shoud like the following:
Now try running and everything should work!
from viro.
Hi @leocavalcante. Did you run setup-ide.sh ios first? That runs cocoapods and installs the necessary dependencies.
If you did run the setup-ide script for iOS, then make sure you are opening the .xcworkspace file and not the .xcodeproj. The .xcworkspace file has the proper dependencies to compile while the .xcodeproj does not.
Below shows what your .xcworkspace file should look like when in Xcode( ViroSampleVideoTest would be named your project name):
Let us know if the above doesn't work :)
from viro.
Yes, I did ;/
Steps were:
react-viro init HelloViro
cd HelloViro
./setup-ide.sh ios
open ios/HelloViro.xcworkspace
Could see HelloViro
and Pods
folders.
But when running got:
'React/RCTBundleURLProvider.h' file not found
Figured out that it isn't on node_modules
, so a deleted it and ran yarn
.
Now getting the error below.
I ran ./setup-ide.sh ios
again:
==== Running iOS Setup Script ===
running with verbose logging
pwd
Analyzing dependencies
Fetching podspec for `ViroReact` from `../node_modules/react-viro/ios/`
Downloading dependencies
Using ViroReact (1.0)
Generating Pods project
Integrating client project
Sending stats
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.
Add: ":NSAppTransportSecurity:NSAllowsArbitraryLoads" Entry Already Exists
Add: ":NSCameraUsageDescription" Entry Already Exists
Reopened Xcode using the workspace file, ran Clean then Run again, same two errors.
from viro.
Hi, @leocavalcante. Try the following, goto Product->Scheme->Edit Scheme. Make sure parallelize build is checked off, and that React is above the HelloViro target.
So it it should look like the following:
If the scheme looks like the above with ViroSampleVideoTest replaced with HelloViro, then try building. Let's see if that works. If it doesn't let me know!
from viro.
Yeah, it looks like your SS:
Ps.: created a HoViro
to retry the steps.
But Im clicking on the Play button (Run I guess, Xcode newbie here) not on Build.
from viro.
Hmm, okay. I'll continue my journey tomorrow using a colegue's iPhone.
Thank you very much again for you patience and attention!!
from viro.
No prob, let us know tomorrow if you still have issues :)
from viro.
Hey @VikAdvani, me again! xD
Now trying on an iPhone device it removed only one of the errors, the first one.
The other: clang: error: linker command failed with exit code 1 (use -v to see invocation)
still there. I Googled it and saw that it could be any kind of problem! But if have any ideias do help me out...
from viro.
Aha! Did it by setting Enable bitcode
to No
.
Cheers!
from viro.
Hi @leocavalcante, glad it works!
from viro.
Related Issues (20)
- I want to use this in React-Native Web. is that possible ?
- Can I use viro use build app clip for iOS ? HOT 2
- extrusionDepth in ViroText renders wrong when it located inside of ViroFlexView
- Problem with Viro and RN 0.72 HOT 4
- How can I take Photo or record a video with reference to 3d model. HOT 3
- 3D model is half black HOT 1
- App crashes when navigating to ViroARSceneNavigator from StackNavigator. HOT 1
- React-native version HOT 8
- My texture of Viro3DObject doesn't work properly.
- Rigged 3D models disappearing in AR depending on camera angle (Skeletal animation)
- Move object along detected ground plane via camera center (without dragging/touch events)
- Background AR wide angle camera ?
- Get measure of items via ARKit
- Viro3DObject always moves with the phone, not fixed to one position HOT 1
- i can't access to viro document.
- How to render body tracking with ARkit and ARCore
- ViroVideo playing videos very slow after some seconds
- App crashes on using ViroVideo! HOT 4
- Invariant Violation: requireNativeComponent: "VRT3DObject" was not found in the UIManager in React Native 0.72.4 HOT 1
- ViroVideo sound doesn't work
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 viro.