update Podfile
diff --git a/ios/Podfile b/ios/Podfile
index d5003ae..924fb35 100644
--- a/ios/Podfile
+++ b/ios/Podfile
@@ -2,15 +2,17 @@
 platform :ios, '9.0'
 #inhibit_all_warnings!
 
+
 def common
-    pod 'WeexSDK', :git => 'https://github.com/apache/incubator-weex.git'
+    pod 'WeexSDK', :path => '../../' if File.file?('../../.gitmodules')
+    pod 'WeexSDK', :git => 'https://github.com/apache/incubator-weex.git' if !File.file?('../../.gitmodules')
+    
     pod 'WXDevtool','0.20.0'
     pod 'SDWebImage', '3.7.5'
     pod 'SDWebImage/WebP'
     pod 'SocketRocket', '0.4.2'
     pod 'ATSDK-Weex', '0.0.1',:configurations => ['Debug']
     pod 'BindingX', '1.0.3'
-    
     # WeexGcanvas is added by Weex Plugin, more info at https://market.dotwe.org/ext/list.htm
     #pod 'WeexGcanvas'
 end