This is a CocoaPod, trying to encapsulate all necessary dependencies to compile ShadowShocks-libev for iOS.
Status
This is not finished worked. It is published here, nevertheless for others to find and for me to not forget.
Roadblocks
The last issue encountered, is similar to what is described here: https://github.com/CocoaPods/CocoaPods/issues/5675
The generated Pods project will contain multiple entries for "config.h", which should be different files in different directories. Instead all entries point to the same file, which inhibits proper compilation.
Also, for an unknown reason, the libsodium dependency won't compile, even though it does for me, when referenced in other projects.
[![CI Status](http://img.shields.io/travis/Benjamin Erhart/ShadowSocks-libev-iOS.svg?style=flat)](https://travis-ci.org/Benjamin Erhart/ShadowSocks-libev-iOS)
Example
To run the example project, clone the repo, and run
pod install
from the Example directory first.Requirements
Installation
ShadowSocks-libev-iOS is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'ShadowSocks-libev-iOS'
Author
Benjamin Erhart, be@benjaminerhart.com
frm https://github.com/tladesignz/ShadowSocks-libev-iOS
---
---
ShadowSocks-libev-iOS
感谢开源社区的大神,脚本都是从github上找的
Installation
##1. remote mode
Podfile pod 'ShadowSocks-libev-iOS', git: 'git@github.com:juvham/ShadowSocks-libev-iOS.git'
pod install --verbose
##2. local mode
down load this
cp ShadowSocks-libev-iOS/ prepare.sh ShadowSocks-libev-iOS-DEMO.podspec.bak your-poject-root/
cd your-poject-root/ mv ShadowSocks-libev-iOS-DEMO.podspec.bak mv ShadowSocks-libev-iOS.podspec
Podfile pod 'ShadowSocks-libev-iOS', :path => './'
pod install --verbose
参见demo
推荐使用 local mode 虽然稍微麻烦点但是 由于脚本下载经常会失败 remote mode 不稳定.