Giter Site home page Giter Site logo

kknocompile's Introduction

KKNoCompile

实现 iOS 不编译即可更新代码的一种方案

视频展示

http://ocnnxadky.bkt.clouddn.com/KK_NO_COMPILE_DEMO.mp4

使用说明

  1. 安装 node.js
  2. 下载本项目
  3. 编译 KK_NODE_COMPILE_EDITOR_EXTENSION 中的 Xcode Editor Extension,将生成 .app 移动在应用中即可使用
  4. 使用 node 执行 Node_Server 中的 NOCOMPILE_NODE_SERVER.js 脚本
  5. 集成 NO_COMPILE_Libs 到你的项目中(需要添加 JavaScriptCore.framework)
  6. 在项目启动后执行
[KKNoCompileEngine startEngineWithJSPath:@"/Users/TsuiYuenHong/Desktop/main.js" host:@"127.0.0.1" port:9527];
  1. 选中你需要修改的代码,并在 Xcode 的菜单中选择 Editor -> NOCOMPILE_Extension 即可修改

注意 :

  1. JSPath 需修改为你指定的路径
  2. JSPath/host/port 参数如果需要修改需要 同步NOCOMPILE_NODE_SERVER.js 中方可生效

kknocompile's People

Contributors

lucasxu0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.