From dee18fb5c2c11e658b15250b4d9cadc9ae30cae4 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sat, 16 Oct 2021 14:18:04 -0500 Subject: [PATCH] Add building instructions --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 1cfc3c2..d290a93 100644 --- a/README.md +++ b/README.md @@ -10,3 +10,16 @@ Moonlight also has a [PC client](https://github.com/moonlight-stream/moonlight-q Check out [the Moonlight wiki](https://github.com/moonlight-stream/moonlight-docs/wiki) for more detailed project information, setup guide, or troubleshooting steps. [![Moonlight for iOS and tvOS](https://moonlight-stream.org/images/App_Store_Badge_135x40.svg)](https://apps.apple.com/us/app/moonlight-game-streaming/id1000551566) + +## Building +* Install Xcode 13 from the [App Store page](https://apps.apple.com/us/app/xcode/id497799835) +* Run `git clone --recursive https://github.com/moonlight-stream/moonlight-ios.git` + * If you've already clone the repo without `--recursive`, run `git submodule update --init --recursive` +* Open Moonlight.xcodeproj in Xcode +* To run on a real device, you will need to locally modify the signing options: + * Click on "Moonlight" at the top of the left sidebar + * Click on the "Signing & Capabilities" tab + * Under "Targets", select "Moonlight" (for iOS/iPadOS) or "Moonlight TV" (for tvOS) + * 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. You can add your name or some random letters to make it unique. + * Now you can select your Apple device in the top bar as a target and click the Play button to run.