-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Build the Project
Note: The instructions below are outdated. Please refer to the readme instead.
-
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.
-
To clone the project, you need:
-
Have git installed:
brew install git -
Or Github Desktop if you are not familiar with command line.
-
-
Make sure you have CocoaPods installed:
sudo gem install cocoapods
-
(Optional) Fork the project by clicking "Fork" button in IINA's GitHub index page.
-
To get the source code,
-
Clone the project (recommended): Click "Clone or Download" button, copy the link, and run
git clonelike:git clone https://github.com/iina/iina.gitIf 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
developbranch before downloading if you want to get the latest source.
-
-
Switch to the root folder of IINA:
cd /path/to/project -
Install all dependencies:
pod install -
Open the
.xcworkspacefile, not.xcodeproj. -
Click "run" button in Xcode and build.