diff --git a/ikcp.c b/Classes/ikcp.c similarity index 100% rename from ikcp.c rename to Classes/ikcp.c diff --git a/ikcp.h b/Classes/ikcp.h similarity index 96% rename from ikcp.h rename to Classes/ikcp.h index 866d1889..c208eea1 100644 --- a/ikcp.h +++ b/Classes/ikcp.h @@ -319,6 +319,7 @@ typedef struct IKCPCB ikcpcb; #define IKCP_LOG_OUT_ACK 512 #define IKCP_LOG_OUT_PROBE 1024 #define IKCP_LOG_OUT_WINS 2048 +#define IKCP_LOG_ALL 4095 #ifdef __cplusplus extern "C" { diff --git a/kcp.podspec b/kcp.podspec new file mode 100644 index 00000000..ced6d443 --- /dev/null +++ b/kcp.podspec @@ -0,0 +1,14 @@ +Pod::Spec.new do |s| + s.name = 'KCP' + s.version = '1.0' + s.license = { :type => "MIT" } + s.summary = 'KCP' + s.homepage = 'https://github.com/rannger/kcp' + s.description = 'AZCategory' + s.author = { 'KCP' => 'liang.rannger' } + s.source = { :git => 'https://github.com/rannger/kcp.git', :tag => s.version.to_s } + + s.ios.deployment_target = '8.0' + s.osx.deployment_target = '10.0' + s.source_files = 'Classes/*.{h,c}' +end