- OS X 10.10
- Git
- Xcode 6
brew install git-lfs
git lfs install
git clone https://github.com/typcn/bilibili-mac-client.git
cd bilibili-mac-client/
git submodule update --init
Open VideoPolymer.xcworkspace
with Xcode.
Note: Do not just open bilibili.xcodeproj
. It is incomplete.
If you don't have code signing, please set signing to “None”.
Project Navigator -> Bilibili: Change “com.typcn” to others.
Select “bilibili” as the active scheme at the upper left corner of the Xcode window. Then click “build”. The app will start automatically.
In Debug build, HTML5 playurl API is used. You can only play low quality videos.
If you need play high quality video, just build with Release mode. Dynamic video parser will be loaded into memory.