Iphone Gyroscope input to control a game object

Hello!

I’ve been searching all over for a tutorial on how to use my iPhone’s gyroscope to rotate a plane in my game. I’ve tried Unity Remote 4, but I can’t seem to get it to work after trying all of the FAQ located here http://docs.unity3d.com/Manual/UnityRemote4.html

If you’re still unsure as to what I am trying to achieve, I want to allow players to use their phone to rotate an object in my game. Similar to this video

Thank you for your time!

Unity Remote’s purpose is to test out the game on an iPhone without building+running the Xcode project. It cannot be used as a controller for a desktop game as it will only work in the editor.