From f9cf6476a4a48675cb313cebef5307ae87c5db5a Mon Sep 17 00:00:00 2001 From: erha19 Date: Thu, 5 Jul 2018 12:11:13 +0800 Subject: [PATCH] [prepare] update podfile --- WXDevtool.podspec | 2 ++ sdk/Podfile | 13 ++++++++++--- sdk/WXDevTool/Source/PonyDebugger/WXDebugger.m | 2 +- sdk/package-lock.json | 3 +++ 4 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 sdk/package-lock.json diff --git a/WXDevtool.podspec b/WXDevtool.podspec index 5b8a5d8..03b70b9 100644 --- a/WXDevtool.podspec +++ b/WXDevtool.podspec @@ -36,5 +36,7 @@ Pod::Spec.new do |s| s.requires_arc = true s.frameworks = "Foundation","CoreData","ImageIO","CoreData","CFNetwork","UIKit","CoreGraphics","Security" s.libraries = "z" + s.dependency "WeexSDK" + s.dependency "SocketRocket" end diff --git a/sdk/Podfile b/sdk/Podfile index ac7f72c..313bbac 100644 --- a/sdk/Podfile +++ b/sdk/Podfile @@ -1,11 +1,18 @@ # Uncomment this line to define a global platform for your project -source 'git@github.com/CocoaPods/Specs.git' +source 'https://github.com/CocoaPods/Specs.git' platform :ios, '8.0' inhibit_all_warnings! +use_frameworks! + +def pods + + pod 'WeexSDK','0.18.0' + pod 'SocketRocket', '0.4.2' + +end target 'WXDevTool' do - pod 'WeexSDK' - pod 'SocketRocket' + pods end diff --git a/sdk/WXDevTool/Source/PonyDebugger/WXDebugger.m b/sdk/WXDevTool/Source/PonyDebugger/WXDebugger.m index b6b83cd..c64d0d2 100644 --- a/sdk/WXDevTool/Source/PonyDebugger/WXDebugger.m +++ b/sdk/WXDevTool/Source/PonyDebugger/WXDebugger.m @@ -10,6 +10,7 @@ // #import +#import #import "WXDebugger.h" #import "WXDynamicDebuggerDomain.h" #import "WXNetworkDomain.h" @@ -30,7 +31,6 @@ #import "WXDebugDomainController.h" #import "WXDevToolType.h" -#import #import #import "WXDebuggerUtility.h" diff --git a/sdk/package-lock.json b/sdk/package-lock.json new file mode 100644 index 0000000..48e341a --- /dev/null +++ b/sdk/package-lock.json @@ -0,0 +1,3 @@ +{ + "lockfileVersion": 1 +}