Latest 0.9.5
License Copyright Alibaba-INC copyright
Platforms ios 7.0, requires ARC
Dependencies WeexSDK
Frameworks Foundation, CoreData

GitHub release GitHub issues [CocoaPods]()

weex-devtool-iOS 中文版

Remote debug for your native iOS app using Chrome Developer Tools

weex-devtool launch:

  1. install and run weex-devtool

    $:npm install -g weex-devtool

    it will launch chrome browser, showing wss ip address in chrome address bar.

    For more detailed instructions, redirect to weex-toolkit

playground install WXDevtool

  1. Install dependencies.

    $:pod install


  1. AppDelegate.m header file

    #import "WXDevTool.h"
  2. Initialize inspector when the APP launched

    Note: The inspector API must be called before weex is initialized

    • (void)setDebug:(BOOL)isDebug;

      isDebug default is NO, now you open inspect model. opposite is YES, if you set isDebug to YES, then open debug model and inspect model.

      • (void)launchDevToolDebugWithUrl:(NSString *)url;
        wssip was the wss address showing in the chrome address bar.
    • open debug model and inspector model

      eg:- (BOOL)application:(UIApplication )application didFinishLaunchingWithOptions:(NSDictionary )launchOptions
      [WXDevTool setDebug:YES];
      [WXDevTool launchDevToolDebugWithUrl:@"ws://wssip/debugProxy/native"];

    • open inspect model, remove the @selector(setDebug:) or add [WXDevTool setDebug:NO]

      eg:- (BOOL)application:(UIApplication )application didFinishLaunchingWithOptions:(NSDictionary )launchOptions
      [WXDevTool launchDevToolDebugWithUrl:@"ws://wssip/debugProxy/native"];

  3. Build and running APP, this time chrome will display your device with App name, select inspector to open the inspector tab.
  4. Log print support for different levels of print.

    eg: #import "WXDevTool.h"

WXDevtool Dependencies

Your app must be linked against the following frameworks/dylibs

  • libicucore.dylib
  • CFNetwork.framework
  • CoreData.framework
  • Security.framework
  • Foundation.framework

Latest podspec

    "name": "WXDevtool",
    "version": "0.9.5",
    "summary": "WXDevtool Source.",
    "description": "WXDevtool Source description",
    "homepage": "",
    "license": {
        "type": "Copyright",
        "text": "           Alibaba-INC copyrightn"
    "authors": {
        "yangshengtao": "[email protected]"
    "platforms": {
        "ios": "7.0"
    "source": {
        "http": ""
    "requires_arc": true,
    "prefix_header_file": "WXDevTool/Source/Supporting Files/TBWXDevTool.pch",
    "vendored_frameworks": "TBWXDevTool.framework",
    "frameworks": [
    "dependencies": {
        "WeexSDK": []

Pin It on Pinterest

Share This