![]() ![]() As the log output states, “Please close any current Xcode sessions and use `Vacation 360.xcworkspace` for this project from now on.”Īs with any app in which you install CocoaPods, you’ll be working from the. That’s it! You’ve installed Google’s VR SDK. Then in Terminal, in the same directory to which you navigated earlier, enter: the Google VR SDK, as a dependency for your project. This tells CocoaPods that you want to include the GVRSDK, i.e. Then open the Vacation_360 folder, open the Podfile with a text editor and replace all of its current text with the following: To install the Google VR SDK in the project, navigate to the Vacation_360 starter project folder by using the cd command: ![]() Open Terminal, then execute the following command:Įnter your computer’s password when requested. Or rather, if you’ve never used CocoaPods before, the first step is to install CocoaPods and the second is to install Google Cardboard VR using CocoaPods.Īs described in Joshua Green’s great tutorial on How to Use CocoaPods with Swift, install CocoaPods and the Google VR SDK using the following steps. If you’re new to iOS development and Swift, check out our “Learn to Code iOS Apps with Swift Tutorial” series first.īefore you start coding your Google Cardboard VR app, the first step is to install the Google Cardboard VR SDK with CocoaPods. Note: This Google Cardboard VR tutorial assumes you know the basics of iOS and Swift development. In this intro to Google Cardboard VR tutorial, fellow jetsetters, you’ll embark on a worldwide 360° vacation by clicking through multiple 360° vacation images and pausing/playing your way through a 360° vacation video. In fact, with just a low-cost Google Cardboard VR headset, a smartphone and your iOS skills, you can go farther than you ever thought possible. Of all the exciting new VR technology being introduced, however, Google Cardboard VR has made virtual reality most accessible to the hobbyist. Many of the biggest tech firms in the world are investing heavily in virtual reality technologies: Facebook spent $2 billion to acquire Oculus Rift Disney invested $65 million into a VR film company called Jaunt Microsoft introduced its HoloLens this year and is selling the device to developers for $3000 apiece.Īpple spent $32 million to acquire the engineers from Metaio and $345 million to acquire PrimeSense, two companies of VR innovators, and pre-orders for Sony’s Playstation VR sold out even quicker than they’d expected, proving there’s a strong consumer market for VR.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |