Repository: incubator-weex
Updated Branches:
  refs/heads/0.16-dev 839c40a22 -> 78e92039b


* [ios] update wxtestdemo


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-weex/commit/027f8a14
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex/tree/027f8a14
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex/diff/027f8a14

Branch: refs/heads/0.16-dev
Commit: 027f8a14635bff03e1ec534338157ff7dc385f1c
Parents: 1ebd484
Author: gurisxie <279483...@qq.com>
Authored: Tue Aug 8 17:31:08 2017 +0800
Committer: gurisxie <279483...@qq.com>
Committed: Tue Aug 8 17:31:08 2017 +0800

----------------------------------------------------------------------
 ios/playground/WeexDemo.xcodeproj/project.pbxproj | 18 ++++++++++++------
 ios/playground/WeexDemo/WXDemoViewController.m    |  2 --
 2 files changed, 12 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/027f8a14/ios/playground/WeexDemo.xcodeproj/project.pbxproj
----------------------------------------------------------------------
diff --git a/ios/playground/WeexDemo.xcodeproj/project.pbxproj 
b/ios/playground/WeexDemo.xcodeproj/project.pbxproj
index 2edc462..6791723 100644
--- a/ios/playground/WeexDemo.xcodeproj/project.pbxproj
+++ b/ios/playground/WeexDemo.xcodeproj/project.pbxproj
@@ -28,6 +28,10 @@
                84361D5B1CA10F8E00F43825 /* Assets.xcassets in Resources */ = 
{isa = PBXBuildFile; fileRef = 775BEE8A1C1E8ECC008D1629 /* Assets.xcassets */; 
};
                846FC8DA1E1B853100949E7D /* WXSyncTestModule.m in Sources */ = 
{isa = PBXBuildFile; fileRef = 7478481D1E0CD4910044500D /* WXSyncTestModule.m 
*/; };
                846FC8DB1E1B853600949E7D /* WXATViewHierarchyPlugin.m in 
Sources */ = {isa = PBXBuildFile; fileRef = DCABAFF21D029685001C8592 /* 
WXATViewHierarchyPlugin.m */; };
+               847CAF2B1F39BB6B00551725 /* UIView+UIThreadCheck.m in Sources 
*/ = {isa = PBXBuildFile; fileRef = 747DF6671E2F176A005C53A8 /* 
UIView+UIThreadCheck.m */; };
+               847CAF2C1F39BB8A00551725 /* WXATLoggerPlugin.m in Sources */ = 
{isa = PBXBuildFile; fileRef = DCABAFF01D029685001C8592 /* WXATLoggerPlugin.m 
*/; };
+               847CAF2D1F39BBB900551725 /* WXScannerHistoryVC.m in Sources */ 
= {isa = PBXBuildFile; fileRef = DC5B53681E8CED9400E02125 /* 
WXScannerHistoryVC.m */; };
+               847CAF2E1F39BBFB00551725 /* WXConfigCenterDefaultImpl.m in 
Sources */ = {isa = PBXBuildFile; fileRef = DC20B8E51ECADA2500845F39 /* 
WXConfigCenterDefaultImpl.m */; };
                84D7CAC71CE3266C00D48D46 /* libsqlite3.0.tbd in Frameworks */ = 
{isa = PBXBuildFile; fileRef = 7475ACA01CD8444A0044E96C /* libsqlite3.0.tbd */; 
};
                8A0B5EFFF75BF82EA481983D /* libPods-WeexUITestDemo.a in 
Frameworks */ = {isa = PBXBuildFile; fileRef = E48C20F443AA337D1FE97622 /* 
libPods-WeexUITestDemo.a */; };
                C43CDA031F1C6E01005A6B03 /* libz.tbd in Frameworks */ = {isa = 
PBXBuildFile; fileRef = C43CDA021F1C6E01005A6B03 /* libz.tbd */; };
@@ -37,7 +41,6 @@
                DC5E503F1D0D97130059F0EB /* w...@2x.png in Resources */ = {isa 
= PBXBuildFile; fileRef = DC5E503D1D0D97130059F0EB /* w...@2x.png */; };
                DC65C4FA1CEB032F00B2F84F /* bundlejs in Resources */ = {isa = 
PBXBuildFile; fileRef = DC65C4F91CEB032F00B2F84F /* bundlejs */; };
                DC6DD9D21CFE9BC400549297 /* libsqlite3.0.tbd in Frameworks */ = 
{isa = PBXBuildFile; fileRef = 7475ACA01CD8444A0044E96C /* libsqlite3.0.tbd */; 
};
-               DCA812F91D0401420029BF62 /* WXSelectComponent.m in Sources */ = 
{isa = PBXBuildFile; fileRef = DCABAFFA1D029748001C8592 /* WXSelectComponent.m 
*/; };
                DCA812FA1D0401500029BF62 /* WXEventModule.m in Sources */ = 
{isa = PBXBuildFile; fileRef = DCABB0001D02975E001C8592 /* WXEventModule.m */; 
};
                DCA812FB1D0401570029BF62 /* WXImgLoaderDefaultImpl.m in Sources 
*/ = {isa = PBXBuildFile; fileRef = DCABAFFD1D029753001C8592 /* 
WXImgLoaderDefaultImpl.m */; };
                DCABAFF31D029685001C8592 /* WXATLoggerPlugin.m in Sources */ = 
{isa = PBXBuildFile; fileRef = DCABAFF01D029685001C8592 /* WXATLoggerPlugin.m 
*/; };
@@ -593,16 +596,19 @@
                        isa = PBXSourcesBuildPhase;
                        buildActionMask = 2147483647;
                        files = (
-                               846FC8DB1E1B853600949E7D /* 
WXATViewHierarchyPlugin.m in Sources */,
-                               846FC8DA1E1B853100949E7D /* WXSyncTestModule.m 
in Sources */,
-                               DCA812FB1D0401570029BF62 /* 
WXImgLoaderDefaultImpl.m in Sources */,
-                               DCA812FA1D0401500029BF62 /* WXEventModule.m in 
Sources */,
-                               DCA812F91D0401420029BF62 /* WXSelectComponent.m 
in Sources */,
+                               847CAF2D1F39BBB900551725 /* 
WXScannerHistoryVC.m in Sources */,
+                               847CAF2C1F39BB8A00551725 /* WXATLoggerPlugin.m 
in Sources */,
                                84361D2F1CA10F8E00F43825 /* WXScannerVC.m in 
Sources */,
                                84361D331CA10F8E00F43825 /* 
WXDemoViewController.m in Sources */,
                                84361D371CA10F8E00F43825 /* 
UIViewController+WXDemoNaviBar.m in Sources */,
+                               DCA812FA1D0401500029BF62 /* WXEventModule.m in 
Sources */,
+                               846FC8DA1E1B853100949E7D /* WXSyncTestModule.m 
in Sources */,
                                84361D381CA10F8E00F43825 /* AppDelegate.m in 
Sources */,
+                               847CAF2E1F39BBFB00551725 /* 
WXConfigCenterDefaultImpl.m in Sources */,
+                               846FC8DB1E1B853600949E7D /* 
WXATViewHierarchyPlugin.m in Sources */,
                                84361D3B1CA10F8E00F43825 /* main.m in Sources 
*/,
+                               DCA812FB1D0401570029BF62 /* 
WXImgLoaderDefaultImpl.m in Sources */,
+                               847CAF2B1F39BB6B00551725 /* 
UIView+UIThreadCheck.m in Sources */,
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                };

http://git-wip-us.apache.org/repos/asf/incubator-weex/blob/027f8a14/ios/playground/WeexDemo/WXDemoViewController.m
----------------------------------------------------------------------
diff --git a/ios/playground/WeexDemo/WXDemoViewController.m 
b/ios/playground/WeexDemo/WXDemoViewController.m
index 81a2dae..a860e3d 100644
--- a/ios/playground/WeexDemo/WXDemoViewController.m
+++ b/ios/playground/WeexDemo/WXDemoViewController.m
@@ -129,7 +129,6 @@
         
UIAccessibilityPostNotification(UIAccessibilityScreenChangedNotification, 
weakSelf.weexView);
     };
     _instance.onFailed = ^(NSError *error) {
-        #ifdef UITEST
         if ([[error domain] isEqualToString:@"1"]) {
             dispatch_async(dispatch_get_main_queue(), ^{
                 NSMutableString *errMsg=[NSMutableString new];
@@ -141,7 +140,6 @@
                 [alertView show];
             });
         }
-        #endif
     };
     
     _instance.renderFinish = ^(UIView *view) {

Reply via email to