Skip to content

RikuKunMS2/moonlight-ios-vision

 
 

Repository files navigation

TEST FLIGHT

The testflight has finally been approved now: https://testflight.apple.com/join/poWcaME5

MOUSE SUPPORT

  • You MUST go into GENERAL -> KEYBOARD and TRACKPAD -> Enable Two Finger Secondary Click or for Magic Mouse enable Secondary Click (Set to Right)

Build issue? Need help or support?

*please contact me on reddit discord or ko-fi */u/rikudesu

Moonlight iOS/tvOS

AppVeyor Build Status

Moonlight for iOS/tvOS is an open source client for Sunshine and NVIDIA GameStream. Moonlight for iOS/tvOS allows you to stream your full collection of games and apps from your powerful desktop computer to your iOS device or Apple TV.

Moonlight also has a PC client and Android client.

Check out the Moonlight wiki for more detailed project information, setup guide, or troubleshooting steps.

Moonlight for iOS and tvOS

Requirements

  • XCode developer account (to get the XCode Beta)
  • Tested on Vision OS 2.0 Beta 2
  • XCode Beta

Building

  • Install Xcode beta from the App Store page

  • You need to be signed into a developer account to download (and build) you don’t have to pay, just do all the steps right up to paying and then don’t pay

  • dont forget this next step ive gotten a bunch of mails about this

  • You should delete your old xcode and rename xcode-beta to xcode

*no seriously you actually need to rename it because otherwise it will not know where to find frameworks and you will get buld errors please rename your xcode-beta app to xcode

  • Run git clone -b visionos --recursive https://github.com/RikuKunMS2/moonlight-ios-vision.git
    • If you've already cloned the repo without --recursive, run git submodule update --init --recursive
  • Open Moonlight.xcodeproj in Xcode (it would download by default to your user folder on MacOS)
  • To run on a real device, you will need to locally modify the signing options and add your device:
    • Go to the top menu bar, then in 'Window' open Devices and Simulators
    • Add your Vision Pro
    • In the project select to the folder icon in the sidebar to browser files
    • Click on "Moonlight" at the top of the left sidebar
    • Under "Targets", select "Moonlight Vision"
    • Click on the "Signing & Capabilities" tab
    • In the "Team" dropdown, select your name. If your name doesn't appear, you may need to sign into Xcode with your Apple account.
    • Change the "Bundle Identifier" to something different (unique). You can add your name or some random letters to make it unique.
    • Select your Vision Pro (not the simulator or 'any device' but the one your registered earlier) in the top bar as a target and click the Play button to run. It will start the build and install it to your headset
    • If you didn't pay for a developer account you will have to re-install it using x-code every 7 days.

MOUSE SUPPORT

  • You MUST go into GENERAL -> KEYBOARD and TRACKPAD -> Enable Two Finger Secondary Click or for Magic Mouse enable Secondary Click (Set to Right)

Updates

  • my kofi has the latest udpates on whats going on with the testflight please keep in mind that this is a volunteer project, there is a new branch for anyone who wants to contribute to the testflight as im having a lot of trouble getting it approved by apple at the moment
  • SDL 2 for vision is also up in my repos if you need it
  • COMPLETELY fixed right clicking, it works like normal now no more hold to right click
  • Game controllers now fixed but the app only works on vision OS 2.0 beta and up
  • Docking mode during stream view is not possible due to support only being for AVPlayerViewController and I quote "Today, AVPlayerViewController scenes are the only scenes adhere to docking." source: https://developer.apple.com/documentation/RealityKit/DockingRegionComponent

FAQ

  • how do I enable mouse support? SET THE SCREEN MODE TO TOUCHSCREEN in the moonlight settings in the app. confusing I know, but until apple fixes actual mouse supports its going to have to be set to touch screen mode.
  • How do I right click?: You press and hold on the trackpad for more than half a second and it will right click, both magic trackpad and eye clicking will do the same thing
  • Why does my cursor snap to where I'm looking: I have no idea, this is an OS level thing that I don't think we have control over, oh boy I sure wish I could adjust the snapping delay though ha!

New Planned Features

  • Microphone forwarding via VBAN to Voicemeter on windows

Donations

Thanks again for your support :)

About

GameStream client for iOS/tvOS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 89.0%
  • Objective-C 9.7%
  • Other 1.3%