Torrent client for tvOS implemented with libtorrent
.
- Xcode 7.1
- Carthage:
brew install carthage
- Cocoapods:
gem install cocoapods
- Make sure you have static libraries compiled. They can be compiled with
sh build.sh -p=tvosall
- Compile the dynamic framework
PopcornTorrent
withcarthage build --no-skip-current --platform tvos
- Archive the framework using
carthage archive PopcornTorrent
- Create a new release on GitHub uploading the Framework.
- Update the
PopcornTorrent.podspec
updating the version and linking it to the new framework version. - Push the new version to the private specs repository with:
pod repo push PopcornTimeTV PopcornTorrent.podspec --verbose --allow-warnings
PopcornTorrent is distributed using CocoaPods and it has internal static libraries as dependencies in Libtorrent
(static library). These static libraries can be build using the build.sh
script in the root directory:
sh build.sh -b=NO # Without bitcode support run build script with -b/--bitcode=NO|YES flag
sh build.sh -p=device # Only for specefied platform run build script with -p/--platform=all|device|simulator
sh build.sh -c # For cleaning buid directory run script
sh build.sh -p=tvosdevice # Build for tvOS
sh build.sh -p=tvosdevice # Build for tvOS (Device)
sh build.sh -p=tvossimulator # Build for tvOS (Simulator)
sh build.sh -p=tvosall # Build for tvOS (Simulator/Device)