Skip to content
Haruka Ma edited this page May 19, 2022 · 5 revisions

Note: The instructions below are outdated. Please refer to the readme instead.

Prerequisites

  1. Make sure you have Xcode installed. If not, simply search and download from AppStore. IINA will always update to the latest Swift version as soon as possible, so you must build it with the latest Xcode. Please note that this usually requires the latest macOS version, too.

  2. To clone the project, you need:

    • Have git installed:

      brew install git
      
    • Or Github Desktop if you are not familiar with command line.

  3. Make sure you have CocoaPods installed:

    sudo gem install cocoapods
    

Clone the Project

  1. (Optional) Fork the project by clicking "Fork" button in IINA's GitHub index page.

  2. To get the source code,

    • Clone the project (recommended): Click "Clone or Download" button, copy the link, and run git clone like:

      git clone https://github.com/iina/iina.git
      

      If you forked the project, please clone your forked project page. If you use GitHub Desktop, please refer to their documentation.

    • Download the project: Please switch to develop branch before downloading if you want to get the latest source.

Build the Project

  1. Switch to the root folder of IINA:

    cd /path/to/project
    
  2. Install all dependencies:

    pod install
    
  3. Open the .xcworkspace file, not .xcodeproj.

  4. Click "run" button in Xcode and build.

Clone this wiki locally